Method: customers.analysisQueries.patch

  • You can update an existing analysis query using a PATCH request.

  • Partial updates are supported for analysis queries.

  • The update uses a URL with gRPC Transcoding syntax and requires specifying the query name as a path parameter.

  • A updateMask query parameter is used to specify which fields should be updated.

  • The request and response bodies contain instances of the AnalysisQuery resource.

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

Updates an existing analysis query. Partial updates are supported. Please review the AnalysisQuery resource to see which fields can be updated.

HTTP request

PATCH https://adsdatahub.googleapis.com/v1/{query.name=customers/*/analysisQueries/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
query.name

string

Output only. Immutable. Name that uniquely identifies a query. It has the form customers/[customerId]/analysisQueries/[resource_id], e.g. 'customers/123/analysisQueries/abcd1234'. The resource ID is generated by the server.

Query parameters

Parameters
updateMask

string (FieldMask format)

Field mask used to support partial updates.

This is a comma-separated list of fully qualified names of fields. Example: "user.displayName,photo".

Request body

The request body contains an instance of AnalysisQuery.

Response body

If successful, the response body contains an instance of AnalysisQuery.

Authorization scopes

Requires the following OAuth scope:

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