ads_campaign_create
Create an empty campaign to attach ads to later (attach_to.campaign_id in ads_ad_create / ads_post_boost; the campaign's platform_id is the network id to use there). Paused unless status is active. Meta: name, optional goal, optional budget (makes it a campaign-budget campaign), bid_strategy only with a budget. Google: creates a Search campaign and requires budget; also takes bidding, schedule, targeting, network_settings. Returns the campaign.
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": {
"ad_account_id": "<ad_account_id>",
"name": "<name>"
},
"name": "ads_campaign_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| goal | No | Meta. Default engagement. | |
| name | Yes | Campaign name | |
| budget | No | Budget in the ad account currency, whole units (10 = 10.00). Meta minimum is the ad account's minimum_daily_budget. | |
| status | No | Default paused | |
| bidding | No | Google bidding: { strategy, target_cpa, max_cpc }. maximize_clicks (default, optional max_cpc ceiling), manual_cpc (needs max_cpc), maximize_conversions, target_cpa (needs target_cpa). | |
| schedule | No | When the ad runs. Without end it runs until paused. On Meta end must be at least 30 hours after the start. | |
| targeting | No | Audience. Meta defaults to US, ages 18-65. Google Search accepts only locations, excluded_locations and location_targeting_type, with locations as arrays of numeric ids. | |
| profile_id | No | Ads profile hashid (the profile_id of an ad account in ads_accounts_list). Optional when exactly one ads profile is connected; required when several are. | |
| bid_strategy | No | Meta, only with a budget | |
| ad_account_id | Yes | Ad account id: the network's own id, from ads_accounts_list (id field) | |
| campaign_type | No | Google. Only search can be created. | |
| validate_only | No | Check the request without creating anything. Returns { valid: true, validated: [...] }. On Meta only the parameters and the campaign are dry-run; on Google the whole request is. | |
| idempotency_key | No | Unique key for this create, sent as the Idempotency-Key header. Reuse the same key when retrying so the object is not created twice. | |
| network_settings | No | Google: { search_partners, display_network }, both default false | |
| profile_group_id | No | Profile group hashid, to scope the call to one profile group. Usually not needed. | |
| special_ad_categories | No | Meta special ad categories | |
| eu_political_advertising | No | Google. Default false. | |
| special_ad_category_countries | No | Meta |