snap_exclude_segments
Add audience segments as EXCLUDE targeting on a Snapchat ad squad while keeping existing targeting; preview changes first, then apply with an approval token and confirm=true.
Instructions
Add audience segments (e.g. past buyers) as EXCLUDE targeting on an ad squad, keeping existing targeting. Previews unless confirm=true. 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": {
"adsquad_id": "<adsquad_id>",
"segment_ids": "<segment_ids>"
},
"name": "snap_exclude_segments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | false = preview only (nothing sent). true = apply; needs approval_token from the preview. | |
| adsquad_id | Yes | ||
| segment_ids | Yes | ||
| approval_token | No | The approval_token returned by the preview of this exact request. Required with confirm=true. |