Method: customers.analysisQueries.create

  • Analysis queries are created for later execution without immediate validation.

  • Creating an analysis query requires a POST request to a specific URL format including the customer ID.

  • The request body must contain an instance of AnalysisQuery and requires a parent path parameter.

  • A successful response body will contain a newly created instance of AnalysisQuery.

  • Authorization requires the https://www.googleapis.com/auth/adsdatahub OAuth scope.

Creates an analysis query for later execution. No query validation is performed at this time.

HTTP request

POST https://adsdatahub.googleapis.com/v1/{parent=customers/*}/analysisQueries

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The parent resource name that owns the query, e.g. 'customers/123'.

Request body

The request body contains an instance of AnalysisQuery.

Response body

If successful, the response body contains a newly created instance of AnalysisQuery.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/adsdatahub