
Last chance! 50% off unlimited learning
Sale ends in
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>
create_query(customer_id, query_title, query_text, token)
ADH Customer ID e.g. customers/123
Query title, which is unique within a single Ads Data Hub customer and query type. e.g.RnF Analysis
Query text written in Standard SQL.
Access token retrived from function google_auth()
If successful, the response body contains a newly created instance of the query
# NOT RUN {
library(adsDataHubR)
token <- google_auth(client_id = client_id, client_secret=client_secret)
create_query(customer_id, query_title, query_text, token)
# }
Run the code above in your browser using DataLab