Search LinkedIn ads
search_linkedin_adsSearch LinkedIn's Ad Library by company name, keyword, or company ID to pull targeted B2B ads with headline, CTA, media, dates, and impression counts as compact JSON.
Instructions
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.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "search_linkedin_ads"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | max ads returned (1–25, default 8) | |
| company | No | advertiser company name | |
| keyword | No | keyword across all advertisers | |
| get_cost | No | true: return the price only; nothing runs or bills | |
| companyId | No | LinkedIn company id (numeric) when the name is ambiguous | |
| countries | No | CSV of 2-letter codes like 'US,CA'; omit or 'ALL' = worldwide | |
| idempotency_key | No | chosen once, resent unchanged on retries: the same key never buys twice | |
| expected_credits | No | the get_cost price; refused unbilled if the live price differs |