← Guides

Competitive intelligence

Read a competitor's LinkedIn ads before you write your own

Your team is about to brief a LinkedIn campaign and someone asks what the competition is running. Scrolling the Ad Library works for five ads. By fifty it gets messy, and nobody remembers which ones they have already read.

linkedin-ad-library/ad-search returns Ad Library results as rows: headline, body copy, format, call to action, landing page, run dates and, where LinkedIn shows them, impressions and targeting. That is enough for a simple log of what competitors say and how they say it.

The response below is a shortened excerpt from saved documentation, not a live search. It also shows the first thing to watch for: a search for microsoft returned an ad from a different company.

The endpoint

LinkedIn Ad Library

Ad / Search

GET /v1/linkedin-ad-library/ad-search

Search the LinkedIn Ad Library for B2B ad creatives by keyword, advertiser or country.

1 credit per call · from $1.50 per 1,000 calls · failed calls never charged

Full endpoint reference

Make the call

Put your key in FASTFETCHZ_KEY. The target below is a real one — it works as written.

curl
curl "https://fastfetchz.com/v1/linkedin-ad-library/ad-search?target=microsoft" \
  -H "X-API-Key: $FASTFETCHZ_KEY"

What comes back

Trimmed to the fields that matter. The full payload carries more.

200 application/json
{
  "request": {
    "target": "microsoft"
  },
  "data": {
    "ads": [
      {
        "id": "1521619003",
        "url": "https://www.linkedin.com/ad-library/detail/1521619003",
        "advertiser": "ScriptRunner - The #1 Microsoft Automation Platform",
        "advertiserLinkedinPage": "https://www.linkedin.com/company/16217038",
        "headline": "Automate Exchange Onboarding with PowerShell",
        "description": "Watch a #Microsoft MVP live-demo how to onboard users, create mailboxes & manage distribution lists in Exchange Online with #PowerShell.",
        "adType": "Single Image Ad",
        "cta": "Learn more",
        "landingPage": "https://scriptrunner.wistia.com/medias/g5jnpjdm4h/manage?utm_campaign=32735245-PowerHouse&utm_source=linkedin&utm_medium=paidsocial&utm_term=webinar&utm_content=damian%20scoles%20(ungated)&utm_id=916106903&hsa_acc=503112669&hsa_cam=916106903&hsa_grp=664607973&hsa_ad=1521636543&hsa_net=linkedin&hsa_ver=3&trk=ad_library_ad_preview_headline_content",
        "adDuration": "Ran from Sep 4, 2026 to Sep 7, 2026",
        "startDate": "2026-09-04T00:00:00.000Z",
        "endDate": "2026-09-07T00:00:00.000Z",
        "targeting": {
          "language": "Targeting includes English"
        },
        "totalImpressions": "< 1k",
        "impressionsByCountry": [
          {
            "country": "Canada",
            "impressions": "43%"
          },
          {
            "country": "United States",
            "impressions": "36%"
          }
        ]
      }
    ],
    "paginationToken": "1521735703-1788529757967",
    "isLastPage": false,
    "totalAds": 27111
  }
}

What it costs

48 ads ÷ 24 per call = 2 calls
2 calls × 1 credit = 2 credits

At the Starter pack rate: $0.0058
10,000 credits for $29.00 · $0.00290 per credit. This is the credit value used by the job, not the pack purchase price.
At the Volume pack rate: $0.0030
500,000 credits for $750.00 · $0.00150 per credit. This is the credit value used by the job, not the pack purchase price.

Make sure the ad belongs to the company you meant

Here the input is one company or advertiser term, sent as target. It isn't the LinkedIn website's full filter set: this endpoint has no separate keyword, payer, country or date-range inputs.

The term is matched against advertiser names. In the saved example, microsoft returned an ad from ScriptRunner - The #1 Microsoft Automation Platform, because that advertiser's name contains the word. Handy if you sell into the same market. Misleading if you thought you were reading Microsoft's own ads.

Filter on advertiserLinkedinPage. Look the competitor up with linkedin/company and compare its id with the number at the end of that URL. In the saved examples, the Microsoft company record has id: "1035", while this ad points to company 16217038. Confirm the match on one ad you can also see on LinkedIn before trusting it for a whole run.

totalAds: 27111 is the count the search reported for the term, other advertisers included. It isn't the number of campaigns one company is running.

Log the message, not just the creative

For each ad keep id, url, advertiser, headline, description, adType and cta. Then add your own short labels in separate columns: the problem the ad names, the offer, and who it seems to be written for. Keeping your reading apart from the copied text lets a colleague check it.

The landing page often says more than the ad. Here landingPage carries the advertiser's own tracking parameters, including utm_term=webinar and a utm_content value containing ungated. Those are labels the advertiser chose. They hint at how the campaign is set up; open the page to see what is actually offered.

Strip tracking parameters before you deduplicate landing pages, otherwise the same page shows up as a dozen different URLs.

Read reach and dates the way LinkedIn presents them

LinkedIn's Ad Library help pages, listed under Sources below, say impressions, targeting and the dates an ad ran are shown for ads targeted to the European Union. The saved ad targeted several EU countries, so those fields are filled in. For other ads they can be empty. Leave them blank in your log rather than writing zero.

totalImpressions is a band, not a count. The saved ad shows a band of under 1k. Store it as text and don't average bands together.

impressionsByCountry gives percentage shares. The excerpt shows two countries adding up to 79%, because saved examples keep at most two items in each list. Your own response may list more; don't treat a shortened list as the full split.

The saved ad ran from 4 to 7 September 2026. A long run can suggest an advertiser kept paying for an ad. It still tells you nothing about clicks, leads or spend, and none of those appear in the response. LinkedIn also says the library covers ads that ran after 1 June 2023 and keeps each one for a year after its last impression, so an older ad missing from your results may simply have aged out.

Collect more than one page with care

Each call returns up to 24 ads. The response carries paginationToken and isLastPage. The endpoint reference lists a cursor parameter for continuing: send the full paginationToken value from your own response as cursor with the same target, and stop when isLastPage is true.

Try that on one search before you schedule anything. If a second page repeats IDs you already have, stop and mark the run partial instead of paying for more of the same rows.

Turn the log into a brief

With twenty or thirty ads from two or three competitors, patterns usually show: the problems they lead with, the offers they repeat, the formats they favor. Write each pattern down with two or three ad links as evidence.

Then look for the gap. If every competitor leads with cost, a clear proof point on speed or support might stand out. That is a hypothesis to test in your own campaign, not a finding about what performs.

Don't lift headlines. Use the log to decide what your ad needs to say differently, and in your own words.

Budget the job

The cost example covers two full pages, up to 48 ads, for one search term. Three competitors at that depth is up to six calls. Pages can be shorter than 24, and filtering out other advertisers leaves fewer rows than you collected.

Use fresh=true when you need a new fetch rather than cached data; the price is the same. Begin with one competitor and one page. Once the rows land cleanly in your log, widen the search.

Sources

Two LinkedIn Help pages, listed below, support the Ad Library statements on this page. The first covers the extra impressions, targeting and run-date information for ads targeted to the European Union, ads included from June 1, 2023, and one-year retention after an ad's last impression. The second explains what the targeting parameters and impression figures show.

Field names and values quoted on this page come from the saved FastFetchz example for this endpoint, not from a live search.

sources
LinkedIn Help: EU ad information, June 1, 2023 start, one-year retention
https://www.linkedin.com/help/learning/answer/a1517918

LinkedIn Help: targeting parameters and impression figures
https://www.linkedin.com/help/linkedin/answer/a1620070

Endpoints you will probably want next