# Hermoso: apply_tiktok_ads_audience · Hermoso developer docs

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

# `apply_tiktok_ads_audience`

Include or exclude a TikTok audience on ad groups destructive

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

Attach a TikTok custom audience to ad groups as an INCLUDE or an EXCLUDE — the call that changes WHO SEES THE ADS, and the reason building audiences is worth doing at all. actionMode is exactly "Apply" or "Disconnect" (TikTok’s enum is case-sensitive), and Apply also needs usageMode "Include" or "Exclude": GETTING usageMode WRONG INVERTS THE ENTIRE AUDIENCE, showing the ads to precisely the people you meant to keep out, and nothing in TikTok’s reply would say so. One audience per call, and the audience and ad groups must be on the same advertiser. A Lookalike cannot be applied to a Reach & Frequency ad group. It spends nothing by itself — every ad group Hermoso builds is born paused — but on an ALREADY-LIVE ad group it changes delivery on the next auction, so name the ad groups to the user first. The ad groups are read back from TikTok.

## Parameters

Parameter Type Description

`advertiserId` `string` from list_tiktok_ads_accounts

`audienceId` required `string` exactly one — TikTok takes a single custom_audience_id per call

`adgroupIds` required `string[]` from list_tiktok_ads_campaigns

`actionMode` required `"Apply" | "Disconnect"` Apply attaches the audience to the ad groups; Disconnect removes it (case-sensitive)

`usageMode` `"Include" | "Exclude"` REQUIRED when actionMode is Apply, and refused with Disconnect

## 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/apply_tiktok_ads_audience`.

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

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

`hermoso call apply_tiktok_ads_audience --json '{"audienceId":"<string>","adgroupIds":"<array>","actionMode":"<one of the listed values>"}'`

## 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

- [update_tiktok_ads_audience](https://hermoso.ai/docs/reference/ads/update_tiktok_ads_audience/) Rename a TikTok custom audience
- [delete_tiktok_ads_audience](https://hermoso.ai/docs/reference/ads/delete_tiktok_ads_audience/) Delete TikTok 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
- [tiktok_ads_audience_overlap](https://hermoso.ai/docs/reference/ads/tiktok_ads_audience_overlap/) Compare how much two TikTok audiences share
- [create_tiktok_ads_audience](https://hermoso.ai/docs/reference/ads/create_tiktok_ads_audience/) Build a TikTok retargeting audience from real behaviour
- [list_tiktok_ads_audiences](https://hermoso.ai/docs/reference/ads/list_tiktok_ads_audiences/) List a TikTok advertiser’s custom audiences

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