Method: advertisers.campaigns.get

  • The documentation describes how to get a specific campaign using the Google Display & Video 360 API.

  • The request uses a GET HTTP method to the specified URL, requiring both advertiserId and campaignId as path parameters.

  • The request body is empty, and a successful response returns a Campaign object in the response body.

  • The request requires one of two specific OAuth scopes for authorization.

Gets a campaign.

HTTP request

GET https://displayvideo.googleapis.com/v4/advertisers/{advertiserId}/campaigns/{campaignId}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
advertiserId

string (int64 format)

Required. The ID of the advertiser this campaign belongs to.

campaignId

string (int64 format)

Required. The ID of the campaign to fetch.

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of Campaign.

Authorization scopes

Requires one of the following OAuth scopes:

  • https://www.googleapis.com/auth/display-video
  • https://www.googleapis.com/auth/display-video-mediaplanning

For more information, see the OAuth 2.0 Overview.