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

> Updates the status of Meta Ads campaigns (active, paused, or deleted) for campaign management

Updates the status of Meta Ads campaigns (active, paused, or deleted) for campaign management

|                       |                                   |
| --------------------- | --------------------------------- |
| **App**               | Meta Ads                          |
| **Operation ID**      | `meta_ads_update_campaign_status` |
| **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 update campaigns in, ask the user for it if not provided                                                                                       |
| `update_type`       | string or SelectableOption                              | Yes      | -       | Choose whether to update a single campaign or multiple campaigns at once. Options: 'single' (Single Update), 'bulk' (Bulk Updates)                                        |
| `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 status for the campaign. Options: 'ACTIVE', 'PAUSED', 'DELETED' (required for single update)                                                               |
| `bulk_input_type`   | string or SelectableOption                              | No       | -       | Choose how to provide your campaign data for bulk updates. Options: 'manual' (Manual Input), 'structured' (Structured Data) (required for bulk update)                    |
| `campaign_ids`      | array of string (also accepts a comma-separated string) | No       | -       | List of campaign IDs to update (required for manual bulk update)                                                                                                          |
| `campaign_statuses` | array of string (also accepts a comma-separated string) | No       | -       | List of statuses corresponding to each campaign ID (required for manual bulk update)                                                                                      |
| `structured_data`   | array (also accepts a comma-separated string)           | No       | -       | Structured data with 'campaign\_id' and 'status' fields for each row (required for structured bulk update). The 'status' field also accepts the alias 'campaign\_status'. |

### 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 campaign status update.
