Description Usage Arguments Value Examples
Creates an analysis query for later execution. No query validation is performed at this time. Reference: <https://developers.google.com/ads-data-hub/reference/rest/v1/customers.analysisQueries/create>
1 | create_query(customer_id, query_title, query_text, token)
|
customer_id |
ADH Customer ID e.g. customers/123 |
query_title |
Query title, which is unique within a single Ads Data Hub customer and query type. e.g.RnF Analysis |
query_text |
Query text written in Standard SQL. |
token |
Access token retrived from function google_auth() |
If successful, the response body contains a newly created instance of the query
1 2 3 4 5 6 | ## Not run:
library(adsDataHubR)
token <- google_auth(client_id = client_id, client_secret=client_secret)
create_query(customer_id, query_title, query_text, token)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.