---
title: "POST /v4/advertisers/{advertiserId}/locationLists/{+locationListId}/assignedLocations:bulkEdit"
method: POST
path: "/v4/advertisers/{advertiserId}/locationLists/{+locationListId}/assignedLocations:bulkEdit"
tags: ["advertisers"]
---

# POST /v4/advertisers/{advertiserId}/locationLists/{+locationListId}/assignedLocations:bulkEdit

`POST /v4/advertisers/{advertiserId}/locationLists/{+locationListId}/assignedLocations:bulkEdit`

## Request

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

Bulk edits multiple assignments between locations and a single location list. The operation will delete the assigned locations provided in deletedAssignedLocations and then create the assigned locations provided in createdAssignedLocations.

## Path parameters

- `advertiserId` string, required
- `locationListId` string, required

## Request body

- BulkEditAssignedLocationsRequest: Request message for AssignedLocationService.BulkEditAssignedLocations.
  - `createdAssignedLocations` AssignedLocation[]: The assigned locations to create in bulk, specified as a list of AssignedLocation resources.
    - `assignedLocationId` string, 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.
    - `name` string: Output only. The resource name of the assigned location.
    - `targetingOptionId` string: Required. The ID of the targeting option assigned to the location list.
  - `deletedAssignedLocations` string[]: The IDs of the assigned locations to delete in bulk, specified as a list of assignedLocationId values.

## Response `200`

Successful response

## Changes

- **2026-10-10** `52cdb4885336`: 2 breaking
  - removed the request body
  - removed the media type `*/*` for the response with the status `200`

[Operation history](https://skmtc.dev/google/apis/displayvideo/changes/v4/advertisers/:advertiserId/locationLists/:locationListId/assignedLocations:bulkEdit/post.md)

---

[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/6329126f9fb6?raw)
