Skip to content
Denne side findes på dansk. Læs på dansk
HeyMySocial

save_paid_draft

Save a paid campaign draft

writes found with search_tools

Prepares a paid campaign for a person to set up by hand in the ad platform: objective, budget with its currency, dates, audience notes, the ad text, the destination, tracking (a tracking link or UTM values) and placements.

Pass draft_id to change an existing draft: every field you leave out keeps its value. The reply carries the checklist (what is still missing before it can be exported) and the brief as text. It is a draft only: nothing is created, published or spent anywhere, and the person exports the brief in the app. Write the ad text from the workspace's own facts and offers (get_brand); do not promise results. Use a budget the person named: never propose spend on your own authority, and raising a running budget is a separate request (save_budget_request). Without tracking, leads cannot be matched to the campaign.

Arguments

NameTypeNeededWhat it is
draft_id string no An existing draft to change. Leave out to create a new one.
name string no The campaign name. Required for a new draft.
campaign_id string no One of the workspace's own campaigns (list_campaigns) this belongs to.
ad_account_id string no The ad account (list_ad_accounts) it will run in. Its maximum budget is then checked.
tracking_link_id string no A tracked link (list_tracking_links) the ads lead to.
objective string no What the campaign is for.One of: leads, traffic, awareness, engagement, sales
budget_type string no Default daily.One of: daily, lifetime
budget_minor integer no The budget in minor units of the currency: 45000 for 450.00.
currency string no ISO 4217 currency of the budget. An ad account spends in one currency.
starts_on string no First day, YYYY-MM-DD.
ends_on string no Last day, YYYY-MM-DD. A lifetime budget needs one.
audience_notes string no Who should see the ads: place, age, interests, exclusions.
creative_title string no The headline.
creative_body string no The primary text.
creative_cta string no The call to action button, for example "Get a quote".
creative_asset_note string no Which picture or video to use.
destination_url string no The page the ad leads to, starting with https://.
placements array of string no Where the ads run.One of: facebook_feed, instagram_feed, stories, reels, audience_network, messenger, automatic
tracking object no UTM values, when no tracking link is used. utm_campaign should be the campaign's reference code.
tracking.utm_source string no
tracking.utm_medium string no
tracking.utm_campaign string no
tracking.utm_content string no
request_key string no For a new draft: any unique string. The same key returns the first result instead of a second draft.

Like every workspace tool it also takes workspace: a workspace id or slug. Leave it out to use the workspace the person last worked in.

How it behaves

  • It changes something in the workspace, within what the signed-in person's role allows.
  • It is not in the first list an assistant sees; the assistant finds it with search_tools and runs it with execute_tools.

How tools behave: confirmation, review links, errors and limits

get_experiment · get_funnel_matrix · get_paid_draft · import_paid_results · list_ad_accounts · list_budget_requests · list_experiments · list_paid_drafts · list_paid_performance · manage_experiment · map_paid_campaign · save_budget_request · save_experiment_draft