---
title: "PATCH /v4/advertisers/{advertisersId}/locationLists/{locationListId}"
method: PATCH
path: "/v4/advertisers/{advertisersId}/locationLists/{locationListId}"
tags: ["advertisers"]
---

# PATCH /v4/advertisers/{advertisersId}/locationLists/{locationListId}

`PATCH /v4/advertisers/{advertisersId}/locationLists/{locationListId}`

## Request

- Base URL: `https://displayvideo.googleapis.com`
- URL: `https://displayvideo.googleapis.com/v4/advertisers/{advertisersId}/locationLists/{locationListId}`
- Auth: OAuth 2 and OAuth 2
  - Implicit: `https://accounts.google.com/o/oauth2/auth`
  - Scopes: `https://www.googleapis.com/auth/display-video`
  - Authorization code: `https://accounts.google.com/o/oauth2/auth`
  - Token URL: `https://accounts.google.com/o/oauth2/token` scopes: `https://www.googleapis.com/auth/display-video`
- TypeScript: <https://skmtc.dev/google/apis/displayvideo/docs/v4/advertisers/:advertisersId/locationLists/:locationListId/patch.ts> (a function with typed inputs; its response is checked against the schema)

Updates a location list. Returns the updated location list if successful.

## Path parameters

- `advertisersId` string, required
- `locationListId` string, int64, required

## Query parameters

- `updateMask` string, google-fieldmask

## Request body

- LocationList: A list of locations used for targeting.
  - `advertiserId` string, int64: Required. Immutable. The unique ID of the advertiser the location list belongs to.
  - `displayName` string: Required. The display name of the location list. Must be UTF-8 encoded with a maximum size of 240 bytes.
  - `locationListId` string, 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.
  - `name` string: Output only. The resource name of the location list.

## Response `200`

Successful response

- LocationList: A list of locations used for targeting.
  - `advertiserId` string, int64: Required. Immutable. The unique ID of the advertiser the location list belongs to.
  - `displayName` string: Required. The display name of the location list. Must be UTF-8 encoded with a maximum size of 240 bytes.
  - `locationListId` string, 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.
  - `name` string: Output only. The resource name of the location list.

---

[API](https://skmtc.dev/google/apis/displayvideo.md) - [All operations](https://skmtc.dev/google/apis/displayvideo/llms.txt) - [OpenAPI document](https://skmtc.dev/google/apis/displayvideo/revisions/d80b56b6703a?raw)
