---
title: "LinkedIn Ad Library tools"
description: "Search LinkedIn ads by company, keyword or company ID, then fetch targeting and impression breakdowns per ad."
---

## search_linkedin_ads

| Parameter | Type | Notes |
| --- | --- | --- |
| `company_name` | string | Advertiser name |
| `keyword` | string | Free text |
| `company_id` | string | LinkedIn company ID |
| `countries` | string | Comma-separated ISO codes |
| `start_date`, `end_date` | string | ISO dates |
| `pagination_token` | string | From the previous page |

At least one of `company_name`, `keyword` or `company_id` is required. Results include a `paginationToken`; pass it back to fetch the next page.

## get_linkedin_ad_details

| Parameter | Type | Notes |
| --- | --- | --- |
| `ad_id` | string | The `id` from a search result |

Returns creative content, `targeting`, `totalImpressions` and `impressionsByCountry`.

## Data quality

- `totalImpressions` is a string range like "5k-10k", and can be null for running ads
- `impressionsByCountry` values are percentage strings
- `targeting` and `headline` can be empty; LinkedIn does not always expose them
- Dates can be null for running ads; `adDuration` is the fallback signal

## Credits

One credit per call.
