linkedin_ads
Search the LinkedIn Ad Library, LinkedIn's public ad-transparency archive, by advertiser name or keyword, optionally by country and date range: advertiser, ad text, headline, format, landing page, and (with includeDetails) run dates, impression ranges and targeting as LinkedIn publishes them. Up to 20 ads per call. Best-effort: LinkedIn sometimes blocks automated access, and a failed run returns 503 within about 40 s and is not charged; /v1/ads/meta is the more reliable ad source. Provided by Atlas Data (third-party seller); cached up to 6 h. Price 0.02 USD per call via x402.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| endDate | No | Custom range end (YYYY-MM-DD), needs startDate | |
| keyword | No | Comma-separated keyword searches in ad text, up to 3; with advertiser, a single filter word. | |
| maxItems | No | Max ads returned (default 10, clamped to 20) | |
| countries | No | Comma-separated ISO 3166 alpha-2 codes where ads were shown, up to 10 (empty = all) | |
| dateRange | No | When the ads ran (default all) | |
| startDate | No | Custom range start (YYYY-MM-DD, last 12 months only); replaces dateRange | |
| advertiser | No | Comma-separated advertiser (company) names, up to 3, e.g. "HubSpot". Required unless keyword is set. | |
| includeDetails | No | Open each ad for full text, dates, impressions and targeting (much slower and more likely to fail or time out; keep maxItems small). Default false. |