AdnovaDocs
Ad Launcher

Duplicate an ad set

Duplicates an ad set (its targeting, optimization, schedule, and budget) into the same campaign and returns the new ad set's id. Pass targetCampaignId to copy it into another campaign in the same ad account instead. Only the ad set is copied — the ads inside it are not. budgetAmount is in minor units (cents). startDate/endDate are forwarded to Meta unchanged and scheduled in the ad account's timezone (timezone_name from List ad accounts) — send an ISO 8601 timestamp with a UTC offset or Z so the moment is unambiguous. Supply an Idempotency-Key header so a retry does not create a second copy. Omit budgetAmount and budgetType to keep the source ad set's budget.

POST
/meta/ad-accounts/{adAccountId}/adsets/{adsetId}/duplicate

Authentication

authentication
api-key<token>

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

adAccountId*string
Length1 <= length
adsetId*string

The ad set to duplicate. Must belong to this ad account.

Length1 <= length

Header Parameters

x-workspace-id*string

Workspace the request operates in. Get it from List workspaces.

Length1 <= length
x-org-id*string

Organization 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.

Length1 <= length
Idempotency-Key?string

Optional. Any string ≤64 chars. Retries with the same key return the original response for 24h.

Lengthlength <= 64

Request 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

curl -X POST "https://api.adnova.ai/ad-launcher/v1/meta/ad-accounts/string/adsets/string/duplicate" \  -H "x-workspace-id: string" \  -H "x-org-id: string" \  -H "Content-Type: application/json" \  -d '{    "name": "Spring Sale — copy",    "launchAsActive": false  }'
{
  "adsetId": "120246999999990182"
}
{
  "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"
}