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

> Activate, pause, or delete LinkedIn Ads creatives

Activate, pause, or delete LinkedIn Ads creatives. This maps to LinkedIn's adAccounts/\{accountId}/creatives API.

|                       |                                 |
| --------------------- | ------------------------------- |
| **App**               | LinkedIn Ads                    |
| **Operation ID**      | `linkedin_ads_update_ad_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 ads in.                                                                      |
| `update_type`     | string or SelectableOption                    | Yes      | -       | Choose whether to update a single ad or multiple ads at once. Options: 'single' or 'bulk'.                             |
| `ad_id`           | string or SelectItem                          | No       | -       | LinkedIn creative/ad ID to update. Accepts a numeric ID or urn:li:sponsoredCreative:\{id}. Required for single update. |
| `ad_status`       | string or SelectableOption                    | No       | -       | Select the new ad status. Options: ACTIVE, PAUSED, or DELETED. Required for single update.                             |
| `structured_data` | array (also accepts a comma-separated string) | No       | -       | Structured data with 'ad\_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 ad status update results.

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