Method: customBiddingAlgorithms.get

  • Display & Video 360 API v2 has sunset.

  • This document provides details on how to get a custom bidding algorithm using the API, including the HTTP request, parameters, and response body.

  • To get a custom bidding algorithm, you need to provide the customBiddingAlgorithmId as a path parameter.

  • The request requires an accessor parameter (either partnerId or advertiserId) to identify the DV360 entity accessing the custom bidding algorithm.

  • The API call requires authorization using the https://www.googleapis.com/auth/display-video OAuth scope.

Gets a custom bidding algorithm.

HTTP request

GET https://displayvideo.googleapis.com/v2/customBiddingAlgorithms/{customBiddingAlgorithmId}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
customBiddingAlgorithmId

string (int64 format)

Required. The ID of the custom bidding algorithm to fetch.

Query parameters

Parameters
Union parameter accessor. Required. Identifies which DV360 entity the request is being made within. The Get request will only return a custom bidding algortihm entity that is accessible to the DV360 entity identified within the accessor. accessor can be only one of the following:
partnerId

string (int64 format)

The ID of the DV360 partner that has access to the custom bidding algorithm.

advertiserId

string (int64 format)

The ID of the DV360 partner that has access to the custom bidding algorithm.

Request body

The request body must be empty.

Response body

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

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/display-video

For more information, see the OAuth 2.0 Overview.