AI-generated Key Takeaways
-
Validates CRM-based user list queries to ensure a valid output schema, using the parent resource name.
-
Accepts a request body containing the query and an optional flag to include performance information.
-
Returns performance details if requested, providing insights into query execution.
-
Requires authorization with the
https://www.googleapis.com/auth/adsdatahub
scope. -
Utilizes gRPC Transcoding for communication and adheres to specific data structures for requests and responses.
Performs static validation checks on the provided CRM based user list query to ensure valid output schema.
HTTP request
POST https://adsdatahub.googleapis.com/v1/{parent=customers/*}/crmBasedUserListQueries:validate
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
Required. The parent resource name that owns the query, e.g. 'customers/123'. |
Request body
The request body contains data with the following structure:
JSON representation |
---|
{
"query": {
object ( |
Fields | |
---|---|
query |
Required. The query to validate. |
includePerformanceInfo |
Optional. If true, call BigQuery to dry run the query to collect some performance info. It may take longer compared to only validating the query. The startDate, endDate and parameters inside query_execution_spec need to be set for the dry run. |
Response body
Response to a crmBasedUserListQueries.validate request.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"queryPerformanceInfo": {
object ( |
Fields | |
---|---|
queryPerformanceInfo |
Returned if includePerformanceInfo is true. |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/adsdatahub