hermosodocs

search_linkedin_ads_targeting

Find LinkedIn targeting URNs read-only

Area: LINKEDIN POST BOOSTING · Ad campaign management. Generated from the running MCP server, like the rest of the tool reference.

Description

Look up LinkedIn TARGETING entities by name and get their URNs — locations, job titles, industries, seniorities, company sizes, skills, job functions, interests, employers, degrees, fields of study, member behaviours. LinkedIn’s targeting values are opaque URNs (urn:li:geo:103644278 is the United States) with no guessable form, so ALWAYS resolve an audience here before passing it to create_linkedin_ads_campaign, and NEVER invent a URN — a made-up one either 400s or, worse, targets somebody else. If nothing matches, say so plainly. Read-only, free.

Parameters

ParameterTypeDescription
adAccountIdstringLinkedIn ad account id shared with this profile; needed only when several are shared
facetstringfacet name, default "locations" — e.g. locations, titles, industries, seniorities, staffCountRanges, skills, jobFunctions, interests, employers, degrees, fieldsOfStudy, memberBehaviors
queryrequiredstringthe name to search for, e.g. "United States", "Software Engineer", "Marketing"
languagestringdefault en
countrystringdefault US

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_linkedin_ads_targeting.

MCP (tools/call)

{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"search_linkedin_ads_targeting","arguments":{"query":"<string>"}}}

CLI

hermoso call search_linkedin_ads_targeting --json '{"query":"<string>"}'

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