# Hermoso: create_tiktok_ads_audience · Hermoso developer docs

> Machine-readable twin of https://hermoso.ai/docs/reference/ads/create_tiktok_ads_audience/. 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_audience

# `create_tiktok_ads_audience`

Build a TikTok retargeting audience from real behaviour

Area: AUDIENCE MANAGEMENT · DPA CATALOG · APP MANAGEMENT · [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 a TikTok custom audience from what people actually did — the thing that turns TikTok targeting from interests-and-geo into retargeting. audienceType chooses the source and EACH ONE READS A DIFFERENT ID SPACE for eventSourceIds, which is the mistake to avoid: PIXEL takes pixel ids (list_tiktok_ads_pixels), APP takes app ids (list_tiktok_ads_apps), ENGAGEMENT takes AD GROUP ids, ENGAGEMENT_ORGANIC_VIDEO takes TikTok post ids (list_tiktok_ads_identity_posts, max 10), TIKTOK_SHOP takes shop ids, OFFLINE takes offline event-set ids — and a LEAD_GENERATION audience must carry NO eventSourceIds at all, because TikTok errors if the field is present. The `event` on each rule must belong to that audience type: an event from a different family is refused here by name rather than silently building an audience that measures the wrong thing. THE AUDIENCE IS NOT USABLE IMMEDIATELY — TikTok takes up to 48 hours to process it, and until then it cannot be attached to an ad group. Creating one spends nothing: an audience is a definition. The reply is READ BACK from TikTok, because TikTok’s create returns an id and nothing else.

## Parameters

Parameter Type Description

`advertiserId` `string` from list_tiktok_ads_accounts

`name` required `string` ≤128 characters

`audienceType` required `"ENGAGEMENT" | "ENGAGEMENT_ORGANIC_VIDEO" | "ENGAGEMENT_LIVE_VIDEO" | "APP" | "PIXEL" | "LEAD_GENERATION" | "BUSINESS_ACCOUNT" | "TIKTOK_SHOP" | "OFFLINE"` source of the audience; decides what eventSourceIds refer to (pixel, app, ad group, post, shop or offline set)

`rules` required `object[]` inclusion rules, combined with OR. Each is {event, retentionDays, eventSourceIds?, parameterFilters?} — e.g. {event:"COMPLETE PAYMENT", retentionDays:30, eventSourceIds:["<pixelId>"]}

`excludeRules` `object[]` same shape; anyone matching these is removed from the audience

`retentionInDays` `number` how long the AUDIENCE itself lives, 1-365. A DIFFERENT field from each rule’s retentionDays lookback window — TikTok says itself it will rename one of them.

`autoRefresh` `boolean` default true at TikTok — keeps the audience updating with new matching people

`identityId` `string` REQUIRED for ENGAGEMENT_ORGANIC_VIDEO and ENGAGEMENT_LIVE_VIDEO — from list_tiktok_ads_identities

`identityType` `"TT_USER" | "BC_AUTH_TT"` TT_USER or BC_AUTH_TT; used with identityId for the organic and live-video engagement types

`identityAuthorizedBcId` `string` REQUIRED when identityType is BC_AUTH_TT

## 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_audience`.

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

`{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"create_tiktok_ads_audience","arguments":{"name":"<string>","audienceType":"<one of the listed values>","rules":"<array>"}}}`
**CLI**

`hermoso call create_tiktok_ads_audience --json '{"name":"<string>","audienceType":"<one of the listed values>","rules":"<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

- [list_tiktok_ads_pixels](https://hermoso.ai/docs/reference/ads/list_tiktok_ads_pixels/) List a TikTok advertiser’s conversion pixels
- [list_tiktok_ads_apps](https://hermoso.ai/docs/reference/ads/list_tiktok_ads_apps/) List the mobile apps on a TikTok ad account
- [list_tiktok_ads_identity_posts](https://hermoso.ai/docs/reference/ads/list_tiktok_ads_identity_posts/) List the organic TikTok posts under an identity
- [list_tiktok_ads_audiences](https://hermoso.ai/docs/reference/ads/list_tiktok_ads_audiences/) List a TikTok advertiser’s custom audiences
- [create_tiktok_ads_lookalike_audience](https://hermoso.ai/docs/reference/ads/create_tiktok_ads_lookalike_audience/) Grow a TikTok lookalike from an existing audience
- [update_tiktok_ads_audience](https://hermoso.ai/docs/reference/ads/update_tiktok_ads_audience/) Rename a TikTok custom audience
- [apply_tiktok_ads_audience](https://hermoso.ai/docs/reference/ads/apply_tiktok_ads_audience/) Include or exclude a TikTok audience on ad groups
- [delete_tiktok_ads_audience](https://hermoso.ai/docs/reference/ads/delete_tiktok_ads_audience/) Delete TikTok custom audiences
- [tiktok_ads_audience_overlap](https://hermoso.ai/docs/reference/ads/tiktok_ads_audience_overlap/) Compare how much two TikTok audiences share

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