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

> Fallback Meta Ads ad set patch tool for advanced or unsupported cases

Fallback Meta Ads ad set patch tool for advanced or unsupported cases. Use this only when no dedicated Meta Ads ad set operation supports the requested change. If a focused ad set operation exists, such as meta\_ads\_update\_adset\_placements, meta\_ads\_update\_adset\_locations, or meta\_ads\_update\_adset\_audiences, always use that dedicated operation instead. This tool patches only the fields provided in update\_payload and does not replace the full ad set. Supports dry-run review before applying changes.

|                       |                         |
| --------------------- | ----------------------- |
| **App**               | Meta Ads                |
| **Operation ID**      | `meta_ads_update_adset` |
| **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, ask the user for it if not provided                                                                                                                                                                                                                                                                                                                                                               |
| `adset_id`       | string or SelectItem | Yes      | -       | The Meta Ads ad set ID to update. Do not include this inside update\_payload.                                                                                                                                                                                                                                                                                                                                              |
| `update_payload` | object or string     | Yes      | -       | Patch payload for Meta's AdSet update API as an object or JSON string. Only the fields provided here are sent to Meta; this does not replace the full ad set. Use focused operations first when they exist, for example meta\_ads\_update\_adset\_status or meta\_ads\_update\_adset\_budget. Use valid Meta ad set fields such as bid\_amount or targeting. Do not include identity fields like account\_id or adset\_id. |
| `dry_run`        | boolean              | No       | `False` | When true, return the resolved update payload without calling Meta Ads.                                                                                                                                                                                                                                                                                                                                                    |

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

## Output

**Type**: `Dict`

Returns adset\_id, adset\_name, updated\_fields, final payload, dry\_run status, and any returned Meta response data.

**Fields**: dynamic (depend on the inputs)
