AI-generated Key Takeaways
- 
          
You can delete an insertion order using a DELETE request to the specified URL, but it must be archived first.
 - 
          
The request requires
advertiserIdandinsertionOrderIdas path parameters to identify the insertion order to be deleted. - 
          
The request body must be empty.
 - 
          
A successful deletion returns an empty JSON object as the response body.
 - 
          
The request requires the
https://www.googleapis.com/auth/display-videoOAuth scope for authorization. 
Deletes an insertion order. Returns error code NOT_FOUND if the insertion order does not exist. The insertion order should be archived first, i.e. set entityStatus to ENTITY_STATUS_ARCHIVED, to be able to delete it.
HTTP request
DELETE https://displayvideo.googleapis.com/v4/advertisers/{advertiserId}/insertionOrders/{insertionOrderId}
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
advertiserId | 
                
                   
 The ID of the advertiser this insertion order belongs to.  | 
              
insertionOrderId | 
                
                   
 The ID of the insertion order to delete.  | 
              
Request body
The request body must be empty.
Response body
If successful, the response body is an empty JSON object.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/display-video
For more information, see the OAuth 2.0 Overview.