Method: advertisers.locationLists.get

  • Display & Video 360 API v2 is sunset and this documentation details how to get a location list using the API.

  • Developers can retrieve a location list by sending an HTTP GET request to the specified endpoint with the advertiser and location list IDs.

  • The request body should be empty and a successful response will return a LocationList object.

  • Authorization requires the https://www.googleapis.com/auth/display-video OAuth scope.

Gets a location list.

HTTP request

GET https://displayvideo.googleapis.com/v2/advertisers/{advertiserId}/locationLists/{locationListId}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
advertiserId

string (int64 format)

Required. The ID of the DV360 advertiser to which the fetched location list belongs.

locationListId

string (int64 format)

Required. The ID of the location list to fetch.

Request body

The request body must be empty.

Response body

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

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the OAuth 2.0 Overview.