Apinoa Docs

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.

View raw .mdx
GET | POST /v1/linkedin-ads/ad

Send 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

PassReadsNotes
idThe adIts 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

ParameterTypeRequiredNotes
idstringThe 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

StatusCodeMeaning
400INVALID_PARAMSA parameter is missing, unknown or out of range. The message names it.
401UNAUTHORIZEDThe x-api-key header is missing, or the key is revoked or unknown.
402INSUFFICIENT_CREDITSYour credits do not cover this call. Choose a plan or top up in the dashboard.
404NOT_FOUNDNo ad has this id in the LinkedIn Ad Library.
429MARKETPLACE_SATURATEDToo many concurrent calls. Retry after the Retry-After seconds.
502UPSTREAM_ERRORThe 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, countries and ext.targeting are 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. lastShownAt of today means the ad is still running.
  • impressions is a range as LinkedIn states it (text), with the bounds it states (lower, upper). countries gives each country by name with its share of the impressions in percent; LinkedIn can take up to 48 hours to show it for a new ad.
  • ext.targeting states 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's advertiser.id is what ads?advertiser= takes. A thought-leader ad carries the member whose post is promoted in ext.poster.
  • A video's url is its best file; ext.sources lists every file with its bitrate. Video files, pictures and document pages are links to LinkedIn's media servers.

On this page