hermosodocs

x_ads_targeting_search

Find X targeting ids (interests, devices, languages…) read-only

Area: X: managing what you built · Ad campaign management. Generated from the running MCP server, like the rest of the tool reference.

Description

Resolve X targeting ids by name for every vocabulary BEYOND location — INTEREST, CONVERSATION, PLATFORM, DEVICE, LANGUAGE, APP_STORE_CATEGORY, NETWORK_OPERATOR, TV_MARKET, TV_SHOW, EVENT. X's targeting ids are opaque (an interest is a 19-digit number, a device is “96”) and X has NO name-based targeting parameter, so this is the only way to obtain one — without it add_x_ads_targeting accepts vocabularies nobody can supply a value for. Pass a result as criteria:[{targetingType, targetingValue}]. Locations have their own tool: x_ads_geo_search. TV_SHOW requires a `locale`, which comes from kind:"TV_MARKET". Read-only, free.

Parameters

ParameterTypeDescription
kindrequired"INTEREST" | "CONVERSATION" | "PLATFORM" | "DEVICE" | "LANGUAGE" | "APP_STORE_CATEGORY" | "NETWORK_OPERATOR" | "TV_MARKET" | "TV_SHOW" | "EVENT"targeting vocabulary to search, e.g. INTEREST, DEVICE, LANGUAGE or EVENT
querystringfilter by name
osType"ANDROID" | "IOS"APP_STORE_CATEGORY
countryCodestringNETWORK_OPERATOR, e.g. US
localestringTV_SHOW — required; get one from kind:"TV_MARKET"
eventTypes"CONFERENCE" | "HOLIDAY" | "MOVIE_RELEASE" | "MUSIC_AND_ENTERTAINMENT" | "OLYMPICS" | "OTHER" | "POLITICS" | "RECURRING" | "SPORTS"EVENT
limitnumbermaximum number of results to return

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

MCP (tools/call)

{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"x_ads_targeting_search","arguments":{"kind":"<one of the listed values>"}}}

CLI

hermoso call x_ads_targeting_search --json '{"kind":"<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.

All 759 Ad campaign management tools · tools.json