Duplicate ad set
duplicate_adsetCopies an ad set—and optionally its ads—for A/B testing, with an option to place the copy in another campaign. Previews changes first; confirm to execute and create it paused.
Instructions
Duplicates an ad set (and, with deep_copy, its ads) for A/B testing, optionally into a different campaign. The copy is always created PAUSED regardless of the source ad set's status. Always previews first — call again with confirm: true to execute.
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": {
"adset_id": "<adset_id>"
},
"name": "duplicate_adset"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | Must be true to actually execute this action. Omit or pass false to get a preview (current state, proposed change, computed deltas) without making any changes. | |
| adset_id | Yes | Ad set id to duplicate. | |
| client_id | No | Client identifier from accounts.config.json. Omit to use the default META_ACCESS_TOKEN. | |
| deep_copy | No | Also copy the ad set's ads, not just the ad set shell (default true). | |
| name_suffix | No | Appended to the source name for the copy (default " - Copy"). | |
| target_campaign_id | No | Move the copy into this campaign instead of the source ad set's campaign. |