REST Resource: advertisers.locationLists.assignedLocations

  • Display & Video 360 API v1 is no longer supported.

  • AssignedLocation resources manage assignments between location lists and targeting options (currently limited to geo region targeting).

  • You can create, delete, list, and bulk edit assigned locations using the provided methods.

  • AssignedLocations are represented by their name, assigned location ID, and targeting option ID.

Resource: AssignedLocation

An assignment between a location list and a relevant targeting option. Currently, geo region targeting options are the only supported option for assignment.

JSON representation
{
  "name": string,
  "assignedLocationId": string,
  "targetingOptionId": string
}
Fields
name

string

Output only. The resource name of the assigned location.

assignedLocationId

string (int64 format)

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.

targetingOptionId

string

Required. The ID of the targeting option assigned to the location list. Must be of type TARGETING_TYPE_GEO_REGION.

Methods

bulkEdit

Bulk edits multiple assignments between locations and a single location list.

create

Creates an assignment between a location and a location list.

delete

Deletes the assignment between a location and a location list.

list

Lists locations assigned to a location list.