AI-generated Key Takeaways
- 
          
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
customBiddingAlgorithmIdas a path parameter. - 
          
The request requires an
accessorparameter (eitherpartnerIdoradvertiserId) to identify the DV360 entity accessing the custom bidding algorithm. - 
          
The API call requires authorization using the
https://www.googleapis.com/auth/display-videoOAuth scope. 
- HTTP request
 - Path parameters
 - Query parameters
 - Request body
 - Response body
 - Authorization scopes
 - Try it!
 
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 | 
                
                   
 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 | 
                
                   
 The ID of the DV360 partner that has access to the custom bidding algorithm.  | 
              
advertiserId | 
                
                   
 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.