validate_query {adsDataHubR} | R Documentation |
validate_query
Description
Performs static validation checks on the provided analysis query. Reference: <https://developers.google.com/ads-data-hub/reference/rest/v1/customers.analysisQueries/validate>
Usage
validate_query(customer_id, query_instance, token)
Arguments
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() |
Value
If successful, the response body contains a validation queryPerformanceInfo object
Examples
## 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)
[Package adsDataHubR version 0.1.1 Index]