> ## 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.

# Update Ad Set Status

> Activates, pauses, or deletes Spotify ad sets, one or many at once

Activates, pauses, or deletes Spotify ad sets, one or many at once. DELETED only works on draft ad sets and cannot be undone; published ad sets cannot be deleted or archived through the Spotify API, so pause them instead.

|                       |                                    |
| --------------------- | ---------------------------------- |
| **App**               | Spotify Ads                        |
| **Operation ID**      | `spotify_ads_update_ad_set_status` |
| **Type**              | Action                             |
| **Connection**        | `spotify_ads` (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 Spotify Ads account that owns the ad sets.                                                                                                                                                                                                                                                            |
| `update_type`     | string or SelectableOption                    | Yes      | -       | Choose whether to update a single ad set or multiple at once. Options: single or bulk.                                                                                                                                                                                                                           |
| `ad_set_id`       | string or SelectItem                          | No       | -       | Spotify ad set ID to update. Required for single update.                                                                                                                                                                                                                                                         |
| `status`          | string or SelectableOption                    | No       | -       | New ad set status: ACTIVE (resume), PAUSED (pause), or DELETED. ACTIVE and PAUSED are sent to Spotify as the delivery flag (ON/OFF). DELETED permanently deletes a DRAFT ad set and cannot be undone; Spotify has no delete endpoint for published ad sets, so use PAUSED for those. Required for single update. |
| `structured_data` | array (also accepts a comma-separated string) | No       | -       | Use only when update\_type is bulk. Required columns: ad\_set\_id and status (ACTIVE, PAUSED, or DELETED; DELETED only works on drafts). Up to 100 rows.                                                                                                                                                         |

### 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. |

### SelectableOption

| Field   | Type   | Required | Default | Description |
| ------- | ------ | -------- | ------- | ----------- |
| `value` | string | Yes      | -       |             |
| `label` | string | Yes      | -       |             |

## Output

**Type**: `String`

Returns a summary of how many ad sets were updated.
