Method: customers.crmBasedUserListQueries.patch

  • This API endpoint updates an existing CRM-based user list query, allowing for partial updates using a field mask.

  • The request should be a PATCH request to the specified URL, including the query name as a path parameter.

  • A CrmBasedUserListQuery object should be provided in the request body, representing the desired changes to the query.

  • The response will contain the updated CrmBasedUserListQuery object if the update is successful.

  • This endpoint requires authorization with the https://www.googleapis.com/auth/adsdatahub scope.

Updates an existing CRM based user list query. Partial updates are supported. Please review the CrmBasedUserListQuery resource to see which fields can be updated.

HTTP request

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

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]/crmBasedUserListQueries/[resource_id], e.g. 'customers/123/crmBasedUserListQueries/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 CrmBasedUserListQuery.

Response body

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

Authorization scopes

Requires the following OAuth scope:

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