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

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

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

|                       |                                |
| --------------------- | ------------------------------ |
| **App**               | LinkedIn Ads                   |
| **Operation ID**      | `linkedin_ads_rename_campaign` |
| **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 campaigns.                                                                  |
| `update_type`     | string or SelectableOption                    | Yes      | -       | Choose whether to rename a single campaign or multiple campaigns at once. Options: 'single' or 'bulk'.                    |
| `campaign_id`     | string or SelectItem                          | No       | -       | Select the campaign to rename. In LinkedIn's API this is a campaign group (adCampaignGroups). Required for single update. |
| `campaign_name`   | string                                        | No       | -       | The new name for the campaign. LinkedIn limits names to 100 characters. Required for single update.                       |
| `structured_data` | array (also accepts a comma-separated string) | No       | -       | Structured data with 'campaign\_id' and 'campaign\_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 campaign rename results.

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