getData | R Documentation |
getData posts the Adwords Query Language (awql) Statement which is generated with statement
.
The data are retrieved from the Adwords API as a dataframe.
getData(clientCustomerId, google_auth, statement, apiVersion = "201809", transformation = TRUE, changeNames = TRUE, includeZeroImpressions = FALSE, verbose = FALSE)
clientCustomerId |
Adwords Account Id; supports a single account id: "xxx-xxx-xxxx" or a vector of ids from the same Google Ads MCC: c("xxx-xxx-xxxx", "xxx-xxx-xxxx") |
google_auth |
list of authentication |
statement |
awql statement generated with |
apiVersion |
supports 201809, 201806, 201802 defaults to 201806. |
transformation |
If TRUE, data will be transformed with |
changeNames |
If TRUE, the display names of the transformed data are converted into more nicer/practical names. Requires transformation = TRUE |
includeZeroImpressions |
If TRUE zero impressions will be included. Defaults to FALSE. |
verbose |
Defaults to FALSE. If TRUE, the curl connection output will be printed. |
Dataframe with the Adwords Data.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.