LinkedIn Ad Library Scraper avatar

LinkedIn Ad Library Scraper

Pricing

from $2.99 / 1,000 ad libraries

Go to Apify Store
LinkedIn Ad Library Scraper

LinkedIn Ad Library Scraper

Collect public LinkedIn Ad Library results by advertiser or company name and country. Returns evidenced advertiser, creative, media, detail, and source fields, with explicit diagnostics when no public ads are available.

Pricing

from $2.99 / 1,000 ad libraries

Rating

0.0

(0)

Developer

w3crawler

w3crawler

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

2 days ago

Last modified

Categories

Features

Limited permissions

Share

Collect public LinkedIn Ad Library results for an advertiser or company name and a country. The Actor searches LinkedIn's public ad library, opens each matching ad detail page, and returns evidenced advertiser, creative, copy, media, landing-page, status, and source fields. It does not sign in or claim access to ads that are not public in the selected country.

Get started

  1. Open the Actor Store page and select Try for free or open the Input tab.
  2. Enter an advertiser or company name in query and choose the two-letter country code.
  3. Keep maxItems small for the first run; each saved ad also requires a public detail-page request.
  4. Start the Actor, open the dataset, and export the ads as JSON, CSV, or Excel. Open Run summary (OUTPUT) to check the outcome and counts.

Input

query is required. The other fields are optional, and the defaults below are ready to use. Unsupported field names and out-of-range values are rejected before requests start.

FieldTypeRequired?DefaultMeaning
querystringRequiredGoogleAdvertiser or company name passed to LinkedIn's accountOwner search field. This is advertiser matching, not free-text ad-copy search.
maxItemsintegerOptional50Maximum ad results to save, from 1 to 500.
countrystringOptionalUSTwo-letter country code used to filter the public ad library, such as US, GB, IN, or DE.
proxyConfigurationobjectOptional{"useApifyProxy":false}Standard Apify Proxy settings. Direct connections are used by default.

Full default input:

{
"query": "Google",
"maxItems": 50,
"country": "US",
"proxyConfiguration": {
"useApifyProxy": false
}
}

The Actor reads public LinkedIn Ad Library pages. Optional proxy settings change routing only; they do not grant access to protected or non-public ads.

Output

The dataset contains one row per saved public ad. Optional values are omitted when the ad card or detail page does not expose them; no diagnostic or placeholder rows are written.

FieldTypeAvailabilityMeaning
idstringAlwaysStable ad identifier derived from LinkedIn's ad ID or detail URL.
recordTypestring enumAlwaysRow discriminator; always linkedin-ad-library-ad.
positionintegerAlwaysOne-based position of the ad in the saved result set.
adIdstringWhen the ad ID is exposedLinkedIn ad identifier.
creativeIdstringWhen exposedCreative identifier associated with the ad.
creativeTypestringWhen exposedLinkedIn creative type, such as SPONSORED_VIDEO or SPONSORED_STATUS_UPDATE.
adAuthorNamestringWhen exposedName shown for the ad author.
adAuthorUrlstringWhen exposedPublic LinkedIn URL for the ad author.
advertiserNamestringWhen exposedAdvertiser or company name.
advertiserUrlstringWhen exposedPublic LinkedIn company URL for the advertiser.
advertiserUrnstringWhen exposedLinkedIn advertiser URN.
adTextstringWhen the ad has body textAd body copy. Completeness is described by adTextCompleteness and adTextSource.
headlinestringWhen the ad has a headlineAd headline.
callToActionstringWhen the ad has a CTACall-to-action label, such as Download or Learn more.
adFormatstringWhen exposedDisplayed ad format, such as Video Ad or Single Image Ad.
mediaTypestringWhen media is exposedMedia type label, such as image or video.
mediaUrlstringWhen media is exposedPrimary public media URL.
mediaUrlsarrayWhen media is exposedPublic media URLs found for the ad.
mediaTitlestringWhen exposedTitle associated with the media.
logoUrlstringWhen exposedAdvertiser logo URL.
landingPageUrlstringWhen an external CTA link supports itExternal landing-page URL. A LinkedIn search URL is never used as the landing page.
externalLinksarrayWhen external links existPublic external links found in the ad.
linkstringWhen exposedPublic LinkedIn ad-detail URL.
startDatestringWhen the ad dates are exposedAd start date as displayed.
endDatestringWhen the ad dates are exposedAd end date as displayed.
adStatusstringWhen exposedAd status label shown by the library.
targetingSummarystringWhen exposedPublic targeting summary, when LinkedIn displays one.
impressionRangestringWhen exposedPublic impression range, when displayed.
spendRangestringWhen exposedPublic spend range, when displayed.
languagestringWhen exposedLanguage attribute recorded from the ad card.
paidForBystringWhen exposed"Paid for by" value shown on the ad.
adVersionNoticestringWhen exposedNotice about multiple ad versions or device-specific rendering.
detailHttpStatusintegerWhen the detail page is fetchedHTTP status of the public ad-detail request.
detailHtmlLengthintegerWhen the detail page is fetchedLength of the public ad-detail HTML response.
detailFetchedAtstringWhen the detail page is fetchedTime the detail page was fetched, in ISO UTC.
querystringAlwaysAdvertiser query used for the run.
countrystringAlwaysCountry code used for the run.
sourceUrlstringAlwaysPublic LinkedIn Ad Library search URL requested.
finalUrlstringAlwaysFinal search URL after redirects.
scrapedAtstringAlwaysTime the row was saved, in ISO UTC.
adTextCompletenessstringWhen ad text existspreview or detail, indicating how complete the saved ad text is.
adTextSourcestringWhen ad text existsEvidence path for the text, such as expanded_detail.
landingPageEvidencestringWhen a landing page is savedEvidence marker showing that an external CTA link supports landingPageUrl.

The example below is the complete saved row from the 2026-10-24 run, collected for query: "cloud" in US.

{
"id": "linkedin-ad:96c9b58f248bc11f4952ce10",
"recordType": "linkedin-ad-library-ad",
"position": 1,
"adId": "1592786753",
"creativeType": "SPONSORED_VIDEO",
"adAuthorName": "CloudFactory",
"adAuthorUrl": "https://www.linkedin.com/company/2613668?trk=ad_library_ad_preview_advertiser",
"advertiserName": "CloudFactory",
"advertiserUrl": "https://www.linkedin.com/company/2613668?trk=ad_library_about_ad_advertiser",
"adText": "AI agents don’t announce their mistakes. Most enterprises can’t see which decisions are safe until one becomes a business risk. The Trusted AI at Scale paper shows how leading organizations score every AI decision, route uncertain ones to human experts and keep a full audit trail from data to deployment.",
"adTextCompleteness": "detail",
"adTextSource": "expanded_detail",
"headline": "Know Which AI Decisions to Trust. Download the Paper.",
"callToAction": "Download",
"adFormat": "Video Ad",
"mediaType": "image",
"mediaUrl": "https://media.licdn.com/dms/image/v2/D4D10AQEeUZGEH7kwDg/videocover-high/B4DaFf_l97IoBI-/0/1792611870074?e=2147483647&v=beta&t=UxIR3aqK-NOpeBzo2oBqz0LZ-JmgmkImhRNxkZoQStU",
"mediaUrls": [
"https://media.licdn.com/dms/image/v2/D4D10AQEeUZGEH7kwDg/videocover-high/B4DaFf_l97IoBI-/0/1792611870074?e=2147483647&v=beta&t=UxIR3aqK-NOpeBzo2oBqz0LZ-JmgmkImhRNxkZoQStU"
],
"logoUrl": "https://media.licdn.com/dms/image/v2/D4D0BAQH4xc_s41jmSA/company-logo_100_100/B4DaCRUgV1I8AI-/0/1789144467183/cloudfactory_com_logo?e=1794441600&v=beta&t=VKX0dziDfQviiUpk_LRIh1F1iKZKKq6mhqbs9wHjrgg",
"landingPageUrl": "https://www.cloudfactory.com/trusted-ai-at-scale-solution-brief?utm_campaign=1032_TrustedAI_IT&utm_source=linkedin&utm_medium=paid&utm_id=1234468633&hsa_acc=502535688&hsa_cam=1234468633&hsa_grp=897067423&hsa_ad=1592418883&hsa_net=linkedin&hsa_ver=3&trk=ad_library_ad_preview_headline_content",
"landingPageEvidence": "cta_evidence",
"externalLinks": [
"https://www.cloudfactory.com/trusted-ai-at-scale-solution-brief?utm_campaign=1032_TrustedAI_IT&utm_source=linkedin&utm_medium=paid&utm_id=1234468633&hsa_acc=502535688&hsa_cam=1234468633&hsa_grp=897067423&hsa_ad=1592418883&hsa_net=linkedin&hsa_ver=3&trk=ad_library_ad_preview_headline_content"
],
"link": "https://www.linkedin.com/ad-library/detail/1592786753",
"paidForBy": "CloudFactory",
"adVersionNotice": "Please note that this ad may have multiple versions. Some versions may appear different on mobile or desktop screens with different sizes.",
"detailHttpStatus": 200,
"detailHtmlLength": 51557,
"detailFetchedAt": "2026-10-24T18:02:47.963Z",
"query": "cloud",
"country": "US",
"sourceUrl": "https://www.linkedin.com/ad-library/search?accountOwner=cloud&country=US",
"finalUrl": "https://www.linkedin.com/ad-library/search?accountOwner=cloud&country=US",
"scrapedAt": "2026-10-24T18:02:47.964Z"
}

Run summary

Run summary is stored separately from the dataset in the run's key-value store under OUTPUT.

FieldMeaning
recordTypeSummary discriminator; linkedin-ad-library-run-summary.
statusActor process outcome: SUCCEEDED or FAILED.
runStatusCanonical run status; matches status.
dataStatusCompleteness of the dataset: COMPLETE, PARTIAL, NO_RESULTS, or FAILED.
itemCountAd rows saved to the dataset.
diagnosticCountOperational issues recorded for the run.
optionalFailureCountOptional detail-enrichment failures that did not stop saved ads from being kept.
dataAvailableWhether at least one usable ad row was saved.
proxyConfiguredWhether a proxy configuration was supplied.
scrapedAtTime the summary was written, in ISO UTC.
StatusData statusMeaning
SUCCEEDEDCOMPLETEAds were saved without an operational problem.
SUCCEEDEDPARTIALAds were saved, but one or more optional detail requests failed. Saved rows remain available.
SUCCEEDEDNO_RESULTSThe public search completed cleanly and returned no matching ads.
FAILEDFAILEDA fatal error occurred before any usable ad was saved.

Example OUTPUT from the 2026-10-24 run:

{
"recordType": "linkedin-ad-library-run-summary",
"status": "SUCCEEDED",
"runStatus": "SUCCEEDED",
"dataStatus": "COMPLETE",
"itemCount": 3,
"diagnosticCount": 0,
"optionalFailureCount": 0,
"dataAvailable": true,
"proxyConfigured": true,
"scrapedAt": "2026-10-24T18:02:49.805Z"
}

Coverage and limitations

The Actor searches by advertiser or company name through LinkedIn's public accountOwner field and filters by country. It is not a keyword search across ad copy, and it does not enumerate every advertiser in the library.

Search results are bounded by maxItems. Each saved ad can require a separate public detail request, so larger limits increase runtime and request volume. The ad library can show different creatives, versions, and availability by country, device, language, and time; a saved row reflects what the public page returned during the run.

Fields such as startDate, endDate, adStatus, targetingSummary, impressionRange, and spendRange appear only when the public library displays them. landingPageUrl is saved only when a public external CTA link supports it; the LinkedIn search URL is never substituted. Login-gated or removed ads are omitted. All URLs are validated, and the Actor does not bypass authentication, CAPTCHAs, or access controls.

Usage and support

Apify compute, source requests, dataset storage, and any optional proxy traffic determine the run cost; there is no separate per-ad event configured for this Actor. Start with a small maxItems, inspect the dataset and OUTPUT, then scale gradually. See the Actor's Pricing tab for current account rates.

Use the Actor Issues page to report a problem. Include the run ID, the input used, and the OUTPUT summary; do not include tokens, cookies, or private data. This Actor is not affiliated with LinkedIn. Use it only for public data and in accordance with LinkedIn's terms, robots guidance, and applicable law. Public ads can contain personal information; use the output only for lawful purposes.