Method: customers.customBiddingAlgorithms.addAdvertiser

  • This documentation outlines the process for adding a DV360 advertiser to a custom bidding algorithm using the Ads Data Hub API.

  • The process involves sending a POST request to a specific endpoint with the custom bidding algorithm and advertiser information.

  • The request body requires a JSON representation containing the DV360 advertiser ID.

  • A successful operation returns the updated custom bidding algorithm details, including the added advertiser.

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

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