Creates and stores a user query for later execution. If validateOnly is true, then the query will be validated and not stored. Otherwise, no query validation is performed at this time.
HTTP request
POST https://fullcirclequery.googleapis.com/v2/userQueries
The URL uses gRPC Transcoding syntax.
Request body
The request body contains data with the following structure:
JSON representation | |
---|---|
{
"query": {
object ( |
Fields | |
---|---|
query |
The query to create. |
customerId |
The Ads Data Hub customer that owns the query. |
validateOnly |
If true, static query validation checks are performed without storing the query. |
Response body
If successful, the response body contains a newly created instance of Query
.
Authorization Scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/adsdatahub
https://www.googleapis.com/auth/xapi.zoo