Method: customers.customBiddingAlgorithms.addAdvertiser

  • This content outlines how to add a DV360 advertiser to a custom bidding algorithm's advertisers using an HTTP POST request.

  • The request requires a customBiddingAlgorithm path parameter specifying the full resource name of the algorithm.

  • The request body includes a JSON representation containing a dv360Advertiser field to identify the advertiser to add.

  • A successful response will return an instance of CustomBiddingAlgorithm.

  • Authorization using the https://www.googleapis.com/auth/adsdatahub OAuth scope is required for this operation.

Add a DV360 advertiser to the custom bidding algorithm's advertisers.

HTTP request

POST https://adsdatahub.googleapis.com/v1/{customBiddingAlgorithm=customers/*/customBiddingAlgorithms/*}:addAdvertiser

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
customBiddingAlgorithm

string

Required. Full resource name of a custom bidding algorithm, e.g. 'customers/123/customBiddingAlgorithms/12345678.

Request body

The request body contains data with the following structure:

JSON representation
{
  "dv360Advertiser": string
}
Fields
dv360Advertiser

string (int64 format)

Advertiser to add to the custom bidding algorithm

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