advertisers

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

post/v4/advertisers/{+advertiserId}/locationLists

Request

  • Base URL: https://displayvideo.googleapis.com
  • URL: https://displayvideo.googleapis.com/v4/advertisers/{+advertiserId}/locationLists
  • Auth: OAuth 2 (implicit, authorization URL https://accounts.google.com/o/oauth2/auth, scopes: https://www.googleapis.com/auth/display-video) and OAuth 2 (authorization code, authorization URL https://accounts.google.com/o/oauth2/auth, token URL https://accounts.google.com/o/oauth2/token, scopes: https://www.googleapis.com/auth/display-video)

Path parameters

advertiserIdstring required

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

Request body

advertiserIdstring int64

Required. Immutable. The unique ID of the advertiser the location list belongs to.

displayNamestring

Required. The display name of the location list. Must be UTF-8 encoded with a maximum size of 240 bytes.

locationListIdstring int64

Output only. The unique ID of the location list. Assigned by the system.

locationType'TARGETING_LOCATION_TYPE_UNSPECIFIED' | 'TARGETING_LOCATION_TYPE_PROXIMITY' | 'TARGETING_LOCATION_TYPE_REGIONAL'

Required. Immutable. The type of location. All locations in the list will share this type.

namestring

Output only. The resource name of the location list.

Response

Successful response

Changes

    • breaking

      removed the request body

    • breaking

      removed the media type */* for the response with the status