2025 年 9 月 8 日以降、すべての新しい広告申込情報で、欧州連合(EU)の政治広告を配信するかどうかを宣言する必要があります。宣言が提供されていないディスプレイ&ビデオ 360 API と SDF のアップロードは失敗します。統合を更新してこの宣言を行う方法について詳しくは、
非推奨のページをご覧ください。
Method: advertisers.creatives.delete
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
クリエイティブを削除します。クリエイティブが存在しない場合、エラーコード NOT_FOUND
を返します。クリエイティブを削除するには、まずクリエイティブをアーカイブする必要があります。つまり、entityStatus
を ENTITY_STATUS_ARCHIVED
に設定する必要があります。
このリクエストを行うには、親広告主またはパートナーの「標準」ユーザー役割以上が必要です。
HTTP リクエスト
DELETE https://displayvideo.googleapis.com/v3/advertisers/{advertiserId}/creatives/{creativeId}
この URL は gRPC Transcoding 構文を使用します。
パスパラメータ
パラメータ |
advertiserId |
string (int64 format)
このクリエイティブが属する広告主の ID。
|
creativeId |
string (int64 format)
削除するクリエイティブの ID。
|
リクエストの本文
リクエストの本文は空にする必要があります。
レスポンスの本文
成功すると、レスポンスの本文は空の JSON オブジェクトになります。
認可スコープ
次の OAuth スコープが必要です。
https://www.googleapis.com/auth/display-video
詳細については、OAuth 2.0 Overview をご覧ください。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-07-25 UTC。
[null,null,["最終更新日 2025-07-25 UTC。"],[[["\u003cp\u003eDeletes a specified creative belonging to an advertiser, requiring prior archival of the creative.\u003c/p\u003e\n"],["\u003cp\u003eOnly users with "Standard" role or higher for the parent advertiser or partner can perform this deletion.\u003c/p\u003e\n"],["\u003cp\u003eThe request utilizes a \u003ccode\u003eDELETE\u003c/code\u003e method with advertiser and creative IDs as path parameters, and an empty request body.\u003c/p\u003e\n"],["\u003cp\u003eA successful deletion results in an empty response body, while a non-existent creative triggers a \u003ccode\u003eNOT_FOUND\u003c/code\u003e error.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization necessitates the \u003ccode\u003ehttps://www.googleapis.com/auth/display-video\u003c/code\u003e OAuth scope.\u003c/p\u003e\n"]]],["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"],null,["# Method: advertisers.creatives.delete\n\n| Display \\& Video 360 API is deprecated and will sunset on **October 7, 2025** . Migrate to [Display \\& Video 360 API v4](/display-video/api/reference/rest/v4) before sunset to avoid an interruption in service.\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_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 a creative. Returns error code `NOT_FOUND` if the creative does not exist. The creative should be archived first, i.e. set [entityStatus](/display-video/api/reference/rest/v3/advertisers.creatives#Creative.FIELDS.entity_status) to `ENTITY_STATUS_ARCHIVED`, before it can be deleted.\n\nA [\"Standard\" user role](//support.google.com/displayvideo/answer/2723011) or greater for the parent advertiser or partner is required to make this request.\n\n### HTTP request\n\n`DELETE https://displayvideo.googleapis.com/v3/advertisers/{advertiserId}/creatives/{creativeId}`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|----------------|----------------------------------------------------------------------------------------------------------------------------------------|\n| `advertiserId` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` The ID of the advertiser this creative belongs to. |\n| `creativeId` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` The ID of the creative to be deleted. |\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)."]]