hermosodocs

find_meta_audiences

Look up Meta targeting ids read-only

Area: META CATALOG CONTENTS + STORE → CATALOG SYNC · Ad campaign management. Generated from the running MCP server, like the rest of the tool reference.

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

ParameterTypeDescription
typerequired"adinterest" | "adTargetingCategory" | "adgeolocation" | "adlocale" | "adcountry" | "adzipcode" | "adeducationschool" | "adeducationmajor" | "adworkemployer" | "adworkposition"what kind of targeting object to search
qstringwhat to search for
classstringfor adTargetingCategory, e.g. "behaviors" or "interests"
locationTypesstringcomma-separated: country,region,city,zip,geo_market
countryCodestring2-letter hint to disambiguate a city name
adAccountIdstringsearch with that ad account’s token
limitnumbermaximum 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.

All 759 Ad campaign management tools · tools.json