2025 年 9 月 8 日以降、すべての新しい広告申込情報で、欧州連合(EU)の政治広告を配信するかどうかを宣言する必要があります。宣言が提供されていないディスプレイ&ビデオ 360 API と SDF のアップロードは失敗します。統合を更新してこの宣言を行う方法について詳しくは、
非推奨のページをご覧ください。
Method: inventorySourceGroups.assignedInventorySources.delete
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
広告在庫ソースと広告在庫ソース グループ間の割り当てを削除します。
HTTP リクエスト
DELETE https://displayvideo.googleapis.com/v4/inventorySourceGroups/{inventorySourceGroupId}/assignedInventorySources/{assignedInventorySourceId}
この URL は gRPC Transcoding 構文を使用します。
パスパラメータ
パラメータ |
inventorySourceGroupId |
string (int64 format)
必須。この割り当てが割り当てられている広告枠ソース グループの ID。
|
assignedInventorySourceId |
string (int64 format)
必須。削除する割り当て済みの広告在庫ソースの ID。
|
クエリ パラメータ
パラメータ |
結合パラメータ owner 。必須。親広告枠ソース グループを所有するディスプレイ&ビデオ 360 エンティティを識別します。パートナーまたは広告主のいずれかです。owner は次のいずれかになります。 |
partnerId |
string (int64 format)
親広告枠ソース グループを所有するパートナーの ID。 この割り当てられた広告枠ソースへの書き込みアクセス権を持つのは、このパートナーのみです。
|
advertiserId |
string (int64 format)
親の広告枠ソース グループを所有する広告主の ID。 親パートナーには、この割り当てられた広告枠ソースへのアクセス権がありません。
|
リクエストの本文
リクエストの本文は空にする必要があります。
レスポンスの本文
成功すると、レスポンスの本文は空の JSON オブジェクトになります。
認可スコープ
次の 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。"],[],["The Display & Video 360 API v4, currently in beta, allows deleting assignments between inventory sources and inventory source groups. This is achieved via a `DELETE` HTTP request to a specified URL, including the `inventorySourceGroupId` and `assignedInventorySourceId` as path parameters. The request also requires a query parameter called `owner`, which specifies either a `partnerId` or `advertiserId`. The request body must be empty and on success, returns an empty JSON object. This action requires the `https://www.googleapis.com/auth/display-video` OAuth scope.\n"],null,["# Method: inventorySourceGroups.assignedInventorySources.delete\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nDeletes the assignment between an inventory source and an inventory source group.\n\n### HTTP request\n\n`DELETE https://displayvideo.googleapis.com/v4/inventorySourceGroups/{inventorySourceGroupId}/assignedInventorySources/{assignedInventorySourceId}`\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 this assignment is assigned. |\n| `assignedInventorySourceId` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` Required. The ID of the assigned inventory source to delete. |\n\n### Query parameters\n\n| Parameters ||\n|----------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Union parameter `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 parent inventory source group. Only this partner has write access to this assigned inventory source. |\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 this assigned inventory source. |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nIf successful, the response body is an empty JSON object.\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)."]]