Skip to content

create_campaign

Makes a campaign in the site’s Meta ad account, paused: a status other than PAUSED is refused, and nothing spends until set_ads_status switches it on. Typed inside bash, where help create_campaign prints the same.

Usage: create_campaign NAME OBJECTIVE [options]
Makes a campaign in the site's Meta ad account, paused: a `status`
other than PAUSED is refused, and nothing spends until
set_ads_status switches it on. A budget here is shared by its ad
sets, and is refused above what the owner lets an agent spend a day.
Ask the owner its objective, budget and dates first; read the
`meta-ads` guide.
Options:
--name TEXT (required)
The campaign's name, which only the owner sees.
--objective OUTCOME_AWARENESS|OUTCOME_TRAFFIC|OUTCOME_ENGAGEMENT|OUTCOME_LEADS|OUTCOME_SALES (required)
What it is for (topic ads). Fixed once it is made.
--special_ad_categories NONE|EMPLOYMENT|HOUSING|CREDIT|ISSUES_ELECTIONS_POLITICS|ONLINE_GAMBLING_AND_GAMING|FINANCIAL_PRODUCTS_SERVICES ... (give the flag again for each)
The restricted categories it falls in: ["NONE"] for most businesses.
--budget_kind none|daily|lifetime
none leaves the budget to each ad set; daily or lifetime sets one here, which Meta shares across them.
--budget TEXT
In the ad account's currency, as a person types it: "20" or "20.50".
--bid_strategy LOWEST_COST_WITHOUT_CAP|LOWEST_COST_WITH_BID_CAP|COST_CAP|LOWEST_COST_WITH_MIN_ROAS
How Meta bids (topic ads).
--start_time TEXT
In the ad account's time zone: 2026-11-10T09:00.
--stop_time TEXT
When it stops, the same way.
--spend_cap TEXT
The most it spends in all, in the account's currency.
--status TEXT
Leave it out. Everything is made PAUSED and any other status is refused; set_ads_status switches it on.
--json OBJECT
Every argument at once, as one JSON object; --json - reads it from stdin.