advertisers

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.

delete/v4/advertisers/{+advertiserId}/campaigns/{+campaignId}

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

advertiserIdstring required

The ID of the advertiser this campaign belongs to.

campaignIdstring required

The ID of the campaign we need to delete.

Response

Successful response

Changes

    • info

      the security scope https://www.googleapis.com/auth/display-video was added to the endpoint's security scheme Oauth2

    • info

      the security scope https://www.googleapis.com/auth/display-video was added to the endpoint's security scheme Oauth2c

    • info

      the security scope https://www.googleapis.com/auth/display-video-mediaplanning was removed from the endpoint's security scheme Oauth2

    • info

      the security scope https://www.googleapis.com/auth/display-video-mediaplanning was removed from the endpoint's security scheme Oauth2c

    • info

      the security scope https://www.googleapis.com/auth/display-video was added to the endpoint's security scheme Oauth2

    • info

      the security scope https://www.googleapis.com/auth/display-video was added to the endpoint's security scheme Oauth2c

    • info

      the security scope https://www.googleapis.com/auth/display-video-mediaplanning was removed from the endpoint's security scheme Oauth2

    • info

      the security scope https://www.googleapis.com/auth/display-video-mediaplanning was removed from the endpoint's security scheme Oauth2c