AI-generated Key Takeaways
-
Display & Video 360 API v1 has been sunset and this documentation details the process for deleting a creative using the API.
-
Before deletion, the creative's entityStatus should be set to
ENTITY_STATUS_ARCHIVED
(archived). -
The DELETE request requires specifying the advertiser ID and creative ID in the URL path.
-
Successful deletion results in an empty response body, indicating the creative has been removed.
-
Authorization requires the
https://www.googleapis.com/auth/display-video
OAuth scope.
Deletes a creative. Returns error code NOT_FOUND
if the creative does not exist. The creative should be archived first, i.e. set entityStatus
to ENTITY_STATUS_ARCHIVED
, before it can be deleted.
HTTP request
DELETE https://displayvideo.googleapis.com/v1/advertisers/{advertiserId}/creatives/{creativeId}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
advertiserId |
The ID of the advertiser this creative belongs to. |
creativeId |
The ID of the creative to be deleted. |
Request body
The request body must be empty.
Response body
If successful, the response body is empty.
Authorization Scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/display-video
For more information, see the OAuth 2.0 Overview.