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

> Updates the status of Meta Ads ad sets (active, paused, or deleted) for ad set management

Updates the status of Meta Ads ad sets (active, paused, or deleted) for ad set management

| | |
| - | - |
| **App** | Meta Ads |
| **Operation ID** | `meta_ads_update_adset_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 ad sets in, ask the user for it if not provided |
| `update_type` | string or SelectableOption | Yes | - | Choose whether to update a single ad set or multiple ad sets at once. Options: 'single' (Single Update), 'bulk' (Bulk Updates) |
| `adset_id` | string or SelectItem | No | - | Select the ad set ID to update (required for single update) |
| `adset_status` | string or SelectableOption | No | - | Select the new status for the ad set. Options: 'ACTIVE', 'PAUSED', 'ARCHIVED' (stops serving and hides it from the default views; cannot be reverted through the API, only the name stays editable, so use PAUSED if it may be needed again), 'DELETED' (permanent). Required for single update. |
| `structured_data` | array (also accepts a comma-separated string) | No | - | Structured data with 'adset\_id' and 'status' fields for each row (required for bulk update). The 'status' field also accepts the alias 'adset\_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 ad set status update.


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