Od
8 września 2025 r. każdy nowy element zamówienia będzie musiał deklarować, czy będzie wyświetlać reklamy polityczne w Unii Europejskiej (UE). Przesyłanie plików SDF i wywoływanie interfejsu Display & Video 360 API bez deklaracji zakończy się niepowodzeniem. Więcej informacji o tym, jak zaktualizować integrację, aby złożyć to oświadczenie, znajdziesz na naszej
stronie dotyczącej wycofania.
Method: inventorySourceGroups.assignedInventorySources.delete
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Usuwa powiązanie między źródłem zasobów reklamowych a grupą źródeł zasobów reklamowych.
Żądanie HTTP
DELETE https://displayvideo.googleapis.com/v4/inventorySourceGroups/{inventorySourceGroupId}/assignedInventorySources/{assignedInventorySourceId}
Adres URL używa składni transkodowania gRPC.
Parametry ścieżki
Parametry |
inventorySourceGroupId |
string (int64 format)
Wymagane. Identyfikator grupy źródeł zasobów reklamowych, do której przypisano to przypisanie.
|
assignedInventorySourceId |
string (int64 format)
Wymagane. Identyfikator przypisanego źródła zasobów reklamowych, które chcesz usunąć.
|
Parametry zapytania
Parametry |
Parametr unii owner . Wymagane. Określa element DV360, do którego należy nadrzędna grupa źródeł zasobów reklamowych. Może to być partner lub reklamodawca. owner może być tylko jednym z tych elementów: |
partnerId |
string (int64 format)
Identyfikator partnera, który jest właścicielem nadrzędnej grupy źródeł zasobów reklamowych. Tylko ten partner ma dostęp do zapisu do przypisanego źródła zasobów reklamowych.
|
advertiserId |
string (int64 format)
Identyfikator reklamodawcy, który jest właścicielem nadrzędnej grupy źródła zasobów reklamowych. Partner nadrzędny nie ma dostępu do tego przypisanego źródła zasobów reklamowych.
|
Treść żądania
Treść żądania musi być pusta.
Treść odpowiedzi
W przypadku powodzenia treść odpowiedzi to pusty obiekt JSON.
Zakresy autoryzacji
Wymaga następującego zakresu OAuth:
https://www.googleapis.com/auth/display-video
Więcej informacji znajdziesz w OAuth 2.0 Overview.
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-07-25 UTC.
[null,null,["Ostatnia aktualizacja: 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)."]]