Get a LinkedIn Ad Library ad
linkedin_ad_getOne LinkedIn Ad Library ad: creative, advertiser, payer, run dates, impressions and targeting.
One ad from the Ad Library by id or URL: format, advertiser with company_id, paid_by, ran_from/ran_to, total_impressions (a range), impressions_by_country (percent), targeting (language, location, … with includes and excludes) and which targeting parameters were used, plus the creative: commentary, headline, destination_url, cta, image and video URLs.
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
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"ad": "<ad>"
},
"name": "linkedin_ad_get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ad | Yes | The ad id or its URL (linkedin.com/ad-library/detail/<id>). |