hermosodocs

search_tiktok_ads_targeting

Resolve TikTok locations / interests / hashtags / languages read-only

Area: TIKTOK AUDIENCE INSIGHTS AND CATEGORY BENCHMARKS · Publishing & scheduling. Generated from the running MCP server, like the rest of the tool reference.

Description

Look up the exact ids TikTok ad-group targeting expects, so none of them has to be invented. kind:"location" resolves TikTok’s targetable regions — an ad group CANNOT be created without location ids, TikTok refuses it in its own words ("‘location_ids’ or ‘zipcode_ids’ must be specified"). kind:"interest" resolves the interest categories and kind:"interest_keyword" the additional interest KEYWORDS (both attach to an ad group). kind:"hashtag" resolves real targeting HASHTAGS — until 2026-08-11 this kind pointed at TikTok’s interest-keyword endpoint and quietly returned interest categories instead; note that hashtag ids feed TikTok’s actions[] field, which Hermoso does not send yet, so treat hashtag results as RESEARCH rather than targeting you can apply. kind:"language" the language codes. A made-up id either fails the create or, worse, targets somebody else and spends money silently, so always resolve here first and never guess. Read-only, free.

Parameters

ParameterTypeDescription
advertiserIdstringfrom list_tiktok_ads_accounts — TikTok scopes these lookups to an advertiser
kind"location" | "interest" | "interest_keyword" | "hashtag" | "language"default location. interest_keyword and hashtag both REQUIRE keyword.
keywordstringnarrows the lookup by name, e.g. "Canada" returns Canada rather than every place TikTok has; REQUIRED for interest_keyword and hashtag
regionCodestringlocation only: two-letter country code, e.g. CA, to list the places inside one country
level"country" | "province" | "city" | "district"location only: return one level
limitnumberrows to return, default 50, max 200; total always counts every match

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/search_tiktok_ads_targeting.

MCP (tools/call)

{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"search_tiktok_ads_targeting","arguments":{}}}

CLI

hermoso call search_tiktok_ads_targeting --json '{}'

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.

All 728 Publishing & scheduling tools · tools.json