AI-generated Key Takeaways
-
Display & Video 360 API v1 has been sunset.
-
This document provides information on how to get a Google audience using the sunset v1 API.
-
The HTTP request uses a GET method with the audience ID in the path.
-
The request requires either a partnerId or advertiserId as a query parameter to identify which entity has access to the audience.
-
A successful request returns a GoogleAudience instance in the response body.
- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization Scopes
- Try it!
Gets a Google audience.
HTTP request
GET https://displayvideo.googleapis.com/v1/googleAudiences/{googleAudienceId}
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
googleAudienceId |
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 |
The ID of the partner that has access to the fetched Google audience. |
advertiserId |
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.