Permanently deletes a campaign. A deleted campaign cannot be recovered. The campaign should be archived first, i.e. set entity_status to ENTITY_STATUS_ARCHIVED, to be able to delete it. This method regularly experiences high latency. We recommend increasing your default timeout to avoid errors.
Request
- Base URL: https://displayvideo.googleapis.com
- URL: https://displayvideo.googleapis.com/v4/advertisers/{+advertiserId}/campaigns/{+campaignId}
- Auth: one of:
- OAuth 2 (implicit, authorization URL https://accounts.google.com/o/oauth2/auth, scopes: https://www.googleapis.com/auth/display-video) and OAuth 2 (authorization code, authorization URL https://accounts.google.com/o/oauth2/auth, token URL https://accounts.google.com/o/oauth2/token, scopes: https://www.googleapis.com/auth/display-video)
- OAuth 2 (implicit, authorization URL https://accounts.google.com/o/oauth2/auth, scopes: https://www.googleapis.com/auth/display-video-mediaplanning) and OAuth 2 (authorization code, authorization URL https://accounts.google.com/o/oauth2/auth, token URL https://accounts.google.com/o/oauth2/token, scopes: https://www.googleapis.com/auth/display-video-mediaplanning)
Path parameters
The ID of the advertiser this campaign belongs to.
The ID of the campaign we need to delete.
Response
Successful response
Changes
- info
the security scope
https://www.googleapis.com/auth/display-videowas added to the endpoint's security schemeOauth2 - info
the security scope
https://www.googleapis.com/auth/display-videowas added to the endpoint's security schemeOauth2c - info
the security scope
https://www.googleapis.com/auth/display-video-mediaplanningwas removed from the endpoint's security schemeOauth2 - info
the security scope
https://www.googleapis.com/auth/display-video-mediaplanningwas removed from the endpoint's security schemeOauth2c
- info
- info
the security scope
https://www.googleapis.com/auth/display-videowas added to the endpoint's security schemeOauth2 - info
the security scope
https://www.googleapis.com/auth/display-videowas added to the endpoint's security schemeOauth2c - info
the security scope
https://www.googleapis.com/auth/display-video-mediaplanningwas removed from the endpoint's security schemeOauth2 - info
the security scope
https://www.googleapis.com/auth/display-video-mediaplanningwas removed from the endpoint's security schemeOauth2c
- info