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

> Renames an X (Twitter) Ads custom audience or updates its description; X allows no other audience edits

Renames an X (Twitter) Ads custom audience or updates its description; X allows no other audience edits.

|                       |                         |
| --------------------- | ----------------------- |
| **App**               | X Ads                   |
| **Operation ID**      | `x_ads_update_audience` |
| **Type**              | Action                  |
| **Connection**        | `x_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 X Ads account that owns the audience.      |
| `audience_id` | string or SelectItem | Yes      | -       | X Ads custom audience ID to update.                   |
| `name`        | string               | No       | -       | New audience name; must be unique within the account. |
| `description` | string               | No       | -       | New audience description.                             |

### 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 updated audience with full details.

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