snap_create_adsquad
Create a paused Snapchat ad squad with daily budget, bid, goal, and targeting choices; preview the setup first, then confirm with an approval token to apply.
Instructions
Create a new ad squad from a few choices (a web squad with a max bid, optimized for purchases by default; goal can be another pixel goal, traffic, awareness or video views). Always PAUSED. daily_budget and bid must be within the configured limits (SNAP_MIN_DAILY_BUDGET, SNAP_MAX_DAILY_BUDGET, SNAP_MAX_BID). Previews unless confirm=true. Pixel defaults to SNAP_PIXEL_ID. Two steps: confirm=false returns a preview and an approval_token; to apply, repeat the same arguments with confirm=true and that approval_token.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"campaign_id": "<campaign_id>",
"name": "<name>",
"daily_budget": "<daily_budget>"
},
"name": "snap_create_adsquad"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bid | No | Max bid in account currency (required unless bid_strategy is AUTO_BID) | |
| goal | No | What to optimize for. PIXEL_* goals (purchase, add to cart, page view, sign-up) need a pixel; SWIPES (traffic), IMPRESSIONS (awareness) and VIDEO_VIEWS goals do not. Web (link) ads only. | PIXEL_PURCHASE |
| name | Yes | ||
| gender | No | ||
| confirm | No | false = preview only (nothing sent). true = apply; needs approval_token from the preview. | |
| max_age | No | ||
| min_age | No | ||
| os_type | No | ||
| dpa_mode | No | Catalog ads: retargeting = people who viewed or added to cart but did not buy; prospecting = people who have not interacted with these products. Needs product_set_id. | |
| pixel_id | No | ||
| countries | No | 2-letter codes, e.g. ["us"]; defaults to SNAP_DEFAULT_COUNTRY | |
| interests | No | Interest ids like SLC_11 (see snap_targeting_options) | |
| campaign_id | Yes | ||
| bid_strategy | No | LOWEST_COST_WITH_MAX_BID | |
| daily_budget | Yes | In account currency, e.g. 25 | |
| audience_days | No | Catalog ads: how many days of product activity count | |
| approval_token | No | The approval_token returned by the preview of this exact request. Required with confirm=true. | |
| product_set_id | No | Catalog ads: the product set this ad squad shows. The campaign must be a catalog campaign (snap_create_campaign with catalog_id) whose catalog holds this set. | |
| conversion_window | No | SWIPE_7DAY | |
| exclude_segment_ids | No | e.g. past-buyer audiences | |
| include_segment_ids | No |