AI-generated Key Takeaways
- 
          Display & Video 360 API v1 has been sunset. 
- 
          This method bulk edits multiple assignments between inventory sources and a single inventory source group. 
- 
          The operation first deletes specified assigned inventory sources and then creates new ones. 
- 
          The request body includes IDs of assigned inventory sources to delete and objects representing assigned inventory sources to create, along with an owner ID (partner or advertiser). 
- 
          The response body contains a list of successfully created assigned inventory sources. 
Bulk edits multiple assignments between inventory sources and a single inventory source group.
The operation will delete the assigned inventory sources provided in BulkEditAssignedInventorySourcesRequest.deleted_assigned_inventory_sources and then create the assigned inventory sources provided in BulkEditAssignedInventorySourcesRequest.created_assigned_inventory_sources.
HTTP request
POST https://displayvideo.googleapis.com/v1/inventorySourceGroups/{inventorySourceGroupId}/assignedInventorySources:bulkEdit
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
| inventorySourceGroupId | 
 Required. The ID of the inventory source group to which the assignments are assigned. | 
Request body
The request body contains data with the following structure:
| JSON representation | 
|---|
| { "deletedAssignedInventorySources": [ string ], "createdAssignedInventorySources": [ { object ( | 
| Fields | |
|---|---|
| deletedAssignedInventorySources[] | 
 The IDs of the assigned inventory sources to delete in bulk, specified as a list of  | 
| createdAssignedInventorySources[] | 
 The assigned inventory sources to create in bulk, specified as a list of  | 
| Union field owner. Required. Identifies the DV360 entity that owns the parent inventory source group. It can be either a partner or an advertiser.ownercan be only one of the following: | |
| partnerId | 
 The ID of the partner that owns the inventory source group. Only this partner has write access to these assigned inventory sources. | 
| advertiserId | 
 The ID of the advertiser that owns the parent inventory source group. The parent partner does not have access to these assigned inventory sources. | 
Response body
If successful, the response body contains data with the following structure:
Response message for AssignedInventorySourceService.BulkEdit.
| JSON representation | 
|---|
| {
  "assignedInventorySources": [
    {
      object ( | 
| Fields | |
|---|---|
| assignedInventorySources[] | 
 The list of assigned inventory sources that have been successfully created. This list will be absent if empty. | 
Authorization Scopes
Requires the following OAuth scope:
- https://www.googleapis.com/auth/display-video
For more information, see the OAuth 2.0 Overview.