Marketing

LinkedIn Competitor Ads Scraper: all ads of a company from the Ad Library

Paste a LinkedIn company page URL, company ID or name and get that company's ads from the LinkedIn Ad Library — copy, format, creative, CTA, landing page and UTM, run dates, impressions by country and targeting. Schedule it to receive only new ads every day.

4 users100.0% successful runs (30 days)

What data you get

adCopyAd text
formatAd format
creativeImage or video creative
ctaCall-to-action button
landingPage / utmLanding page URL and UTM parameters
runDatesWhen the ad ran
impressionsByCountryImpressions split by country (details)
targetingTargeted languages and locations (details)

How it works

  1. Open the scraper on Apify and sign up (free).
  2. Enter routes, dates and options in the form.
  3. Click Start and download results as JSON, CSV or Excel, or call the API.

Pricing

$1.60 per 1,000 rows

Pay per event: each ad row is charged. With details on, each ad is billed as the higher ad-with-details event instead.

Apify gives $5 free credits every month — enough to test this scraper at no cost.

Example tasks

Ready-made inputs. Copy one into the scraper form or send it through the API.

Scrape all LinkedIn ads of a company

Up to 100 newest ads of HubSpot.

{
  "companies": [
    "https://www.linkedin.com/company/hubspot/"
  ],
  "maxAdsPerSearch": 100
}
Run this task →

LinkedIn competitor ads with impressions by country

Salesforce ads shown in the US and UK, with details.

{
  "companies": [
    "https://www.linkedin.com/company/salesforce/"
  ],
  "includeDetails": true,
  "countries": [
    "US",
    "GB"
  ]
}
Run this task →

LinkedIn ads a company ran in the last 30 days

Recent ads for one company page.

{
  "companies": [
    "https://www.linkedin.com/company/notionhq/"
  ],
  "dateRange": "last-30-days"
}
Run this task →

Daily monitoring of new competitor ads on LinkedIn

Only ads not delivered in earlier runs.

{
  "companies": [
    "https://www.linkedin.com/company/hubspot/",
    "https://www.linkedin.com/company/salesforce/"
  ],
  "onlyNewRowsStore": "crm-ads-watch"
}
Run this task →

Use cases

FAQ

Do I need a LinkedIn account or cookies?

No. The scraper works without login, cookies or an API key. You only need a free Apify account.

What do I enter?

One competitor per line: a LinkedIn company page URL, a numeric company ID or the company name.

Can I get only new ads?

Yes. Give the run a memory name and schedule it; each later run with the same name returns only ads it has not delivered before.

Is it legal to scrape LinkedIn?

The scraper collects only publicly visible ad data from the LinkedIn Ad Library without logging in. Make sure your use complies with local law (including GDPR where it applies) and LinkedIn's terms, and avoid collecting or misusing personal data.

How do I get the data into my app or spreadsheet?

Export JSON, CSV or Excel, or call the Actor through the Apify API with the Python or JavaScript client. Ready-made integrations connect it to Make, n8n, Zapier and Google Sheets.

More scrapers

See your competitors' LinkedIn ads now

Run on Apify — free trial