A partir de
8 de setembro de 2025, todos os novos itens de linha precisarão declarar se vão veicular anúncios políticos da União Europeia (UE). As APIs do Display & Video 360 e os uploads de SDF que não fornecem declarações vão falhar. Consulte nossa
página de suspensões de uso para mais detalhes sobre como atualizar sua integração e fazer essa declaração.
Method: inventorySourceGroups.assignedInventorySources.delete
Mantenha tudo organizado com as coleções
Salve e categorize o conteúdo com base nas suas preferências.
Exclui a atribuição entre uma origem de inventário e um grupo de origens de inventário.
Solicitação HTTP
DELETE https://displayvideo.googleapis.com/v4/inventorySourceGroups/{inventorySourceGroupId}/assignedInventorySources/{assignedInventorySourceId}
O URL usa a sintaxe de transcodificação gRPC.
Parâmetros de caminho
Parâmetros |
inventorySourceGroupId |
string (int64 format)
Obrigatório. O ID do grupo de origem de inventário a que essa atribuição foi atribuída.
|
assignedInventorySourceId |
string (int64 format)
Obrigatório. O ID da fonte de inventário atribuída a ser excluída.
|
Parâmetros de consulta
Parâmetros |
Parâmetro de união owner . Obrigatório. Identifica a entidade do DV360 que é proprietária do grupo de origem de inventário pai. Pode ser um parceiro ou um anunciante. owner pode ser apenas de um dos tipos a seguir: |
partnerId |
string (int64 format)
O ID do parceiro proprietário do grupo de origem de inventário principal. Somente esse parceiro tem acesso de gravação a essa origem de inventário atribuída.
|
advertiserId |
string (int64 format)
O ID do anunciante que é proprietário do grupo de origem de inventário principal. O parceiro principal não tem acesso a essa origem de inventário atribuída.
|
Corpo da solicitação
O corpo da solicitação precisa estar vazio.
Corpo da resposta
Se a solicitação for bem-sucedida, o corpo da resposta será um objeto JSON vazio.
Escopos de autorização
Requer o seguinte escopo OAuth:
https://www.googleapis.com/auth/display-video
Para mais informações, consulte OAuth 2.0 Overview.
Exceto em caso de indicação contrária, o conteúdo desta página é licenciado de acordo com a Licença de atribuição 4.0 do Creative Commons, e as amostras de código são licenciadas de acordo com a Licença Apache 2.0. Para mais detalhes, consulte as políticas do site do Google Developers. Java é uma marca registrada da Oracle e/ou afiliadas.
Última atualização 2025-07-25 UTC.
[null,null,["Última atualização 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)."]]