Description Usage Arguments Value Examples
View source: R/validate_query.R
Performs static validation checks on the provided analysis query. Reference: <https://developers.google.com/ads-data-hub/reference/rest/v1/customers.analysisQueries/validate>
1 | validate_query(customer_id, query_instance, token)
|
customer_id |
ADH Customer ID e.g. customers/123 |
query_instance |
Query instance returned by create_query function |
token |
Access token retrived from function google_auth() |
If successful, the response body contains a validation queryPerformanceInfo object
1 2 3 4 5 6 | ## Not run:
library(adsDataHubR)
token <- google_auth(client_id = client_id, client_secret=client_secret)
validate_query(customer_id, query_instance, token)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.