Ad
Get one ad from the LinkedIn Ad Library: its full text and media, who paid, and when disclosed its run dates, impressions and targeting.
GET | POST /v1/linkedin-ads/adSend parameters as a query string with GET, or as a JSON body with POST. Both are equivalent.
Request
curl "https://gateway.apinoa.com/v1/linkedin-ads/ad?id=1578851684" \
-H "x-api-key: $APINOA_API_KEY"What to Pass
| Pass | Reads | Notes |
|---|---|---|
id | The ad | Its Ad Library id, or its Ad Library URL (linkedin.com/ad-library/detail/<id>) |
Pass one source per call. Every identifier also takes the page URL.
Parameters
| Parameter | Type | Required | Notes |
|---|---|---|---|
id | string | The ad's Ad Library id, or its Ad Library URL (linkedin.com/ad-library/detail/<id>). |
The same parameters, and every response type, are in the OpenAPI document.
Response
Returns Ad in data. A real response, shortened: arrays keep their first entries and long text is cut.
{
"success": true,
"data": {
"library": "linkedin-ads",
"id": "1578851684",
"url": "https://www.linkedin.com/ad-library/detail/1578851684",
"advertiser": {
"id": "101691424",
"name": "Quantum Security Defence",
"url": "https://www.linkedin.com/company/101691424",
"avatarUrl": "https://media.licdn.com/dms/image/v2/D4E0BAQHoN-S2VTf9bg/company-logo_…",
"ext": {
"type": "company"
}
},
"paidBy": "Quantum Security and Defense Working Group lts",
"format": "Single Image Ad",
"text": "The G7 is urging governments and companies to start the transition to …",
"linkUrl": "https://lnkd.in/e5J2WDUc",
"images": [
{
"url": "https://media.licdn.com/dms/image/v2/D4E22AQEOAg2S6vIyxw/feedshare-ima…"
}
],
"videos": [],
"cards": [],
"firstShownAt": "2026-09-29",
"lastShownAt": "2026-10-03",
"impressions": {
"text": "< 1k",
"upper": 1000
},
"countries": [
{
"country": "Spain",
"percent": 10
},
{
"country": "Greece",
"percent": 9
},
{
"country": "France",
"percent": 9
}
],
"ext": {
"creativeType": "SPONSORED_STATUS_UPDATE",
"links": [
"https://lnkd.in/e5J2WDUc"
],
"targeting": {
"language": "Targeting includes English",
"location": "Targeting includes Europe",
"parameters": [
{
"name": "Audience",
"targeted": false,
"excluded": false
},
{
"name": "Demographic",
"targeted": false,
"excluded": false
},
{
"name": "Company",
"targeted": false,
"excluded": false
}
]
}
}
}
}Errors
| Status | Code | Meaning |
|---|---|---|
| 400 | INVALID_PARAMS | A parameter is missing, unknown or out of range. The message names it. |
| 401 | UNAUTHORIZED | The x-api-key header is missing, or the key is revoked or unknown. |
| 402 | INSUFFICIENT_CREDITS | Your credits do not cover this call. Choose a plan or top up in the dashboard. |
| 404 | NOT_FOUND | No ad has this id in the LinkedIn Ad Library. |
| 429 | MARKETPLACE_SATURATED | Too many concurrent calls. Retry after the Retry-After seconds. |
| 502 | UPSTREAM_ERROR | The library answered with something unusable. Retry with backoff. |
Every code is listed in Errors. Failed calls are not billed.
Pricing
Price 1 credit per call. Plans and credits.
Notes
- Every record follows the shared Ads API schema. What only LinkedIn states is in
ext. firstShownAt,lastShownAt,impressions,countriesandext.targetingare present only when LinkedIn discloses them for the ad. It discloses them for some ads only, under the EU's transparency rules, so many ads, especially those shown only outside the EU, have none.lastShownAtof today means the ad is still running.impressionsis a range as LinkedIn states it (text), with the bounds it states (lower,upper).countriesgives each country by name with its share of the impressions inpercent; LinkedIn can take up to 48 hours to show it for a new ad.ext.targetingstates the language and location as LinkedIn prints them (in the ad's language), and for each targeting category (Audience, Demographic, Company, Education, Job, Member Interests and Traits) whether it was used to target or to exclude. LinkedIn does not name the segments inside a category.- An advertiser can be a company or a member (
advertiser.ext.type). A company'sadvertiser.idis whatads?advertiser=takes. A thought-leader ad carries the member whose post is promoted inext.poster. - A video's
urlis its best file;ext.sourceslists every file with its bitrate. Video files, pictures and document pages are links to LinkedIn's media servers.