Method: queries.create

Creates and stores a 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/queries

The URL uses gRPC Transcoding syntax.

Request body

The request body contains data with the following structure:

JSON representation
{
  "query": {
    object (Query)
  },
  "customerId": string,
  "validateOnly": boolean
}
Fields
query

object (Query)

The query to create.

customerId

string (int64 format)

The Ads Data Hub customer that owns the query.

validateOnly

boolean

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