# REST Resource: advertisers.locationLists.assignedLocations

> [!WARNING]
> Display \& Video 360 API v2 has sunset.

- [Resource: AssignedLocation](https://developers.google.com/display-video/api/reference/rest/v2/advertisers.locationLists.assignedLocations#AssignedLocation)
  - [JSON representation](https://developers.google.com/display-video/api/reference/rest/v2/advertisers.locationLists.assignedLocations#AssignedLocation.SCHEMA_REPRESENTATION)
- [Methods](https://developers.google.com/display-video/api/reference/rest/v2/advertisers.locationLists.assignedLocations#METHODS_SUMMARY)

## 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 (https://developers.google.com/discovery/v1/type-format 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. Assigned locations can only be modified in `https://developers.google.com/display-video/api/reference/rest/v2/advertisers.locationLists#TargetingLocationType.ENUM_VALUES.TARGETING_LOCATION_TYPE_REGIONAL` location lists. When creating or deleting assigned locations, this value must be of type `https://developers.google.com/display-video/api/reference/rest/v2/TargetingType#ENUM_VALUES.TARGETING_TYPE_GEO_REGION`. |

| ## Methods ||
|---|---|
| ### `https://developers.google.com/display-video/api/reference/rest/v2/advertisers.locationLists.assignedLocations/bulkEdit` | Bulk edits multiple assignments between locations and a single location list. |
| ### `https://developers.google.com/display-video/api/reference/rest/v2/advertisers.locationLists.assignedLocations/create` | Creates an assignment between a location and a location list. |
| ### `https://developers.google.com/display-video/api/reference/rest/v2/advertisers.locationLists.assignedLocations/delete` | Deletes the assignment between a location and a location list. |
| ### `https://developers.google.com/display-video/api/reference/rest/v2/advertisers.locationLists.assignedLocations/list` | Lists locations assigned to a location list. |