AI-generated Key Takeaways
-
You can delete a creative using a DELETE HTTP request to the specified endpoint.
-
The creative must have its entityStatus set to
ENTITY_STATUS_ARCHIVEDbefore it can be deleted. -
A "Standard" user role or greater for the parent advertiser or partner is required to make this request.
-
The request uses advertiser ID and creative ID as path parameters and has an empty request body.
-
A successful response is an empty JSON object and requires the
https://www.googleapis.com/auth/display-videoauthorization 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.
A "Standard" user role or greater for the parent advertiser or partner is required to make this request.
HTTP request
DELETE https://displayvideo.googleapis.com/v4/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 an empty JSON object.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/display-video
For more information, see the OAuth 2.0 Overview.