Method: advertisers.locationLists.create

  • This document details how to create a new location list using the Display & Video 360 API v2.

  • The HTTP request uses a POST method to the specified API endpoint, including the advertiser ID in the URL.

  • The request body requires an instance of a LocationList object.

  • A successful request will return a newly created LocationList instance in the response body.

  • Creating a location list requires authorization using the https://www.googleapis.com/auth/display-video OAuth scope.

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.