Create a Snapchat ad squad
snapchat_create_adsquadCreate an ad squad (PAUSED) inside a campaign: optimisation goal (e.g. PIXEL_ADD_TO_CART, PIXEL_PURCHASE, SWIPES), daily budget in account currency, bid strategy, targeting and placements. Pixel goals use the account's Pixel automatically unless pixel_id is given. Targeting can be copied from an existing ad squad with copy_targeting_from, or given as a Snap targeting object (geos[{country_code}], demographics[{min_age,max_age,gender}], devices[{os_type}], segments[{segment_id:[...]}]). Offer dry_run=true first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| os | No | Devices to target (overrides copied targeting). Empty array = all devices. | |
| bid | No | Max bid / target cost in account currency (not for AUTO_BID). | |
| name | Yes | ||
| folder | No | Client folder name. | |
| account | No | Snapchat ad account name or ID. Optional when only one is enabled. | |
| dry_run | No | ||
| campaign | Yes | Campaign name or ID. | |
| end_time | No | ||
| language | No | Language of the card: the language the user is writing in. | |
| pixel_id | No | ||
| targeting | No | Snap targeting object. Ignored when copy_targeting_from is set. | |
| start_time | No | ||
| bid_strategy | No | Default AUTO_BID. | |
| daily_budget | Yes | ||
| optimization_goal | Yes | ||
| copy_targeting_from | No | Ad squad name or ID whose targeting and placements to copy. |