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

> Advanced: partially updates a Snapchat ad squad (bids, budgets, targeting, placement, schedule) from a raw field payload; only provided fields change and micro-currency fields are raw integers

Advanced: partially updates a Snapchat ad squad (bids, budgets, targeting, placement, schedule) from a raw field payload; only provided fields change and micro-currency fields are raw integers. Prefer the dedicated status, rename, and budget operations for simple changes.

|                       |                                |
| --------------------- | ------------------------------ |
| **App**               | Snapchat Ads                   |
| **Operation ID**      | `snapchat_ads_update_ad_squad` |
| **Type**              | Action                         |
| **Connection**        | `snapchat_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 Snapchat Ads account that owns the ad squad.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| `ad_squad_id`    | string or SelectItem | Yes      | -       | Snapchat ad squad ID to update. Do not repeat it inside update\_payload.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| `update_payload` | object or string     | Yes      | -       | Ad Squad fields to update as a JSON object; only the fields you include are changed (each key becomes a JSON-Patch add operation, and a null value removes an optional attribute). Common editable fields: name, status (ACTIVE/PAUSED), bid\_micro (raw micro-currency integer), bid\_strategy, daily\_budget\_micro, lifetime\_budget\_micro, start\_time, end\_time, targeting, placement\_v2, conversion\_window, pixel\_id, pacing\_type, brand\_safety\_config, cap\_and\_exclusion\_config, ad\_scheduling\_config, event\_sources, and campaign\_budget\_optimization\_properties. Prefer the dedicated operations for plain changes: snapchat\_ads\_update\_ad\_squad\_status, snapchat\_ads\_rename\_ad\_squad, snapchat\_ads\_update\_ad\_squad\_budget. Example: \{"bid\_micro": 3000000, "targeting": \{"geos": \[\{"country\_code": "us"}]}} |
| `dry_run`        | boolean              | No       | `False` | When true, do not call Snapchat. Return the resolved JSON-Patch operations for review.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |

### 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 the updated fields and patch operations applied.

**Fields**: `ad_squad_id`, `updated_fields`, `operations`, `dry_run`
