---
title: "POST /v4/inventorySourceGroups/{+inventorySourceGroupId}/assignedInventorySources:bulkEdit"
method: POST
path: "/v4/inventorySourceGroups/{+inventorySourceGroupId}/assignedInventorySources:bulkEdit"
tags: ["inventorySourceGroups"]
---

# POST /v4/inventorySourceGroups/{+inventorySourceGroupId}/assignedInventorySources:bulkEdit

`POST /v4/inventorySourceGroups/{+inventorySourceGroupId}/assignedInventorySources:bulkEdit`

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.

## Path parameters

- `inventorySourceGroupId` string, required

## Request body

- BulkEditAssignedInventorySourcesRequest — Request message for AssignedInventorySourceService.BulkEdit.
  - `partnerId` string, int64 — The ID of the partner that owns the inventory source group. Only this partner has write access to these assigned inventory sources.
  - `createdAssignedInventorySources` AssignedInventorySource[] — The assigned inventory sources to create in bulk, specified as a list of AssignedInventorySources.
    - `name` string — Output only. The resource name of the assigned inventory source.
    - `assignedInventorySourceId` string, int64 — Output only. The unique ID of the assigned inventory source. The ID is only unique within a given inventory source group. It may be reused in other contexts.
    - `inventorySourceId` string — Required. The ID of the inventory source entity being targeted.
  - `advertiserId` string, int64 — The ID of the advertiser that owns the parent inventory source group. The parent partner does not have access to these assigned inventory sources.
  - `deletedAssignedInventorySources` string[] — The IDs of the assigned inventory sources to delete in bulk, specified as a list of assigned_inventory_source_ids.

## Response `200`

Successful response

---

[API](https://skmtc.net/google/apis/displayvideo.md) · [All operations](https://skmtc.net/google/apis/displayvideo/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/google/displayvideo/versions/68b64e49eced/schema)
