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

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

Lists ads in a Spotify Ads account with full details, optionally filtered to one ad set. Can include or return only draft ads.

|                      |                          |
| -------------------- | ------------------------ |
| **App**              | Spotify Ads              |
| **Operation ID**     | `spotify_ads_list_ads`   |
| **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 ads should be listed.                                                                                                                                                                                                                                                  |
| `ad_set_id`       | string or SelectItem                                     | No       | -                | Only list ads in this ad set. Lists all ads in the account when omitted.                                                                                                                                                                                                                                    |
| `entity_statuses` | array of string or SelectableOption                      | No       | -                | Filter ads by status: ACTIVE, APPROVED, ARCHIVED, FAILED, PENDING, PENDING\_APPROVAL, 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 ads), 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 ads. The available fields to filter by are: - id: Filter by ad ID - name: Filter by ad name - ad\_set\_id: Filter by parent ad set 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 ads 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 ads with full details including assets, call to action, and status.

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