Call it
curl https://api.peume.com/v1/call/duplicate-an-ad \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"adId": "your adId",
"statusOption": "PAUSED",
"syncAfter": true,
"reuseSourceCreative": false
}
}'const res = await fetch("https://api.peume.com/v1/call/duplicate-an-ad", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"adId": "your adId",
"statusOption": "PAUSED",
"syncAfter": true,
"reuseSourceCreative": false
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/duplicate-an-ad",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"adId": "your adId",
"statusOption": "PAUSED",
"syncAfter": True,
"reuseSourceCreative": False
}
},
)
print(res.json()["output"])Answer: {"id": "run_…", "status": "completed", "cost_usd": …, "output": {…}}. Long jobs answer 202 with a run id to read later. From an AI agent, connect the MCP server and ask for this by name: duplicate-an-ad.
Parameters
adIdRequiredstringad ID or platform ad ID
stagebooleanSend true to store this write as a staged change instead of applying it. The response is `202` with the change, and POST /v1/ads/changes/{changeId}/confirm applies it later. Cannot be combined with `validateOnly`.
adSetIdstringDestination platform ad set id (defaults to the source's ad set)
statusOptionstringACTIVE · PAUSED · INHERITED_FROM_SOURCE
Example: PAUSED
renameStrategystringMeta's native `rename_strategy` values. An ad has no copied children, so `DEEP_RENAME` and `ONLY_TOP_LEVEL_RENAME` both rename the copy with `renamePrefix` / `renameSuffix`, and `NO_RENAME` keeps the source name. With no rename option at all, Meta appends its own ` - Copy` suffix.
DEEP_RENAME · ONLY_TOP_LEVEL_RENAME · NO_RENAME
renamePrefixstringText prepended to the copy's name.
renameSuffixstringText appended to the copy's name.
syncAfterbooleanExample: true
reuseSourceCreativebooleanPoint the copy at the source ad's creative object instead of copying it. The copy keeps the same Facebook post and Instagram media, their existing likes, comments and shares, and the full creative setup (text variations included). This is what Ads Manager's "show existing reactions, comments and shares" does; Meta's native copy always publishes new posts. A creative belongs to one ad account, so `adSetId` must be in the source ad's account. 400 when the source ad has no creative yet.
Example: false
