AI-generated Key Takeaways
- 
          
The Display & Video 360 API v1 has been sunset.
 - 
          
The
bulkEditmethod allows for bulk editing of sites under a single channel by deleting specified sites and then creating new ones. - 
          
The request requires specifying the parent channel ID and the owning partner or advertiser ID.
 - 
          
The request body includes lists of sites to be deleted and sites to be created.
 - 
          
A successful response contains an instance of
BulkEditSitesResponseand requires authorization with thehttps://www.googleapis.com/auth/display-videoscope. 
Bulk edits sites under a single channel.
The operation will delete the sites provided in BulkEditSitesRequest.deleted_sites and then create the sites provided in BulkEditSitesRequest.created_sites.
HTTP request
POST https://displayvideo.googleapis.com/v1/partners/{partnerId}/channels/{channelId}/sites:bulkEdit
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
channelId | 
                
                   
 Required. The ID of the parent channel to which the sites belong.  | 
              
partnerId | 
                
                   
 The ID of the partner that owns the parent channel.  | 
              
Request body
The request body contains data with the following structure:
| JSON representation | 
|---|
{ "deletedSites": [ string ], "createdSites": [ { object (  | 
                
| Fields | |
|---|---|
deletedSites[] | 
                  
                     
 The sites to delete in batch, specified as a list of site   | 
                
createdSites[] | 
                  
                     
 The sites to create in batch, specified as a list of   | 
                
Union field owner. Required. Identifies the DV360 entity that owns the parent channel. It can be either a partner or an advertiser. owner can be only one of the following: | 
                |
partnerId | 
                  
                     
 The ID of the partner that owns the parent channel.  | 
                
advertiserId | 
                  
                     
 The ID of the advertiser that owns the parent channel.  | 
                
Response body
If successful, the response body contains an instance of BulkEditSitesResponse.
Authorization Scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/display-video
For more information, see the OAuth 2.0 Overview.