Create ad group
x_ads_create_ad_groupCreate an ad group under a campaign with daily or total budget in local micro-units. Groups default to PAUSED; set confirm_spend to ACTIVE, omit bid for automatic bidding.
Instructions
Create a line item under a campaign. PAUSED by default. All groups in a campaign must share objective and product_type. Budget is set HERE (daily_budget_amount_local_micro / total_budget_amount_local_micro). Bid omitted = automatic. Amounts are local micro-units (1 unit = 1_000_000). If creating multiple groups from one stated budget, ASK split vs each. confirm_spend required for ACTIVE.
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": {
"account_id": "<account_id>",
"campaign_id": "<campaign_id>",
"objective": "<objective>"
},
"name": "x_ads_create_ad_group"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| objective | Yes | ENGAGEMENTS, WEBSITE_CLICKS, REACH, VIDEO_VIEWS, FOLLOWERS, APP_INSTALLS, … | |
| account_id | Yes | Ads API account id from x_ads_list_accounts, e.g. 18ce55v2od2 | |
| placements | No | ||
| start_time | No | ||
| campaign_id | Yes | ||
| product_type | No | ||
| confirm_spend | No | ||
| entity_status | No | ||
| bid_amount_local_micro | No | ||
| daily_budget_amount_local_micro | No | ||
| total_budget_amount_local_micro | No |