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

# List Ad Sets

> Lists ad sets in a Spotify Ads account with full details, optionally filtered to one campaign

Lists ad sets in a Spotify Ads account with full details, optionally filtered to one campaign. Can include or return only draft ad sets. Budgets and bids are returned in Spotify micro-currency (divide by 1,000,000 for the account currency).

|                      |                            |
| -------------------- | -------------------------- |
| **App**              | Spotify Ads                |
| **Operation ID**     | `spotify_ads_list_ad_sets` |
| **Type**             | Action                     |
| **Connection**       | `spotify_ads` (required)   |
| **Credits per run**  | 1                          |
| **Agent / MCP tool** | Yes                        |

## Inputs

| Field             | Type                                                     | Required | Default          | Description                                                                                                                                                                                                                                                                                                                |
| ----------------- | -------------------------------------------------------- | -------- | ---------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `account`         | DynamicAccount                                           | Yes      | -                | Select the Spotify Ads account whose ad sets should be listed.                                                                                                                                                                                                                                                             |
| `campaign_id`     | string or SelectItem                                     | No       | -                | Only list ad sets in this campaign. Lists all ad sets in the account when omitted.                                                                                                                                                                                                                                         |
| `entity_statuses` | array of string or SelectableOption                      | No       | -                | Filter ad sets by status: ACTIVE, ACTIVE\_RESTRICTED, APPROVED, ARCHIVED, COMPLETED, PENDING\_APPROVAL, READY, REJECTED. Returns all statuses when omitted.                                                                                                                                                                |
| `draft_filter`    | enum (`PUBLISHED_ONLY`, `INCLUDE_DRAFTS`, `DRAFTS_ONLY`) | No       | `PUBLISHED_ONLY` | Which records to return: PUBLISHED\_ONLY (default, live ad sets), INCLUDE\_DRAFTS (published plus drafts from the Spotify drafts endpoint, with every row flagged by is\_draft), or DRAFTS\_ONLY.                                                                                                                          |
| `filters`         | array of FilterItem                                      | No       | -                | Additional filters to apply when retrieving ad sets. The available fields to filter by are: - id: Filter by ad set ID - name: Filter by ad set name - campaign\_id: Filter by parent campaign ID Filters are combined using AND logic. If you want to use OR logic, use relevant operators like REGEXP\_MATCH or IN\_LIST. |
| `limit`           | integer                                                  | No       | `100`            | Maximum number of ad sets to return. Default: 100.                                                                                                                                                                                                                                                                         |

### FilterItem

| Field      | Type                       | Required | Default | Description                                                                                                                                                   |
| ---------- | -------------------------- | -------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `field`    | string or SelectableOption | Yes      | -       | The field to filter on, must be one of the current selected metrics or dimensions.                                                                            |
| `operator` | string                     | Yes      | -       | The operator to use for filtering. Must be one of the supported values. Use REGEXP\_MATCH to search/filter by multiple OR values like '.*(summer\|holiday).*' |
| `value`    | string                     | Yes      | -       | The value to filter by. Can be a string, number, regex, or a list of strings.                                                                                 |

### 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**: `List[Dict]`

Returns the list of Spotify ad sets with full details including budget, targeting, and status.

**Fields**: dynamic (depend on the inputs)
