Skip to content

update_campaign

Changes the fields named of one campaign, as get_campaign says them, and sends Meta only what differs. Typed inside bash, where help update_campaign prints the same.

Usage: update_campaign ID [options]
Changes the fields named of one campaign, as get_campaign says them,
and sends Meta only what differs. A budget above what the owner lets
an agent spend a day is refused; raise one only when the owner asked
for that in so many words. Its status is set_ads_status's.
Options:
--id TEXT (required)
The campaign's id, from list_campaigns.
--name TEXT
The campaign's name, which only the owner sees.
--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.
--json OBJECT
Every argument at once, as one JSON object; --json - reads it from stdin.