This is legacy documentation, and may not be complete. To see the latest documentation, if you are a marketer, refer to the Marketers site. If you are a measurement partner, refer to the Measurement Partners site.

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

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2024年09月18日 UTC.