A partir del
8 de septiembre de 2025, cada elemento de la línea nuevo deberá declarar si publicará anuncios políticos de la Unión Europea (UE). Las cargas de la API de Display & Video 360 y del SDF que no proporcionen declaraciones fallarán. Consulta nuestra
página de bajas para obtener más detalles sobre cómo actualizar tu integración y realizar esta declaración.
Method: inventorySourceGroups.assignedInventorySources.delete
Organiza tus páginas con colecciones
Guarda y categoriza el contenido según tus preferencias.
Borra la asignación entre una fuente de inventario y un grupo de fuentes de inventario.
Solicitud HTTP
DELETE https://displayvideo.googleapis.com/v4/inventorySourceGroups/{inventorySourceGroupId}/assignedInventorySources/{assignedInventorySourceId}
La URL usa la sintaxis de la transcodificación gRPC.
Parámetros de ruta de acceso
Parámetros |
inventorySourceGroupId |
string (int64 format)
Obligatorio. Es el ID del grupo de fuentes de inventario al que se asignó esta asignación.
|
assignedInventorySourceId |
string (int64 format)
Obligatorio. Es el ID de la fuente de inventario asignada que se borrará.
|
Parámetros de consulta
Parámetros |
Parámetro de unión owner . Obligatorio. Identifica la entidad de DV360 a la que pertenece el grupo de fuentes de inventario superior. Puede ser un socio o un anunciante. Las direcciones (owner ) solo pueden ser una de las siguientes opciones: |
partnerId |
string (int64 format)
Es el ID del socio propietario del grupo de fuentes de inventario superior. Solo este socio tiene acceso de escritura a esta fuente de inventario asignada.
|
advertiserId |
string (int64 format)
Es el ID del anunciante que posee el grupo de fuentes de inventario superior. El socio superior no tiene acceso a esta fuente de inventario asignada.
|
Cuerpo de la solicitud
El cuerpo de la solicitud debe estar vacío.
Cuerpo de la respuesta
Si se ejecuta correctamente, el cuerpo de la respuesta es un objeto JSON vacío.
Permisos de autorización
Requiere el siguiente alcance de OAuth:
https://www.googleapis.com/auth/display-video
Para obtener más información, consulta OAuth 2.0 Overview.
Salvo que se indique lo contrario, el contenido de esta página está sujeto a la licencia Atribución 4.0 de Creative Commons, y los ejemplos de código están sujetos a la licencia Apache 2.0. Para obtener más información, consulta las políticas del sitio de Google Developers. Java es una marca registrada de Oracle o sus afiliados.
Última actualización: 2025-07-25 (UTC)
[null,null,["Última actualización: 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)."]]