Search Ads
linkedin_ad_library_search_adsSearch LinkedIn's Ad Library by company, keyword, or companyId with country and date filters to research competitor ads, targeting, impressions, and creative assets.
Instructions
Searches the LinkedIn Ad Library by company name, keyword, or companyId with optional country and date filters. Custom date filtering requires both startDate and endDate. LinkedIn accepts dates from the date one year ago through yesterday. Each ad includes id, description, headline, adType, advertiser, targeting details, image or video URLs, totalImpressions, and impressionsByCountry. Date and impression fields are nullable when LinkedIn does not expose them on the public ad page. Supports pagination via paginationToken. Potentially consumes paid API credits; requires confirm=true. Read-like POST requests do not publish to social platforms.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | No | Named private ScrapeCreators account; selects credentials, not a remote account ID. | |
| company | No | The company name to search for. 'Microsoft' for example | |
| confirm | No | Must be true for the specific approved credit-consuming research call. | |
| endDate | No | End date in YYYY-MM-DD format. Must be used with startDate and cannot be today or a future date. | |
| keyword | No | The keyword to search for | |
| companyId | No | The company id to search for | |
| countries | No | Comma separated list of countries. Example: US,CA,MX | |
| startDate | No | Start date in YYYY-MM-DD format. Must be used with endDate and cannot be earlier than the date one year ago. | |
| paginationToken | No | Pagination token to paginate through results |