Od 8 września 2025 r. każdy nowy element zamówienia będzie musiał deklarować, czy będzie wyświetlać reklamy polityczne w Unii Europejskiej (UE). Przesyłanie plików SDF i wywoływanie interfejsu Display & Video 360 API bez deklaracji zakończy się niepowodzeniem. Więcej informacji o tym, jak zaktualizować integrację, aby złożyć to oświadczenie, znajdziesz na naszej stronie dotyczącej wycofania.
Trwale usuwa kampanię. Usuniętej kampanii nie można przywrócić. Aby można było usunąć kampanię, najpierw należy ją zarchiwizować, czyli ustawić w polu entityStatus wartość ENTITY_STATUS_ARCHIVED.
[null,null,["Ostatnia aktualizacja: 2025-07-25 UTC."],[[["\u003cp\u003ePermanently deletes a specified campaign, which cannot be undone and requires the campaign to be archived beforehand.\u003c/p\u003e\n"],["\u003cp\u003eThe API endpoint uses a DELETE request with the advertiser and campaign IDs as path parameters.\u003c/p\u003e\n"],["\u003cp\u003eAn empty request body is required, and a successful deletion results in an empty response body.\u003c/p\u003e\n"],["\u003cp\u003eProper authorization is necessary, requiring specific OAuth scopes for access.\u003c/p\u003e\n"]]],[],null,["# Method: advertisers.campaigns.delete\n\n| Display \\& Video 360 API v1 has been sunset.\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/v1/advertisers.campaigns#Campaign.FIELDS.entity_status) to `ENTITY_STATUS_ARCHIVED`, to be able to delete it.\n\n### HTTP request\n\n`DELETE https://displayvideo.googleapis.com/v1/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 empty.\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](https://developers.google.com/identity/protocols/OAuth2)."]]