Search the LinkedIn Ad Library
linkedin_ads_searchLinkedIn Ad Library search by company, advertiser, keyword, country and dates, paginated.
Ads in LinkedIn’s public Ad Library, newest first, 24 a page, by company_id (from linkedin_company_get or linkedin_search_companies), advertiser name, keyword or payer, optionally limited to countries (ISO codes, comma-separated) and a date_option or a start_date/end_date window. Pass after for the next page. Each card has ad_id for linkedin_ad_get (impressions, targeting, who paid).
Cost: 5 credits per call, refunded automatically if the call fails. Read-only, public data only. Results include cost_credits and credits_remaining.
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": "linkedin_ads_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| after | No | Cursor: the previous page’s `after`, with the same filters. | |
| payer | No | Who paid for the ad. | |
| keyword | No | Words in the ad. | |
| end_date | No | Ads shown on or before (YYYY-MM-DD). | |
| countries | No | ISO 3166 alpha-2 codes, comma-separated, e.g. US,GB. | |
| advertiser | No | Advertiser name, as LinkedIn’s own advertiser box takes it. | |
| company_id | No | Numeric company ids, comma-separated (up to 10). | |
| start_date | No | Ads shown on or after (YYYY-MM-DD); with end_date. | |
| date_option | No |