Method: advertisers.youtubeAdGroups.get

  • 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 and youtubeAdGroupId.

  • 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

string (int64 format)

Required. The ID of the advertiser this ad group belongs to.

youtubeAdGroupId

string (int64 format)

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.