Skip to main content
Version: v3

Duplicate ad set

POST 

/ad-publishing/facebook/adsets/:adSetId/duplicate

Duplicate an existing Facebook ad set

Request

Version stringrequired

API Version

Available optionsv3
adSetId stringrequired

Ad set identifier

application/json

Bodyrequired

    locationIdstringrequired

    Location identifier

application/json

The duplicated ad set as a new draft, with copies of its ads

Schema
    idstringrequired

    Ad set identifier

    namestringrequired

    Ad set name

    campaignIdstringrequired

    Parent campaign id

    fbAdSetIdstring

    Facebook ad set id, set once published

    publishingStatusstringrequired

    Publishing status. On a published entity this is not the state you asked for but the effective_status Meta reports, mapped back — a pause or resume re-reads it live, so an ad awaiting review comes back IN_REVIEW rather than PAUSED or PUBLISHED. Any effective status this service does not recognise also maps to IN_REVIEW.

    Available optionsDRAFTSCHEDULEDPUBLISHINGPUBLISHEDPAUSEDIN_REVIEWWITH_ISSUESREJECTEDARCHIVEDFAILED
    fbErrorstringnullable

    Publish error from Facebook. null on reads when there is none.

    pageIdstringrequired

    Page the ads run under

    instagramActorIdstringnullable

    Instagram account the ads run under. null when not linked.

    messagingPlatformsstring[]required

    Messaging destinations for click-to-message ads. Empty for other conversion locations.

    conversionLocationstring

    Where the conversion happens

    budgetobjectrequired

    Budget configuration

    audienceobjectrequired

    Targeting

    unpublishedChangesboolean

    Whether the ad set has edits not yet published

    createdAtstringrequired

    Created at

    updatedAtstringrequired

    Updated at

    adsobject[]required

    Ads in this ad set