AI-generated Key Takeaways
-
This page details how to get a YouTube ad group using the Display & Video 360 API v2, which has sunset.
-
The HTTP request is a GET request to a specific URL containing the advertiser and YouTube ad group IDs.
-
The request requires path parameters for
advertiserId
andyoutubeAdGroupId
. -
The request body must be empty, and a successful response body contains a
YoutubeAdGroup
instance. -
Authorization requires the
https://www.googleapis.com/auth/display-video
OAuth scope.
Gets a YouTube ad group.
HTTP request
GET https://displayvideo.googleapis.com/v2/advertisers/{advertiserId}/youtubeAdGroups/{youtubeAdGroupId}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
advertiserId |
Required. The ID of the advertiser this ad group belongs to. |
youtubeAdGroupId |
Required. The ID of the ad group to fetch. |
Request body
The request body must be empty.
Response body
If successful, the response body contains an instance of YoutubeAdGroup
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/display-video
For more information, see the OAuth 2.0 Overview.