2025 年 9 月 8 日以降、すべての新しい広告申込情報で、欧州連合(EU)の政治広告を配信するかどうかを宣言する必要があります。宣言が提供されていないディスプレイ&ビデオ 360 API と SDF のアップロードは失敗します。統合を更新してこの宣言を行う方法について詳しくは、
非推奨のページをご覧ください。
Method: inventorySourceGroups.assignedInventorySources.bulkEdit
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
HTTP リクエスト
POST https://displayvideo.googleapis.com/v4/inventorySourceGroups/{inventorySourceGroupId}/assignedInventorySources:bulkEdit
この URL は gRPC Transcoding 構文を使用します。
パスパラメータ
パラメータ |
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 。必須。親広告枠ソース グループを所有するディスプレイ&ビデオ 360 エンティティを識別します。パートナーまたは広告主のいずれかです。owner は次のいずれかになります。 |
partnerId |
string (int64 format)
広告枠ソース グループを所有するパートナーの ID。 割り当てられた広告枠ソースへの書き込みアクセス権を持つのは、このパートナーのみです。
|
advertiserId |
string (int64 format)
親の広告枠ソース グループを所有する広告主の ID。 親パートナーには、これらの割り当てられた広告枠ソースへのアクセス権がありません。
|
レスポンスの本文
AssignedInventorySourceService.BulkEdit のレスポンス メッセージ。
成功した場合、レスポンスの本文には次の構造のデータが含まれます。
フィールド |
assignedInventorySources[] |
object (AssignedInventorySource )
正常に作成された、割り当てられた広告枠ソースのリスト。 空の場合は、このリストは表示されません。
|
認可スコープ
次の OAuth スコープが必要です。
https://www.googleapis.com/auth/display-video
詳細については、OAuth 2.0 Overview をご覧ください。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-07-25 UTC。
[null,null,["最終更新日 2025-07-25 UTC。"],[],[],null,["# Method: inventorySourceGroups.assignedInventorySources.bulkEdit\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n - [JSON representation](#body.request_body.SCHEMA_REPRESENTATION)\n- [Response body](#body.response_body)\n - [JSON representation](#body.BulkEditAssignedInventorySourcesResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nBulk edits multiple assignments between inventory sources and a single inventory source group.\n\nThe operation will delete the assigned inventory sources provided in [BulkEditAssignedInventorySourcesRequest.deleted_assigned_inventory_sources](/display-video/api/reference/rest/v4/inventorySourceGroups.assignedInventorySources/bulkEdit#body.request_body.FIELDS.deleted_assigned_inventory_sources) and then create the assigned inventory sources provided in [BulkEditAssignedInventorySourcesRequest.created_assigned_inventory_sources](/display-video/api/reference/rest/v4/inventorySourceGroups.assignedInventorySources/bulkEdit#body.request_body.FIELDS.created_assigned_inventory_sources).\n\n### HTTP request\n\n`POST https://displayvideo.googleapis.com/v4/inventorySourceGroups/{inventorySourceGroupId}/assignedInventorySources:bulkEdit`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|--------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `inventorySourceGroupId` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` Required. The ID of the inventory source group to which the assignments are assigned. |\n\n### Request body\n\nThe request body contains data with the following structure:\n\n| JSON representation |\n|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"deletedAssignedInventorySources\": [ string ], \"createdAssignedInventorySources\": [ { object (/display-video/api/reference/rest/v4/inventorySourceGroups.assignedInventorySources#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`. } ``` |\n\n| Fields ||\n|-------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `deletedAssignedInventorySources[]` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` The IDs of the assigned inventory sources to delete in bulk, specified as a list of [assigned_inventory_source_ids](/display-video/api/reference/rest/v4/inventorySourceGroups.assignedInventorySources#AssignedInventorySource.FIELDS.assigned_inventory_source_id). |\n| `createdAssignedInventorySources[]` | `object (`[AssignedInventorySource](/display-video/api/reference/rest/v4/inventorySourceGroups.assignedInventorySources#AssignedInventorySource)`)` The assigned inventory sources to create in bulk, specified as a list of [AssignedInventorySources](/display-video/api/reference/rest/v4/inventorySourceGroups.assignedInventorySources#AssignedInventorySource). |\n| 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: ||\n| `partnerId` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` The ID of the partner that owns the inventory source group. Only this partner has write access to these assigned inventory sources. |\n| `advertiserId` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` The ID of the advertiser that owns the parent inventory source group. The parent partner does not have access to these assigned inventory sources. |\n\n### Response body\n\nResponse message for AssignedInventorySourceService.BulkEdit.\n\nIf successful, the response body contains data with the following structure:\n\n| JSON representation |\n|----------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"assignedInventorySources\": [ { object (/display-video/api/reference/rest/v4/inventorySourceGroups.assignedInventorySources#AssignedInventorySource) } ] } ``` |\n\n| Fields ||\n|------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `assignedInventorySources[]` | `object (`[AssignedInventorySource](/display-video/api/reference/rest/v4/inventorySourceGroups.assignedInventorySources#AssignedInventorySource)`)` The list of assigned inventory sources that have been successfully created. This list will be absent if empty. |\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/display-video`\n\nFor more information, see the [OAuth 2.0 Overview](/identity/protocols/OAuth2)."]]