Create campaign
meta_create_campaignCreate a campaign; it starts PAUSED. Budgets are whole minor currency units. Without a campaign budget, each ad set keeps its own budget (AdChat sends is_adset_budget_sharing_enabled false). Changes the ad account: tell the user exactly what will change and call only after their Yes. If the result lists rule reasons, nothing changed: show them, ask again, and only after a new Yes retry with acknowledge_rules: true.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>",
"objective": "<objective>",
"account_id": "<account_id>"
},
"name": "meta_create_campaign"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| status | No | ||
| bid_cap | No | ||
| objective | Yes | ||
| spend_cap | No | ||
| account_id | Yes | e.g. act_1234567890 | |
| buying_type | No | ||
| bid_strategy | No | ||
| daily_budget | No | ||
| lifetime_budget | No | ||
| acknowledge_rules | No | Only on a retry after the user's Yes to rule reasons; never on a first call. | |
| special_ad_categories | No | ||
| ab_test_control_setups | No | ||
| use_adset_level_budgets | No | ||
| campaign_budget_optimization | No |