AI-generated Key Takeaways
- 
          
This page details how to update an existing custom bidding algorithm using a PATCH request.
 - 
          
Attempting to update a custom bidding algorithm assigned to a line item will result in an error.
 - 
          
The request uses path parameters for the algorithm ID and requires a query parameter for the update mask.
 - 
          
The request and response bodies contain instances of the CustomBiddingAlgorithm object.
 - 
          
The update operation 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!
 
Updates an existing custom bidding algorithm. Returns the updated custom bidding algorithm if successful.
Requests updating a custom bidding algorithm assigned to a line item will return an error.
HTTP request
PATCH https://displayvideo.googleapis.com/v4/customBiddingAlgorithms/{customBiddingAlgorithm.customBiddingAlgorithmId}
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
customBiddingAlgorithm.customBiddingAlgorithmId | 
                
                   
 Output only. The unique ID of the custom bidding algorithm. Assigned by the system.  | 
              
Query parameters
| Parameters | |
|---|---|
updateMask | 
                
                   
 Required. The mask to control which fields to update. This is a comma-separated list of fully qualified names of fields. Example:   | 
              
Request body
The request body contains an instance of CustomBiddingAlgorithm.
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.