# LinkedIn Ads Scraper 🔍🌍 (Advanced & Cheaper 💰) (`scrapestorm/linkedin-ads-scraper-advanced-cheaper`) Actor

Looking for a LinkedIn ads scraper to fetch sponsored ad details? 🔍 With the LinkedIn Ads Scraper 🚀, easily collect ad listings based on keywords, companies, locations & more. Retrieve details like advertiser names, ad headlines, commentary, image URLs, event dates, and links to detailed ad pages

- **URL**: https://apify.com/scrapestorm/linkedin-ads-scraper-advanced-cheaper.md
- **Developed by:** [Storm_Scraper](https://apify.com/scrapestorm) (community)
- **Categories:** Social media, Lead generation, E-commerce
- **Stats:** 23 total users, 1 monthly users, 100.0% runs succeeded, 7 bookmarks
- **User rating**: 2.80 out of 5 stars

## Pricing

from $0.00005 / actor start

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

### LinkedIn Ads Scraper (Fast & Affordable) 🚀

🚨 The LinkedIn Ads Scraper allows you to easily retrieve sponsored ad listings from LinkedIn based on a specific keyword, company, country, and date range. Simply provide a keyword, company, country, and date, and we’ll extract the detailed ad data for you! 💪

The LinkedIn Ads Scraper is designed to extract ad listing data from LinkedIn's Sponsored Content platform based on a specific keyword (such as AI, marketing, etc.), company, country, and date range. By providing these details, you can retrieve:

```
Advertiser Name 🏢

Creative Type (e.g., Sponsored Status Update) 🖼️

Commentary Text 📣

Image URL 🌄

Event Date 📅

Headline 📰

Description 📄

Details Link 🌐

And much more! 🔍
```

### Key Features ✨🚀

- LinkedIn Ad Listings Extraction for specific keywords, companies, countries, and date ranges 🔍

- Customizable Output Formats (JSON, CSV, XML, HTML Table) 📊⚙️

- Fast and Efficient ⚡

- Complete Ad Data (headline, commentary, image URL, advertiser, and more) 📝

### 🛠️ How It Works:

1. Enter Your Data: Provide the search keyword (e.g., "AI"), company (e.g., "Nvidia"), country ("All 🌍" for all countries), and date range (e.g., "Any").

2. Start Scraping: Click on "Start" to begin the ad extraction process.

3. Scraper Executes: The scraper navigates through LinkedIn Ads, collects the ad listing data, and stores it.

4. Download Your Data: Once the extraction is complete, you can download the results in your desired format (JSON, CSV, XML, HTML Table, etc.).

### Why Use the LinkedIn Ads Scraper? ✨🚀

- Save Time: Quickly gather sponsored ads data for specific keywords, companies, and countries without manually searching LinkedIn ads 🕒

- Market Insights: Analyze the trends in LinkedIn advertising, find top-performing companies, and study the best practices 💡

- Ad Performance Optimization: Compare and identify successful ad strategies to improve your LinkedIn ad campaigns 📈

- Competitor Research: Gather insights on competitors' ads to refine your marketing strategy 👨‍💼📊

- SEO Optimization: Use ad listing data to improve your website’s SEO and content strategy 📈

### 💸 Pricing

This scraper operates on a pay-per-month basis at a cost of $9.90/month.

### Related Actors 👌

If you're interested in other scraping agents from YouTube or social media scraping solutions, check out these related actors:

- [Facebook Ads Library Scraper 🎯📈](https://apify.com/scrapestorm/facebook-ads-library-scraper)
- [Jobs.ch Search Scraper (Fast & Cheap) 💼 🇨🇭](https://apify.com/scrapestorm/jobs-ch-search-scraper-fast-cheap)
- [Bundesagentur für Arbeit (Arbeitsagentur) Scraper 🇩🇪 💼 Cheap](https://apify.com/scrapestorm/bundesagentur-fur-arbeit-arbeitsagentur-scraper-cheap)
- [YouTube Full Channel Transcripts Extractor ⚡📜](https://apify.com/scrapestorm/youtube-full-channel-transcripts-extractor)
- [💬 YouTube Comments Scraper](https://apify.com/scrapestorm/tiktok-comments-scraper---fast-cheap)
- [TikTok Comments Scraper 📲💬✨ - Fast & cheap](https://apify.com/scrapestorm/youtube)
- [Pinterest Comments Scraper ✨📌💬](https://apify.com/scrapestorm/pinterest-comments-scraper)
- [🏎 YouTube Scraper (By Keyword) ](https://apify.com/scrapestorm/youtube)
- [🔴 Youtube Channel Scraper (Rental)](https://apify.com/scrapestorm/youtube-channel-scraper)
- [🌐 Youtube Shorts Scraper 📺 (Rental)](https://apify.com/scrapestorm/youtube-shorts-scraper-rental---fast-cheap)
- [Facebook Likes Scraper (Fast & Cheap) 👍 🌟](https://apify.com/scrapestorm/facebook-likes-scraper-fast-cheap)
- [Facebook Followers & Following Scraper 📊👥](https://apify.com/scrapestorm/facebook-followers-following-scraper)
- [Facebook Comments Scraper (All-in-One) 💬](https://apify.com/scrapestorm/facebook-comments-scraper-all-in-one)
- [YouTube Transcript Video Scraper 📝 (⚡ Fast & 💸 Cheap)](https://apify.com/scrapestorm/youtube-transcript-videos)
- [Youtube Playlist Scraper 🎵 - Rental (Fast & cheap)](https://apify.com/scrapestorm/youtube-playlist-scraper---rental-fast-cheap)

***

### LinkedIn Ads Scraper Input & Output 🛠️📊

Input Format 💡

To use the LinkedIn Ads Scraper, you need to provide the following input:

```
{
    "keyword": "ai",
    "company": "nvidia",
    "country": "All 🌍",
    "date": "Any", 
    "maxitems": 150
}

```

- keyword: The keyword to search for in the ads (e.g., "AI", "marketing").

- company: The company running the ads (e.g., "Nvidia").

- country: The country where the ads are shown (e.g., "All 🌍" for all countries).

- date: The date range for the ads (e.g., "Any", "Last 30 days", "This month").

- maxitems: The maximum number of ad listings you want to retrieve (e.g., 150).

### Output Format 📈

Once the scraper completes the extraction, it will return detailed ad listings in your chosen format (JSON, CSV, XML, HTML Table, etc.). Below is an example of the output in JSON format:

```
[
    {
        "creative_type": "SPONSORED_STATUS_UPDATE",
        "advertiser_logo": "https://media.licdn.com/dms/image/v2/D560BAQGV36q2EowSyw/company-logo_100_100/company-logo_100_100/0/1724881581208/nvidia_logo?e=2147483647&v=beta&t=oCxt8kGhi0AfLuVDY7D_jzkUIEe-fAV5Q5eLaRxXzOE",
        "advertiser_logo_alt": "advertiser logo",
        "advertiser_name": "NVIDIA",
        "sponsored_text": "Sponsoris\u00e9",
        "commentary": "See how executives across industries are creating real-world impact with AI. Secure your spot now for NVIDIA GTC.",
        "commentary_links": "N/A",
        "image_url": "https://media.licdn.com/dms/image/v2/D5610AQE8lv0HhiPLcw/image-shrink_1280/image-shrink_1280/0/1738015589090/gtc25-business-leader-meta-x3-1080x1080png?e=2147483647&v=beta&t=ow2uJFj7_EFjHRN9qrFvyUBI_D5l2RjptdUYaVHWz_M",
        "image_alt": "Must Attend AI Business Strategy Talks",
        "headline": "Must Attend AI Business Strategy Talks",
        "description": "March 17-21",
        "event_date": "March 17-21",
        "details_link": "https://www.linkedin.com/ad-library/detail/627715666",
        "content_type": "image"
    }
]

```

### Explanation of Output Fields 🔬

```
creative_type: The type of creative for the ad (e.g., Sponsored Status Update).

advertiser_logo: The URL for the advertiser's logo.

advertiser_logo_alt: Alt text for the advertiser's logo.

advertiser_name: The name of the company or advertiser.

sponsored_text: Indicates if the ad is sponsored.

commentary: The text description or commentary of the ad.

commentary_links: Links associated with the commentary (if any).

image_url: The URL for the image used in the ad.

image_alt: Alt text for the image.

headline: The headline of the ad.

description: The description of the ad.

event_date: Date of the event related to the ad (if applicable).

details_link: The link to the full ad details.

content_type: The type of content in the ad (e.g., image, video).
```

### 📫 Support

😊 Leave us a ⭐⭐⭐⭐⭐ if you are satisfied with the product!
🌍 For any questions, specific needs or issues, please reach out through Apify's platform or via email - [Storm_Scraper 🌪️🌩️](https://apify.com/scrapestorm)

# Actor input Schema

## `keywords` (type: `array`):

List of keywords to search for in the LinkedIn Ads Library.

Examples:
• \['ai', 'machine learning']
• \['nvidia', 'cloud computing']
• \['marketing', 'saas']

The scraper will process each keyword and collect up to maxItemsPerKeyword ads for each.

## `entreprise` (type: `string`):

Specify the company whose ads you want to scrape from the LinkedIn Ads Library. Example: 'NVIDIA', 'Google', etc. 🏢

## `country` (type: `string`):

Choose the country you want to scrape LinkedIn ads from. You can pick 'All 🌍' or any specific country! 🌎

## `date` (type: `string`):

Choose how you want to sort ads by date! ⏰⏳ You can select 'Any' for all dates, or narrow it down by 'Last 30 days', 'This month', or 'This year'.

## `maxItemsPerKeyword` (type: `integer`):

Maximum number of ads to collect for EACH keyword.

The scraper will:
• Scroll through results for each keyword
• Stop when reaching this limit OR after 10 consecutive empty scrolls
• Move to the next keyword automatically

## Actor input object example

```json
{
  "keywords": [
    "ai",
    "cloud"
  ],
  "entreprise": "nvidia",
  "country": "All 🌍",
  "date": "Any",
  "maxItemsPerKeyword": 60
}
```

# Actor output Schema

## `overview` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "keywords": [
        "ai",
        "cloud"
    ],
    "entreprise": "nvidia",
    "country": "All 🌍",
    "date": "Any",
    "maxItemsPerKeyword": 60
};

// Run the Actor and wait for it to finish
const run = await client.actor("scrapestorm/linkedin-ads-scraper-advanced-cheaper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "keywords": [
        "ai",
        "cloud",
    ],
    "entreprise": "nvidia",
    "country": "All 🌍",
    "date": "Any",
    "maxItemsPerKeyword": 60,
}

# Run the Actor and wait for it to finish
run = client.actor("scrapestorm/linkedin-ads-scraper-advanced-cheaper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "keywords": [
    "ai",
    "cloud"
  ],
  "entreprise": "nvidia",
  "country": "All 🌍",
  "date": "Any",
  "maxItemsPerKeyword": 60
}' |
apify call scrapestorm/linkedin-ads-scraper-advanced-cheaper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,scrapestorm/linkedin-ads-scraper-advanced-cheaper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/fVL47vA0rfwknZcpK/builds/oPyaDxR67q9OseOJp/openapi.json
