AI-generated Key Takeaways
-
Display & Video 360 API v2 is sunset and this documentation outlines how to get a YouTube ad group ad using the API.
-
The request is a GET request to a specific URL with advertiser ID and ad group ad ID as path parameters.
-
An empty request body is required and a successful response returns a YoutubeAdGroupAd object.
-
Authorization requires the
https://www.googleapis.com/auth/display-video
OAuth scope.
Gets a YouTube ad group ad.
HTTP request
GET https://displayvideo.googleapis.com/v2/advertisers/{advertiserId}/youtubeAdGroupAds/{youtubeAdGroupAdId}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
advertiserId |
Required. The ID of the advertiser this ad group ad belongs to. |
youtubeAdGroupAdId |
Required. The ID of the ad group ad to fetch. |
Request body
The request body must be empty.
Response body
If successful, the response body contains an instance of YoutubeAdGroupAd
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/display-video
For more information, see the OAuth 2.0 Overview.