search_linkedin_ads
Search LinkedIn ads
Description
Structured LinkedIn Ad Library search by company name, keyword, or companyId — use for a targeted B2B pull; use research_ads for open-ended research. Returns compact JSON {advertiser, headline, description, cta, link, media, dates, impressions} per ad — LinkedIn's library includes impression counts. Spends about a credit.
Parameters
| Parameter | Type | Description |
|---|---|---|
company | string | advertiser company name |
keyword | string | keyword across all advertisers |
companyId | string | LinkedIn company id (numeric) when the name is ambiguous |
countries | string | CSV of 2-letter codes like 'US,CA'; omit or 'ALL' = worldwide |
limit | integer | max ads returned (1–25, default 8) |
get_cost | boolean | true: return the price only; nothing runs or bills |
expected_credits | number | the get_cost price; refused unbilled if the live price differs |
idempotency_key | string | chosen once, resent unchanged on retries: the same key never buys twice |
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.
MCP (tools/call)
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"search_linkedin_ads","arguments":{}}}
CLI
hermoso call search_linkedin_ads --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.
Related tools
research_adsResearch adssearch_google_adsSearch Google adssearch_meta_adsSearch Meta ads