AI-generated Key Takeaways
- 
          
Display & Video 360 API v1 has been sunset.
 - 
          
This document provides information on how to update an existing insertion order using the API.
 - 
          
The update is performed using a PATCH request to a specific URL including advertiser and insertion order IDs.
 - 
          
The request requires an
updateMaskquery parameter to specify which fields to update and includes anInsertionOrderinstance in the request body. - 
          
A successful response returns the updated
InsertionOrderand requires thehttps://www.googleapis.com/auth/display-videoOAuth scope for authorization. 
- HTTP request
 - Path parameters
 - Query parameters
 - Request body
 - Response body
 - Authorization Scopes
 - Try it!
 
Updates an existing insertion order. Returns the updated insertion order if successful.
HTTP request
PATCH https://displayvideo.googleapis.com/v1/advertisers/{insertionOrder.advertiserId}/insertionOrders/{insertionOrder.insertionOrderId}
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
insertionOrder.advertiserId | 
                
                   
 Output only. The unique ID of the advertiser the insertion order belongs to.  | 
              
insertionOrder.insertionOrderId | 
                
                   
 Output only. The unique ID of the insertion order. 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 InsertionOrder.
Response body
If successful, the response body contains an instance of InsertionOrder.
Authorization Scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/display-video
For more information, see the OAuth 2.0 Overview.