AI-generated Key Takeaways
-
Display & Video 360 API v2 has sunset.
-
This page provides documentation for getting a specific campaign using an HTTP GET request.
-
The request requires
advertiserId
andcampaignId
as path parameters. -
The request body must be empty, and the response body contains a Campaign instance.
-
Authorization requires specific OAuth scopes related to display and video advertising.
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 |
Required. The ID of the advertiser this campaign belongs to. |
campaignId |
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.