Duplicate
meta_duplicateCopy a campaign, an adset (into its campaign or target_campaign_id) or an ad (same creative, into its ad set or target_adset_id); the copy starts PAUSED. Undo pauses the copy. Changes the ad account: tell the user exactly what will change and call only after their Yes. If the result lists rule reasons, nothing changed: show them, ask again, and only after a new Yes retry with acknowledge_rules: true.
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": {
"level": "<level>"
},
"name": "meta_duplicate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ad_id | No | Required for ad. A string, never a number | |
| level | Yes | ||
| adset_id | No | Required for adset. A string, never a number | |
| end_time | No | Not for ad. ISO 8601 or Unix seconds; "0" = no end (daily budgets) | |
| deep_copy | No | Also copy children. campaign: its ad sets and ads (Meta: fewer than 3 objects in all); adset: its ads (at most 1 ad) | |
| start_time | No | Not for ad. ISO 8601 or Unix seconds | |
| campaign_id | No | Required for campaign. A string, never a number | |
| name_prefix | No | ||
| name_suffix | No | Meta's default: " - Copy" | |
| target_adset_id | No | Only ad. A string, never a number | |
| acknowledge_rules | No | Only on a retry after the user's Yes to rule reasons; never on a first call. | |
| target_campaign_id | No | Only adset. A string, never a number |