Method: customers.customBiddingAlgorithms.patch

  • This page details how to update an Ads Data Hub-managed custom bidding algorithm using a PATCH request.

  • The request uses a specific URL with path parameters including the unique name of the custom bidding algorithm.

  • A required query parameter, updateMask, specifies which fields (title or dv360AdvertiserId) are being updated using a FieldMask format.

  • The request and response bodies contain instances of the CustomBiddingAlgorithm object.

  • The operation requires the https://www.googleapis.com/auth/adsdatahub OAuth scope for authorization.

Updates the requested Ads Data Hub-managed custom bidding algorithm.

HTTP request

PATCH https://adsdatahub.googleapis.com/v1/{customBiddingAlgorithm.name=customers/*/customBiddingAlgorithms/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
customBiddingAlgorithm.name

string

Output only. Immutable. Name that uniquely identifies an Ads Data Hub custom bidding algorithm. It has the form customers/[customerId]/customBiddingAlgorithms/[customBiddingAlgorithmId]

Query parameters

Parameters
updateMask

string (FieldMask format)

Required. Field mask to support partial updates. Only the following paths may be updated via the API: - title - dv360AdvertiserId

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 CustomBiddingAlgorithm.

Response body

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

Authorization scopes

Requires the following OAuth scope:

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