Duplicate a campaign
Creates one copy of a campaign, without its ad sets or ads. Copy the ad sets into it with Duplicate an ad set and targetCampaignId, then fill them with Create a launch. For N copies, call this N times one after another with distinct names. Get campaignId from campaign.id in List adsets. Omit budget to keep the source campaign's budget. Budgets are in minor units (cents). bidStrategy needs a campaign budget on the copy. Supply an Idempotency-Key header so a retry does not create a second campaign.
Authentication
authentication Create an API key from the Adnova dashboard (Account integrations). Pass the key value in the api-key request header on every call.
In: header
Path Parameters
1 <= lengthThe campaign to duplicate. Must belong to this ad account.
1 <= lengthHeader Parameters
Workspace the request operates in. Get it from List workspaces.
1 <= lengthOrganization context (required on every endpoint). For lookup endpoints the org is derived from the ad account in the URL, so any org id you have access to is accepted.
1 <= lengthOptional. Any string ≤64 chars. Retries with the same key return the original response for 24h.
length <= 64Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://api.adnova.ai/ad-launcher/v1/meta/ad-accounts/string/campaigns/string/duplicate" \ -H "x-workspace-id: string" \ -H "x-org-id: string" \ -H "Content-Type: application/json" \ -d '{ "name": "Spring Sale copy 1", "launchAsActive": false }'{
"campaignId": "120246999999990500"
}{
"error": {
"code": "string",
"message": "string"
},
"message": "string"
}{
"error": {
"code": "string",
"message": "string"
},
"message": "string"
}{
"error": {
"code": "string",
"message": "string"
},
"message": "string"
}{
"error": {
"code": "string",
"message": "string"
},
"message": "string"
}{
"error": {
"code": "string",
"message": "string"
},
"message": "string"
}{
"error": {
"code": "string",
"message": "string"
},
"message": "string"
}{
"error": {
"code": "string",
"message": "string"
},
"message": "string"
}