Method: advertisers.creatives.delete
Borra una creatividad. Devuelve el código de error NOT_FOUND
si la creatividad no existe. Primero, se debe archivar la creatividad, es decir, establecer entityStatus
como ENTITY_STATUS_ARCHIVED
, para poder borrarla.
Para realizar esta solicitud, se requiere un rol de usuario"Estándar" o superior para el anunciante o socio superior.
Solicitud HTTP
DELETE https://displayvideo.googleapis.com/v3/advertisers/{advertiserId}/creatives/{creativeId}
La URL usa la sintaxis de la transcodificación gRPC.
Parámetros de ruta de acceso
Parámetros |
advertiserId |
string (int64 format)
Es el ID del anunciante al que pertenece esta creatividad.
|
creativeId |
string (int64 format)
Es el ID de la creatividad que se borrará.
|
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-02-25 (UTC)
[null,null,["Última actualización: 2025-02-25 (UTC)"],[[["Deletes a specified creative belonging to an advertiser, requiring prior archival of the creative."],["Only users with \"Standard\" role or higher for the parent advertiser or partner can perform this deletion."],["The request utilizes a `DELETE` method with advertiser and creative IDs as path parameters, and an empty request body."],["A successful deletion results in an empty response body, while a non-existent creative triggers a `NOT_FOUND` error."],["Authorization necessitates the `https://www.googleapis.com/auth/display-video` OAuth scope."]]],["This document details the process of deleting a creative within an advertiser's account. Deletion requires a \"Standard\" or greater user role. The creative must first be archived by setting its `entityStatus` to `ENTITY_STATUS_ARCHIVED`. A `DELETE` HTTP request is sent to the specified URL, including `advertiserId` and `creativeId` as path parameters. The request body should be empty. A successful deletion returns an empty JSON object; if the creative doesn't exist, `NOT_FOUND` is returned. The operation requires the `https://www.googleapis.com/auth/display-video` OAuth scope.\n"]]