> ## Documentation Index
> Fetch the complete documentation index at: https://docs.markifact.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Edit Assigned Locations

> Adds and/or removes locations in a DV360 location list in one call

Adds and/or removes locations in a DV360 location list in one call. Additions take targeting option IDs from dv360\_search\_targeting\_options; removals take assigned location IDs from dv360\_list\_assigned\_locations.

| | |
| - | - |
| **App** | DV360 |
| **Operation ID** | `dv360_edit_assigned_locations` |
| **Type** | Action |
| **Connection** | `dv360` (required) |
| **Credits per run** | 1 |
| **Agent / MCP tool** | Yes |
| **Requires approval** | Yes (write operation) |

## Inputs

| Field | Type | Required | Default | Description |
| - | - | - | - | - |
| `account` | DynamicAccount | Yes | - | Select the DV360 advertiser that owns the location list. |
| `location_list_id` | string or SelectItem | Yes | - | ID of the location list to edit. |
| `add_targeting_option_ids` | string or array of string | No | - | Targeting option IDs to add, as a list or newline/comma separated text. Find them with dv360\_search\_targeting\_options: use TARGETING\_TYPE\_GEO\_REGION options for regional lists, or POI / BUSINESS\_CHAIN options for proximity lists. |
| `remove_assigned_location_ids` | string or array of string | No | - | assignedLocationId values to remove (NOT targeting option IDs), as a list or newline/comma separated text. Get them from dv360\_list\_assigned\_locations. Removals are applied before additions. |

### SelectItem

| Field | Type | Required | Default | Description |
| - | - | - | - | - |
| `value` | string | Yes | - | The value of the selectable item. |
| `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. |

## Output

**Type**: `Dict`

Returns the added/removed counts and created assignments.

**Fields**: `location_list_id`, `added_count`, `removed_count`, `created_assigned_locations`


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.