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

> Activate, pause, or delete LinkedIn Ads campaigns in Campaign Manager

Activate, pause, or delete LinkedIn Ads campaigns in Campaign Manager. In LinkedIn's API these are campaign groups (adCampaignGroups); LinkedIn's newer UI naming calls them campaigns.

|                       |                                       |
| --------------------- | ------------------------------------- |
| **App**               | LinkedIn Ads                          |
| **Operation ID**      | `linkedin_ads_update_campaign_status` |
| **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 to update campaigns in.                                                |
| `update_type`     | string or SelectableOption                    | Yes      | -       | Choose whether to update a single campaign or multiple campaigns at once. Options: 'single' or 'bulk'. |
| `campaign_id`     | string or SelectItem                          | No       | -       | Select the campaign ID to update. Required for single update.                                          |
| `campaign_status` | string or SelectableOption                    | No       | -       | Select the new campaign status. Options: ACTIVE, PAUSED, or DELETED. Required for single update.       |
| `structured_data` | array (also accepts a comma-separated string) | No       | -       | Structured data with 'campaign\_id' and 'status' 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 status update results.

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