find_meta_audiences
Look up Meta targeting ids read-only
Description
Look up the Meta targeting ids you need before building an ad set — interests, behaviours, cities/regions/zips/DMAs, languages, employers, job titles and schools. type:"adinterest" (q:"yoga") returns interest ids + audience size; type:"adTargetingCategory" with class:"behaviors" returns behaviour ids; type:"adgeolocation" (q:"Toronto", optionally locationTypes:"city") returns the geo KEYS that go in targeting.geo.cities/regions/zips; type:"adlocale" (q:"french") returns language ids for targeting.locales. Read-only and free. Use it whenever the user names an audience in words — never guess an id.
Parameters
| Parameter | Type | Description |
|---|---|---|
typerequired | "adinterest" | "adTargetingCategory" | "adgeolocation" | "adlocale" | "adcountry" | "adzipcode" | "adeducationschool" | "adeducationmajor" | "adworkemployer" | "adworkposition" | what kind of targeting object to search |
q | string | what to search for |
class | string | for adTargetingCategory, e.g. "behaviors" or "interests" |
locationTypes | string | comma-separated: country,region,city,zip,geo_market |
countryCode | string | 2-letter hint to disambiguate a city name |
adAccountId | string | search with that ad account’s token |
limit | number | maximum matches to return; the reply shows up to 25 |
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/find_meta_audiences.
MCP (tools/call)
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"find_meta_audiences","arguments":{"type":"<one of the listed values>"}}}
CLI
hermoso call find_meta_audiences --json '{"type":"<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.
Related tools
manage_meta_catalog_syncSync a store into a Meta catalogmanage_meta_catalog_contentsMeta catalog feeds, product sets and products