Method: inventorySourceGroups.assignedInventorySources.bulkEdit

인벤토리 소스 및 단일 인벤토리 소스 그룹 간에 여러 할당을 일괄 수정합니다.

이 작업은 BulkEditAssignedInventorySourcesRequest.deleted_assigned_inventory_sources에 제공된 할당된 인벤토리 소스를 삭제한 다음 BulkEditAssignedInventorySourcesRequest.created_assigned_inventory_sources에 제공된 할당된 인벤토리 소스를 만듭니다.

HTTP 요청

POST https://displayvideo.googleapis.com/v2/inventorySourceGroups/{inventorySourceGroupId}/assignedInventorySources:bulkEdit

URL은 gRPC 트랜스코딩 구문을 사용합니다.

경로 매개변수

매개변수
inventorySourceGroupId

string (int64 format)

필수 항목입니다. 할당이 할당된 인벤토리 소스 그룹의 ID입니다.

요청 본문

요청 본문에는 다음과 같은 구조의 데이터가 포함됩니다.

JSON 표현
{
  "deletedAssignedInventorySources": [
    string
  ],
  "createdAssignedInventorySources": [
    {
      object (AssignedInventorySource)
    }
  ],

  // Union field owner can be only one of the following:
  "partnerId": string,
  "advertiserId": string
  // End of list of possible types for union field owner.
}
입력란
deletedAssignedInventorySources[]

string (int64 format)

일괄 삭제할 할당된 인벤토리 소스의 ID로, assigned_inventory_source_ids 목록으로 지정됩니다.

createdAssignedInventorySources[]

object (AssignedInventorySource)

일괄 생성하도록 할당된 인벤토리 소스이며 AssignedInventorySources 목록으로 지정됩니다.

통합 필드 owner. 필수 항목입니다. 상위 인벤토리 소스 그룹을 소유한 DV360 항목을 식별합니다. 파트너 또는 광고주일 수 있습니다. owner은 다음 중 하나여야 합니다.
partnerId

string (int64 format)

인벤토리 소스 그룹을 소유한 파트너의 ID입니다.

이 파트너만 이렇게 할당된 인벤토리 소스에 대한 쓰기 액세스 권한을 보유합니다.

advertiserId

string (int64 format)

상위 인벤토리 소스 그룹을 소유한 광고주의 ID입니다.

상위 파트너는 이렇게 할당된 인벤토리 소스에 액세스할 수 없습니다.

응답 본문

AssignedInventorySourceService.BulkEdit의 응답 메시지입니다.

성공할 경우 응답 본문에 다음 구조의 데이터가 포함됩니다.

JSON 표현
{
  "assignedInventorySources": [
    {
      object (AssignedInventorySource)
    }
  ]
}
입력란
assignedInventorySources[]

object (AssignedInventorySource)

성공적으로 생성된 할당된 인벤토리 소스의 목록입니다.

비어 있는 경우 이 목록은 표시되지 않습니다.

승인 범위

다음 OAuth 범위가 필요합니다.

  • https://www.googleapis.com/auth/display-video

자세한 내용은 OAuth 2.0 개요를 참고하세요.