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

# Rename Adset

> Renames Meta Ads ad sets to update their display names

Renames Meta Ads ad sets to update their display names

| | |
| - | - |
| **App** | Meta Ads |
| **Operation ID** | `meta_ads_rename_adset` |
| **Type** | Action |
| **Connection** | `meta_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 Meta Ads account to rename ad sets in, ask the user for it if not provided |
| `update_type` | string or SelectableOption | Yes | - | Choose whether to rename a single ad set or multiple ad sets at once. Options: 'single' (Single Update), 'bulk' (Bulk Updates) |
| `adset_id` | string or SelectItem | No | - | Select the ad set ID to rename (required for single update) |
| `adset_name` | string | No | - | The new name for the ad set (required for single update) |
| `structured_data` | array (also accepts a comma-separated string) | No | - | Structured data with 'adset\_id' and 'adset\_name' fields for each row (required for bulk update) |

### 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**: `str`

Returns success message confirming ad set rename.


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