Method: advertisers.campaigns.get

  • Display & Video 360 API v2 is deprecated and replaced by a newer version.

  • This documentation details how to retrieve information for a specific campaign within a given advertiser using the API.

  • The request requires providing both advertiser and campaign IDs as path parameters.

  • A successful response returns a comprehensive Campaign object containing relevant campaign details.

  • Users need appropriate authorization with specified OAuth scopes to access this functionality.

Gets a campaign.

HTTP request

GET https://displayvideo.googleapis.com/v2/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.