TikTok Ads: Create Ad Group
tiktok_create_adgroupCreate one new ad group, switched off, under an existing Upgraded Smart+ Sales or Lead Generation campaign in the user's own TikTok ad account (campaign_id from tiktok_create_campaign or tiktok_get_campaigns). Set what it optimises for: CONVERT with a pixel_id and its optimization_event (both from tiktok_get_pixel_events), or CLICK. Set the locations it targets, and optionally ages, gender, languages and audiences; targeting is AUTOMATIC by default, where TikTok treats those as guidance, or MANUAL, where they are limits. Pass a budget only when the campaign holds none; a daily budget must be within the user's daily spend cap. It is always created paused and spends nothing until the user approves tiktok_set_status. It does not create app, catalog or instant-form ad groups. Get the user's explicit approval first. Supports dry_run.
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>",
"adgroup_name": "<adgroup_name>",
"optimization_goal": "<optimization_goal>",
"location_ids": "<location_ids>"
},
"name": "tiktok_create_adgroup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| budget | No | Budget of the ad group in the account currency. Required when the campaign holds no budget; refused when the campaign holds one. | |
| gender | No | Gender to target. Omitted: all. | |
| dry_run | No | true: read the object and report the field-level changes this call would make, changing nothing. Default false. Show the user the proposal and get their approval before calling without dry_run. | |
| pixel_id | No | Pixel that tracks the website, from tiktok_get_pixel_events. Required with CONVERT. | |
| bid_price | No | Bid per click in the account currency, for CLICK. Omitted: Maximum Delivery, no bid. | |
| languages | No | Language codes to target, e.g. en, es. Omitted: all. | |
| age_groups | No | Age groups to target. Omitted: all ages. | |
| budget_type | No | DAILY (default): an average daily budget; a day can spend up to 125% of it, a week no more than seven times it. LIFETIME: one total for the whole run. It cannot be changed later. | |
| campaign_id | Yes | Id of the Upgraded Smart+ campaign to add the ad group to. | |
| adgroup_name | Yes | Name of the ad group, up to 512 characters. | |
| audience_ids | No | Custom or lookalike audiences to include (ids from tiktok_list_custom_audiences). | |
| location_ids | Yes | TikTok location ids to target, at least one. Use ids already on the account's ad groups (locationIds in tiktok_get_adgroups). | |
| advertiser_id | No | TikTok ad account to change: advertiser id or exact account name. Required when you have several ad accounts — the stored default is never used for a change then. | |
| targeting_mode | No | AUTOMATIC (default): TikTok finds the audience and treats ages, gender and audiences as suggestions. MANUAL: they are hard limits, which can restrict delivery. | |
| optimization_goal | Yes | CONVERT: optimise for a pixel event (needs pixel_id and optimization_event). CLICK: optimise for clicks to the website. | |
| schedule_end_time | No | End, UTC, as YYYY-MM-DD HH:MM:SS. Omitted: no end. Required with a LIFETIME budget. | |
| optimization_event | No | The pixel event to optimise for, as TikTok names it: optimizationEvent of one of the pixel's definedEvents in tiktok_get_pixel_events, e.g. SHOPPING or FORM. Required with CONVERT. | |
| schedule_start_time | No | Start, UTC, as YYYY-MM-DD HH:MM:SS. Default: now. It still delivers nothing while switched off. | |
| conversion_bid_price | No | Target cost per conversion in the account currency, for CONVERT. Omitted: Maximum Delivery, no target. | |
| excluded_audience_ids | No | Custom or lookalike audiences to exclude. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dryRun | Yes | True when the call only previewed the request. | |
| status | Yes | Always DISABLE: the object is created switched off and delivers nothing until the user approves tiktok_set_status ENABLED on it and on everything above it. | |
| created | Yes | True only when this call created the object. | |
| 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. | |
| entityId | No | Id of the new object (for an ad, its smartPlusAdId); null on a dry run. | |
| parentId | No | Campaign of a new ad group, or ad group of a new ad. | |
| settings | Yes | The settings sent to TikTok, or that would be sent on a dry run, under TikTok's field names; money in the account currency. | |
| verified | No | Whether TikTok's read-back shows the new object switched off; null on a dry run or when the read-back failed. | |
| warnings | Yes | Limits and next steps the user should hear about. | |
| operation | Yes | What happened: created or dry_run. | |
| entityName | Yes | Name given to the object. | |
| entityType | Yes | Kind of object. | |
| advertiserId | Yes | TikTok ad account the object is in. |