A partire dall'8 settembre 2025, ogni nuovo elemento pubblicitario dovrà dichiarare se pubblicherà o meno annunci politici dell'Unione Europea (UE). I caricamenti di API Display & Video 360 e SDF che non forniscono dichiarazioni non andranno a buon fine. Consulta la nostra pagina dei ritiri per ulteriori dettagli su come aggiornare l'integrazione per effettuare questa dichiarazione.
Consente di eliminare definitivamente una campagna. Una campagna eliminata non può essere recuperata. Per poterla eliminare, la campagna deve prima essere archiviata, ovvero impostare entityStatus su ENTITY_STATUS_ARCHIVED.
[null,null,["Ultimo aggiornamento 2025-07-25 UTC."],[[["\u003cp\u003ePermanently deletes a specified campaign, which cannot be recovered after deletion.\u003c/p\u003e\n"],["\u003cp\u003eRequires the campaign to be archived (\u003ccode\u003eENTITY_STATUS_ARCHIVED\u003c/code\u003e) before deletion.\u003c/p\u003e\n"],["\u003cp\u003eUses an HTTP DELETE request with advertiser and campaign IDs as path parameters.\u003c/p\u003e\n"],["\u003cp\u003eNeeds an empty request body and returns an empty response body upon success.\u003c/p\u003e\n"],["\u003cp\u003eRequires authorization with specific OAuth scopes for access.\u003c/p\u003e\n"]]],[],null,["# Method: advertisers.campaigns.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\nPermanently deletes a campaign. A deleted campaign cannot be recovered. The campaign should be archived first, i.e. set [entityStatus](/display-video/api/reference/rest/v3/advertisers.campaigns#Campaign.FIELDS.entity_status) to `ENTITY_STATUS_ARCHIVED`, to be able to delete it.\n\n**This method regularly experiences high latency.** We recommend [increasing your default timeout](/display-video/api/guides/best-practices/timeouts#client_library_timeout) to avoid errors.\n\n### HTTP request\n\n`DELETE https://displayvideo.googleapis.com/v3/advertisers/{advertiserId}/campaigns/{campaignId}`\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 campaign belongs to. |\n| `campaignId` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` The ID of the campaign we need to delete. |\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 one of the following OAuth scopes:\n\n- `https://www.googleapis.com/auth/display-video`\n- `https://www.googleapis.com/auth/display-video-mediaplanning`\n\nFor more information, see the [OAuth 2.0 Overview](/identity/protocols/OAuth2)."]]