Skip to main content
Version: v3

Duplicate ad

POST 

/ad-publishing/facebook/ads/:adId/duplicate

Duplicate an existing Facebook ad

Request

Version stringrequired

API Version

Available optionsv3
adId stringrequired

Ad identifier

application/json

Bodyrequired

    locationIdstringrequired

    Location identifier

application/json

The duplicated ad, as a new draft

Schema
    idstringrequired

    Ad identifier

    namestringrequired

    Ad name

    campaignIdstringrequired

    Parent campaign id

    adsetIdstringrequired

    Parent ad set id

    fbAdIdstring

    Facebook ad 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.

    mediaTypestringrequired

    Creative format

    ctastring

    Call-to-action button

    multiAdvertiserAdsbooleanrequired

    Whether multi-advertiser ads are enabled

    primaryTextsobject[]required

    Primary text variants. Used by SINGLE image and video ads.

    headlinesobject[]required

    Headline variants

    descriptionsobject[]required

    Description variants

    primaryTextstring

    Single primary text. Carried alongside primaryTexts, mirroring its first entry.

    headlinestring

    Single headline. Used by carousel ads; mirrors the first headlines entry otherwise.

    descriptionstring

    Single description

    mediaobject[]required

    Creative media

    destinationFormIdstring

    Instant form the ad routes to, when the conversion location is on-ad

    destinationLinkstringnullable

    Click destination. null when the ad routes to an instant form instead.

    unpublishedChangesboolean

    Whether the ad has edits not yet published

    createdAtstringrequired

    Created at

    updatedAtstringrequired

    Updated at