# REST Resource: advertisers.locationLists

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

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

## Resource: LocationList

A list of locations used for targeting.

| JSON representation |
|---|
| ``` { "name": string, "locationListId": string, "displayName": string, "locationType": enum (`https://developers.google.com/display-video/api/reference/rest/v2/advertisers.locationLists#TargetingLocationType`), "advertiserId": string } ``` |

| Fields ||
|---|---|
| `name` | `string` Output only. The resource name of the location list. |
| `locationListId` | `string (https://developers.google.com/discovery/v1/type-format format)` Output only. The unique ID of the location list. Assigned by the system. |
| `displayName` | `string` Required. The display name of the location list. Must be UTF-8 encoded with a maximum size of 240 bytes. |
| `locationType` | ``enum (`https://developers.google.com/display-video/api/reference/rest/v2/advertisers.locationLists#TargetingLocationType`)`` Required. Immutable. The type of location. All locations in the list will share this type. |
| `advertiserId` | `string (https://developers.google.com/discovery/v1/type-format format)` Required. Immutable. The unique ID of the advertiser the location list belongs to. |

## TargetingLocationType

Type of a targeting location.

| Enums ||
|---|---|
| `TARGETING_LOCATION_TYPE_UNSPECIFIED` | Default value when type is not specified or is unknown. |
| `TARGETING_LOCATION_TYPE_PROXIMITY` | The type for proximity geo location. |
| `TARGETING_LOCATION_TYPE_REGIONAL` | The type for regional geo location. |

| ## Methods ||
|---|---|
| ### `https://developers.google.com/display-video/api/reference/rest/v2/advertisers.locationLists/create` | Creates a new location list. |
| ### `https://developers.google.com/display-video/api/reference/rest/v2/advertisers.locationLists/get` | Gets a location list. |
| ### `https://developers.google.com/display-video/api/reference/rest/v2/advertisers.locationLists/list` | Lists location lists based on a given advertiser id. |
| ### `https://developers.google.com/display-video/api/reference/rest/v2/advertisers.locationLists/patch` | Updates a location list. |