advertisers

Creates an assignment between a location and a location list.

post/v4/advertisers/{advertiserId}/locationLists/{locationListId}/assignedLocations

Request

  • Base URL: https://displayvideo.googleapis.com
  • URL: https://displayvideo.googleapis.com/v4/advertisers/{advertiserId}/locationLists/{locationListId}/assignedLocations
  • 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.

locationListIdstring required

Required. The ID of the location list for which the assignment will be created.

Request body

assignedLocationIdstring int64

Output only. The unique ID of the assigned location. The ID is only unique within a location list. It may be reused in other contexts.

namestring

Output only. The resource name of the assigned location.

targetingOptionIdstring

Required. The ID of the targeting option assigned to the location list.

Response

Successful response

Changes

    • breaking

      removed the request body

    • breaking

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