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/v3/inventorySourceGroups/{inventorySourceGroupId}/assignedInventorySources:bulkEdit
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
inventory |
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 | |
---|---|
deleted |
The IDs of the assigned inventory sources to delete in bulk, specified as a list of |
created |
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. owner can be only one of the following: |
|
partner |
The ID of the partner that owns the inventory source group. Only this partner has write access to these assigned inventory sources. |
advertiser |
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
Response message for AssignedInventorySourceService.BulkEdit.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"assignedInventorySources": [
{
object ( |
Fields | |
---|---|
assigned |
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.