Meta: Create Ad Set
meta_create_adsetAdd a PAUSED ad set to a Meta campaign that already exists in your ad account, with its countries, age range, daily budget and bidding. The optimization goal follows the campaign objective; a sales campaign's ad set optimizes for a pixel event, locked at creation. If the campaign has its own budget (CBO) leave daily_budget and bidding out. The budget is checked against your daily cap. An engagement ad set promotes a Facebook Page; destination WHATSAPP makes it a click-to-WhatsApp ad set. Add ads with meta_create_ad.
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": {
"campaign_id": "<campaign_id>",
"name": "<name>"
},
"name": "meta_create_adset"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Ad set name. | |
| age_max | No | Maximum audience age. | |
| age_min | No | Minimum audience age. | |
| page_id | No | Facebook Page the ad set promotes, engagement and WhatsApp ad sets only. Defaults to the ad account's Page when there is one. See meta_list_pages. | |
| pixel_id | No | Meta Pixel id, sales campaigns only. Defaults to the account's pixel when it has one. | |
| countries | No | ISO country codes. Default ["US"]. | |
| dsa_payor | No | EU only: the person or organisation paying for the ads. Defaults to dsa_beneficiary. | |
| bid_amount | No | Cost or bid cap per result, for COST_CAP and LOWEST_COST_WITH_BID_CAP only. In the account's own currency (the currency field of gads_list_campaigns or meta_list_campaigns), not in dollars and not in minor units. | |
| campaign_id | Yes | Campaign the ad set goes into. | |
| destination | No | Where the ad sends people. WEBSITE (default) opens link_url. WHATSAPP (OUTCOME_ENGAGEMENT only) opens a WhatsApp chat with the Page's linked number, optimizes for conversations and uses the WHATSAPP_MESSAGE button; the Page must have WhatsApp connected in Meta Business Suite. | |
| roas_target | No | Minimum ROAS for LOWEST_COST_WITH_MIN_ROAS, as a RATIO: pass 2.5 to mean 250% (2.50 of purchase value per 1 spent). Between 0.01 and 1000. | |
| bid_strategy | No | Ad set bid strategy. LOWEST_COST_WITHOUT_CAP: Meta's default, the most results for the budget. COST_CAP: keeps the average cost per result near bid_amount. LOWEST_COST_WITH_BID_CAP: no auction bid above bid_amount. LOWEST_COST_WITH_MIN_ROAS: a minimum return on ad spend (roas_target); only on ad sets optimizing for PURCHASE, which are switched to optimize for purchase value. roas_target without bid_strategy means LOWEST_COST_WITH_MIN_ROAS. | |
| daily_budget | No | Daily budget. Required unless the campaign has its own (CBO) budget, where it must be left out. In the account's own currency (the currency field of gads_list_campaigns or meta_list_campaigns), not in dollars and not in minor units. | |
| ad_account_id | No | Meta ad account to change: act_ id or exact account name. Required when you have several ad accounts — the stored default is never used for a change then. | |
| dsa_beneficiary | No | EU only: the person or organisation the ads promote, shown to EU viewers under the Digital Services Act. Meta requires it when the ad set reaches an EU country and the ad account has no default advertiser. Ask the user for the exact name; never guess it. | |
| conversion_event | No | Pixel event to optimize for, sales campaigns only. Default PURCHASE. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | Always PAUSED. | |
| adSetId | Yes | Id of the new ad set. | |
| currency | No | ISO currency code that every money field in this result is denominated in, e.g. UAH or USD. Null when it could not be resolved — do not assume a currency then. | |
| campaignId | Yes | Campaign it was added to. | |
| dailyBudget | No | Ad set daily budget, absent under a campaign budget. Amount in the account currency (see the currency field), e.g. 800.00 with currency UAH means 800 UAH — never a minor-unit integer. | |
| optimizationGoal | Yes | What the ad set optimizes for. |