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

> Activate, pause, or archive Pinterest Ads ad groups, one at a time or in bulk

Activate, pause, or archive Pinterest Ads ad groups, one at a time or in bulk.

|                       |                                        |
| --------------------- | -------------------------------------- |
| **App**               | Pinterest Ads                          |
| **Operation ID**      | `pinterest_ads_update_ad_group_status` |
| **Type**              | Action                                 |
| **Connection**        | `pinterest_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 Pinterest Ads account to update ad groups in.                                                                          |
| `update_type`     | string or SelectableOption                    | Yes      | -       | Choose whether to update a single ad group or multiple ad groups at once. Options: single or bulk.                            |
| `ad_group_id`     | string or SelectItem                          | No       | -       | Pinterest ad group ID to update. Required for single update.                                                                  |
| `status`          | string or SelectableOption                    | No       | -       | New ad group status. Options: ACTIVE, PAUSED, or ARCHIVED. Required for single update.                                        |
| `structured_data` | array (also accepts a comma-separated string) | No       | -       | Use only when update\_type is bulk. Required columns: ad\_group\_id and status (ACTIVE, PAUSED, or ARCHIVED). Up to 100 rows. |

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