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

> Rename LinkedIn Ads ad sets, one at a time or in bulk

Rename LinkedIn Ads ad sets, one at a time or in bulk. In LinkedIn's API these are campaigns (adCampaigns); LinkedIn's newer UI naming calls them ad sets.

| | |
| - | - |
| **App** | LinkedIn Ads |
| **Operation ID** | `linkedin_ads_rename_adset` |
| **Type** | Action |
| **Connection** | `linkedin_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 LinkedIn Ads account that owns the ad sets. |
| `update_type` | string or SelectableOption | Yes | - | Choose whether to rename a single ad set or multiple ad sets at once. Options: 'single' or 'bulk'. |
| `adset_id` | string or SelectItem | No | - | Select the ad set to rename. In LinkedIn's API this is a campaign (adCampaigns). Required for single update. |
| `adset_name` | string | No | - | The new name for the ad set. LinkedIn limits names to 100 characters. 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**: `Dict`

Returns LinkedIn ad set rename results.

**Fields**: `message`, `updated_count`, `results`


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