Meta create adset
meta_create_adsetCreate a Meta ad set. targeting is a Meta targeting spec object. Changes data: runs only with confirm=true; without it, returns a preview and changes nothing. The change reaches outside Kampalo. client_id picks the brand (defaults to the active one); extra passes any other field the app accepts.
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>",
"campaign_id": "<campaign_id>"
},
"name": "meta_create_adset"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| extra | No | ||
| status | No | ||
| confirm | No | ||
| user_id | No | ||
| end_time | No | ||
| client_id | No | ||
| targeting | No | ||
| bid_amount | No | ||
| start_time | No | ||
| user_email | No | ||
| campaign_id | Yes | ||
| daily_budget | No | ||
| ad_account_id | Yes | ||
| billing_event | No | ||
| lifetime_budget | No | ||
| optimization_goal | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |