PeumeAPI

Ads

Create a standalone creative

Creates a reusable Meta creative from an image or carousel without creating an ad, ready to attach to ads later.

$0.002 per callRuns on an account you connect

Call it

curl https://api.peume.com/v1/call/create-a-standalone-creative \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "accountId": "your accountId",
    "adAccountId": "your adAccountId",
    "headline": "your headline",
    "body": "your body",
    "callToAction": "LEARN_MORE",
    "linkUrl": "your linkUrl"
  }
}'

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: create-a-standalone-creative.

Parameters

stageboolean

Send 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`.

validateOnlyboolean

Sends the creative to Meta with `execution_options: ["validate_only"]`. Meta checks it and creates nothing. - No image is uploaded: `imageUrl` and the card images are sent by URL. - Answers `200` with `{ validateOnly: true, results, message }`, the shape of a validateOnly POST /v1/ads/create. - `false` is ignored. Cannot be combined with `stage`. Counts toward the Meta ad account write guard.

accountIdRequiredstring

SocialAccount id (posting or ads variant) used to resolve the Meta token and Page.

adAccountIdRequiredstring

Platform ad account id (Meta act_<n>, Google customer id, LinkedIn account id,...).

headlineRequiredstring
bodyRequiredstring

Primary text

descriptionstring

Link description below the headline; omitted = Meta scrapes the destination's OG description.

callToActionstring

CTA type (same whitelist as POST /v1/ads/create).

Example: LEARN_MORE

linkUrlRequiredstring
callToActionLinkobject

callToActionLink

imageUrlstring

Publicly reachable image; uploaded to the account's library server-side.

imageHashstring

Existing library image hash (POST /v1/ads/images or GET /v1/ads/images).

carouselCardsarray
instagramAccountIdstring

Meta only. The Instagram account the creative runs as, mapped to `instagram_user_id`: an id from `GET /v1/ads/instagram-accounts`, including a Page-backed one. - Given, it is never swapped. One the ad account cannot use returns 400 `insufficient_permissions` on `instagramAccountId`. - Omitted, it uses the account linked to the Page. When the ad account has no access to that one, it retries once with an authorized Instagram account, or returns 422 on `instagramAccountId` when there is none.

optimizeCardOrderboolean

Only with `carouselCards` (a 400 without them). Sets `link_data.multi_share_optimized`: - `false`: keeps the cards in the order given (up to 10). - `true`: lets Meta reorder them for performance. - Omitted: nothing is sent and Meta's default (`true`) applies.

urlTagsstring

Appended to every outbound URL (e.g. utm_source=fb).

promotionobject

promotion

creativeFeaturesobject

creativeFeatures

multiAdvertiserstring

Meta only. Multi-advertiser ads: whether Meta may show this ad alongside other advertisers' in one unit. Meta auto-enrols since Aug 2024, so send OPT_OUT to leave. It is a top-level creative field, NOT a `creativeFeatures` key, and Meta rejects it there.

OPT_IN · OPT_OUT

aiDisclosurestring

Meta only. Meta's "Ad includes media created or edited with AI" disclosure (the Ads Manager checkbox), stored on the creative as `generative_asset_spec.transparency_metadata.self_disclosure`. - OPT_IN: checks it. - OPT_OUT: explicitly declares no AI media. - Omitted: leaves Meta's default. Applied to each new creative (standalone, creatives[] and attach shapes) and preserved when a creative is rebuilt. This sets the disclosure on the ad; whether and when the viewer-facing label renders is Meta's decision.

OPT_IN · OPT_OUT

Start free · $1 of calls included

Every API your product needs. One key.

7,267 endpoints, one bill, and you only pay for calls that work.