Description Usage Arguments Details Value Examples
Build the AWQL statement before posting to the API
1 2 | buildAwqlStatement(reportType, startDate, endDate, attributes = NULL,
segment = NULL, metrics = NULL, where = NULL)
|
reportType |
The report being queries. |
startDate |
The start date for the request. |
endDate |
The end date for the request. |
attributes |
The attributes of the report. |
segment |
The segment of the report. |
metrics |
The metrics of the report. |
where |
The conditions of the report. (Optional) |
Arguments attributes, segment and metrics are not currently validated so any of these can be used for a request.
Returns the statement that will be posted to the Adwords API.
1 2 3 4 | buildAwqlStatement("KEYWORDS_PERFORMANCE_REPORT", "2018-01-01", "2018-01-31",
attributes = "AdGroupName",
segment = "Month",
metrics = "Clicks")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.