AI-generated Key Takeaways
-
Display & Video 360 API v1 is sunset and this documentation details the creation of a new location list using the v1 API.
-
The API endpoint to create a location list is
POST https://displayvideo.googleapis.com/v1/advertisers/{advertiserId}/locationLists
and requires the advertiser ID as a path parameter. -
The request body must contain a LocationList object as defined in the provided reference link and a successful response will return the newly created LocationList object.
-
Authorization requires 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/v1/advertisers/{advertiserId}/locationLists
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
advertiserId |
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.