Method: googleAudiences.get

  • Display & Video 360 API v3 is sunset and users should use v4 instead.

  • The googleAudiences.get method retrieves a Google audience using a GET HTTP request.

  • The method requires a googleAudienceId path parameter and either a partnerId or advertiserId query parameter to identify the accessible Google audience.

  • A successful request returns a GoogleAudience instance in the response body.

  • The request requires the https://www.googleapis.com/auth/display-video OAuth scope for authorization.

Gets a Google audience.

HTTP request

GET https://displayvideo.googleapis.com/v3/googleAudiences/{googleAudienceId}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
googleAudienceId

string (int64 format)

Required. The ID of the Google audience to fetch.

Query parameters

Parameters
Union parameter accessor. Required. Identifies which DV360 entity the request is being made within. The GET request will only return Google audience entities that are accessible to the DV360 entity identified within the accessor. accessor can be only one of the following:
partnerId

string (int64 format)

The ID of the partner that has access to the fetched Google audience.

advertiserId

string (int64 format)

The ID of the advertiser that has access to the fetched Google audience.

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of GoogleAudience.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/display-video

For more information, see the OAuth 2.0 Overview.