# Hermoso: create_tiktok_ads_ad_group · Hermoso developer docs

> Machine-readable twin of https://hermoso.ai/docs/reference/ads/create_tiktok_ads_ad_group/. Generated from the shipped page. Do not edit by hand.
> Full agent guide: https://hermoso.ai/llms.txt · MCP: https://app.hermoso.ai/mcp

[Docs](https://hermoso.ai/docs/) / [Tool reference](https://hermoso.ai/docs/reference/) / [Ad campaign management](https://hermoso.ai/docs/reference/ads/) / create_tiktok_ads_ad_group

# `create_tiktok_ads_ad_group`

Create a TikTok ad group (targeting, budget, bidding, schedule) destructive

Area: UPGRADED SMART+ · [Ad campaign management](https://hermoso.ai/docs/reference/ads/). Generated from the running MCP server, like the rest of the [tool reference](https://hermoso.ai/docs/reference/).

## Description

Create an ad group under an existing TikTok campaign — the tier that holds the budget, the bid, the placements, the schedule and ALL the targeting. CREATED PAUSED with no override (TikTok would otherwise create it ENABLED, and a live ad group under a paused campaign is exactly how spend escapes a one-level pause); it spends nothing until set_tiktok_ads_status(confirm:true). TIKTOK REQUIRES THIRTEEN FIELDS TOGETHER and its error names only the FIRST missing one per round trip, so the server checks the whole set locally and refuses with EVERY absentee at once — which matters here because QPS is 1 and each round trip costs a second. Sensible defaults are supplied for placement, pacing, promotion type, schedule type, optimization goal, billing event, bid type and budget mode, so the ONE thing you must resolve yourself is LOCATION: locationIds is effectively mandatory (TikTok: "‘location_ids’ or ‘zipcode_ids’ must be specified") and comes from search_tiktok_ads_targeting(kind:"location"). Resolve interest and language ids the same way — a guessed id either fails the create or targets the wrong people, silently. CONVERSION CAMPAIGNS (WEB_CONVERSIONS / CONVERSIONS / PRODUCT_SALES / LEAD_GENERATION) NEED A PIXEL: set optimizationGoal CONVERT, pass pixelId AND optimizationEvent, and billingEvent OCPM — TikTok pairs a billing event with every goal MANUALLY and derives nothing, so the server supplies the right one if you leave it out. Without a pixel TikTok refuses with "Please select a pixel." The result is READ BACK from TikTok, and the pixel and event it reports are the STORED ones.

## Parameters

Parameter Type Description

`advertiserId` `string` TikTok ad account id from list_tiktok_ads_accounts; omit when only one account is shared with this profile

`campaignId` required `string` the campaign this ad group belongs to

`name` required `string` ad group name in TikTok Ads Manager

`locationIds` required `string[]` REQUIRED in practice — ids from search_tiktok_ads_targeting(kind:"location"); TikTok refuses an ad group without them

`placements` `string[]` default ["PLACEMENT_TIKTOK"]

`placementType` `string` default PLACEMENT_TYPE_NORMAL

`optimizationGoal` `string` what TikTok optimises delivery toward — default CLICK; it has to fit the campaign objective and TikTok’s refusal names the valid values

`billingEvent` `string` what TikTok charges for — default CPC; must fit the optimization goal

`bidType` `string` default BID_TYPE_NO_BID (let TikTok bid). A manual bid type needs bid.

`bid` `number` bid price in the advertiser’s own currency — required by the manual bid types

`pacing` `string` default PACING_MODE_SMOOTH, which spends the budget evenly across the day. PACING_MODE_FAST spends as fast as delivery allows — a real money decision, so it is never chosen for you.

`budgetMode` `string` default BUDGET_MODE_DAY

`budget` `number` ad-group budget in the advertiser’s own currency

`scheduleType` `string` default SCHEDULE_FROM_NOW

`scheduleStartTime` `string` "YYYY-MM-DD HH:MM:SS" in the advertiser’s timezone

`scheduleEndTime` `string` only needed when the schedule type is a fixed window

`promotionType` `string` what is being promoted — default WEBSITE

`ageGroups` `string[]` TikTok age band values — omit to reach every age

`genders` `string[]` omit to reach everyone

`languages` `string[]` language codes from search_tiktok_ads_targeting(kind:"language")

`interestCategoryIds` `string[]` ids from search_tiktok_ads_targeting(kind:"interest")

`interestKeywordIds` `string[]` ids from search_tiktok_ads_targeting(kind:"interest_keyword") — TikTok pairs this with interestCategoryIds under Interests

`pixelId` `string` REQUIRED when optimizationGoal is CONVERT or VALUE, and NOT ACCEPTED with any other goal — that is TikTok’s own two-sided rule, and it is why a conversion campaign built without one dies at the ad group with "Please select a pixel." Get it from list_tiktok_ads_pixels, or create_tiktok_ads_pixel for a new one.

`optimizationEvent` `string` REQUIRED whenever pixelId is given (and when optimizationGoal is IN_APP_EVENT or VALUE) — the conversion TikTok optimises toward. Web events: ON_WEB_DETAIL, ON_WEB_SEARCH, ON_WEB_ADD_TO_WISHLIST, ON_WEB_CART, INITIATE_ORDER, ADD_BILLING, SHOPPING, CONSULT, DOWNLOAD_START, FORM, ON_WEB_REGISTER, ON_WEB_SUBSCRIBE. Pick the one that matches the goal: SHOPPING for a purchase, FORM for a lead, ON_WEB_REGISTER for a signup. The event must already EXIST on the pixel or TikTok refuses with "This pixel event type does not exist."

`customConversionId` `string` optional narrower rule from list_tiktok_ads_custom_conversions — valid only alongside a pixel and only when optimizationGoal is CONVERT or IN_APP_EVENT

`promotionTargetType` `string` LEAD_GENERATION campaigns only: INSTANT_PAGE (a TikTok in-app form) or EXTERNAL_WEBSITE (your own landing page). INSTANT_PAGE defaults promotionType and optimizationGoal to LEAD_GENERATION and billingEvent to OCPM, which is TikTok’s documented Instant-Form ad group; then attach the form on the ad with create_tiktok_ads_ad(pageId). With EXTERNAL_WEBSITE + optimizationGoal CLICK, TikTok forbids pixelId and optimizationEvent.

`conversionBid` `number` target cost per conversion for oCPM — required by TikTok when bidType is BID_TYPE_CUSTOM and billingEvent is OCPM

## Example call

Every required parameter is shown, filled from the schema where it gives a value and otherwise with a placeholder naming the type. Replace the placeholders with real values. The same call works on the MCP server, the CLI and `POST https://app.hermoso.ai/v1/tools/create_tiktok_ads_ad_group`.

**MCP** (`tools/call`)

`{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"create_tiktok_ads_ad_group","arguments":{"campaignId":"<string>","name":"<string>","locationIds":"<array>"}}}`
**CLI**

`hermoso call create_tiktok_ads_ad_group --json '{"campaignId":"<string>","name":"<string>","locationIds":"<array>"}'`

## Credits

Credits are spent only on two things: running an AI model (image, video, voice, text, planning, post-production) and Ad Spy research. See [Credits & costs](https://hermoso.ai/docs/credits/).

## Related tools

- [set_tiktok_ads_status](https://hermoso.ai/docs/reference/ads/set_tiktok_ads_status/) Activate, pause or delete TikTok campaigns / ad groups / ads
- [search_tiktok_ads_targeting](https://hermoso.ai/docs/reference/publish/search_tiktok_ads_targeting/) Resolve TikTok locations / interests / hashtags / languages
- [create_tiktok_ads_campaign](https://hermoso.ai/docs/reference/ads/create_tiktok_ads_campaign/) Create a TikTok campaign (forced paused)
- [set_tiktok_smart_status](https://hermoso.ai/docs/reference/ads/set_tiktok_smart_status/) Enable, pause or delete a Smart+ object
- [prereview_tiktok_ads_creative](https://hermoso.ai/docs/reference/ads/prereview_tiktok_ads_creative/) Pre-review TikTok ad material
- [preview_tiktok_smart_ad](https://hermoso.ai/docs/reference/ads/preview_tiktok_smart_ad/) Preview a TikTok Smart+ ad
- [tiktok_bid_protection](https://hermoso.ai/docs/reference/ads/tiktok_bid_protection/) TikTok bid protection status and credit history
- [manage_tiktok_ads_negative_keywords](https://hermoso.ai/docs/reference/ads/manage_tiktok_ads_negative_keywords/) TikTok negative keywords (ad account, campaign or ad group)
- [list_tiktok_smart_campaigns](https://hermoso.ai/docs/reference/ads/list_tiktok_smart_campaigns/) List TikTok Smart+ campaigns or ad groups
- [manage_tiktok_smart_value_rules](https://hermoso.ai/docs/reference/ads/manage_tiktok_smart_value_rules/) TikTok Smart+ value rules (bid adjustments)

[All 759 Ad campaign management tools](https://hermoso.ai/docs/reference/ads/) · [tools.json](https://hermoso.ai/docs/reference/tools.json)
