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

> Lists custom audiences in an X (Twitter) Ads account with full details including whether each is targetable

Lists custom audiences in an X (Twitter) Ads account with full details including whether each is targetable. Audiences need 100+ matched users before they can be targeted.

| | |
| - | - |
| **App** | X Ads |
| **Operation ID** | `x_ads_list_audiences` |
| **Type** | Action |
| **Connection** | `x_ads` (required) |
| **Credits per run** | 1 |
| **Agent / MCP tool** | Yes |

## Inputs

| Field | Type | Required | Default | Description |
| - | - | - | - | - |
| `account` | DynamicAccount | Yes | - | Select the X Ads account whose custom audiences should be listed. |
| `audience_ids` | string or array of string | No | - | Scope to specific audience IDs (list or comma-separated string, up to 200). |
| `q` | string | No | - | Scope audiences by name (case-insensitive prefix match, so it matches names that start with this text). |
| `permission_scope` | enum (`OWNER`, `SHARED`) | No | - | OWNER (default) lists the account's own audiences; SHARED lists audiences shared with it. |
| `sort_by` | string | No | - | Sort by a supported attribute, e.g. 'created\_at-desc' or 'updated\_at-asc'. |
| `with_deleted` | boolean | No | `False` | Include deleted audiences. |
| `filters` | array of FilterItem | No | - | Additional filters applied to the returned audiences. The available fields to filter by are: - id: Filter by audience ID - name: Filter by audience name - audience\_type: Filter by type (CRM, WEB, MOBILE\_AUDIENCE, FLEXIBLE) - targetable: Filter by whether the audience can be targeted (true/false) 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 audiences 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, always as a string: text, a number, or a regex. For IN\_LIST and NOT\_IN\_LIST, pass the values as one comma-separated string such as 'a,b,c', not as an array. For regex values, escape backslashes once in the JSON string: write \b for a word boundary, not \b. |

### SelectableOption

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

## Output

**Type**: `List[Dict]`

Returns the list of custom audiences with full details.

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


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