Method: advertisers.locationLists.create

  • Display & Video 360 API v2 is deprecated and this documentation details the process for creating a new location list using the API.

  • The API request requires specifying the advertiser ID and providing a location list object in the request body.

  • Successful requests will return the newly created location list object in the response body.

  • Users must have the https://www.googleapis.com/auth/display-video OAuth scope to authorize this request.

Creates a new location list. Returns the newly created location list if successful.

HTTP request

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

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
advertiserId

string (int64 format)

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

Request body

The request body contains an instance of LocationList.

Response body

If successful, the response body contains a newly created 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.