AI-generated Key Takeaways
-
Display & Video 360 API v2 is no longer in use.
-
This documentation details how to get a YouTube ad group using the API, requiring an HTTP GET request with specific advertiser and ad group IDs.
-
The request body should be empty, and a successful response returns a YoutubeAdGroup object.
-
Authorization is required using 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.