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

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://beta-securitybyobscurity.apify.com/scrapestorm/linkedin-ads-scraper-advanced-cheaper.md
- **Developed by:** [Storm\_Scraper](https://beta-securitybyobscurity.apify.com/scrapestorm) (community)
- **Categories:** Social media, Lead generation, E-commerce
- **Stats:** 10 total users, 1 monthly users, 96.0% runs succeeded, 2 bookmarks
- **User rating**: 5.00 out of 5 stars

## Pricing

$9.90/month + usage

To use this Actor, you pay a monthly rental fee to the developer. The rent is subtracted from your prepaid usage every month after the free trial period.
You also pay for the Apify platform usage, which gets cheaper the higher Apify subscription plan you have.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#rental-actors

# 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

## `keyword` (type: `string`):

Specify the keyword you want to use to fetch ads metadata from the LinkedIn Ads Library. This could be a product name, brand, or topic of interest! 🌐

## `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'.

## `maxitems` (type: `integer`):

Set the maximum number of ads you want to scrape from LinkedIn Ads Library. Default is 60, but you can adjust it according to your needs! 🔢

## Actor input object example

```json
{
  "keyword": "ai",
  "entreprise": "nvidia",
  "country": "All 🌍",
  "date": "Any",
  "maxitems": 60
}
```

# 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 = {
    "keyword": "ai",
    "entreprise": "nvidia",
    "country": "All 🌍",
    "date": "Any",
    "maxitems": 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 = {
    "keyword": "ai",
    "entreprise": "nvidia",
    "country": "All 🌍",
    "date": "Any",
    "maxitems": 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("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

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

```

## CLI example

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

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=scrapestorm/linkedin-ads-scraper-advanced-cheaper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "LinkedIn Ads Scraper 🔍🌍 (Advanced & Cheaper 💰)",
        "description": "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",
        "version": "0.0",
        "x-build-id": "fkO8dzeU22dU4TIiP"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/scrapestorm~linkedin-ads-scraper-advanced-cheaper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-scrapestorm-linkedin-ads-scraper-advanced-cheaper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/scrapestorm~linkedin-ads-scraper-advanced-cheaper/runs": {
            "post": {
                "operationId": "runs-sync-scrapestorm-linkedin-ads-scraper-advanced-cheaper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/scrapestorm~linkedin-ads-scraper-advanced-cheaper/run-sync": {
            "post": {
                "operationId": "run-sync-scrapestorm-linkedin-ads-scraper-advanced-cheaper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "required": [
                    "keyword"
                ],
                "properties": {
                    "keyword": {
                        "title": "✍️🔍 Enter the Keyword for Scraping Ads Metadata",
                        "type": "string",
                        "description": "Specify the keyword you want to use to fetch ads metadata from the LinkedIn Ads Library. This could be a product name, brand, or topic of interest! 🌐",
                        "default": "ai"
                    },
                    "entreprise": {
                        "title": "🏢 Enter the Company Name for Ads Metadata",
                        "type": "string",
                        "description": "Specify the company whose ads you want to scrape from the LinkedIn Ads Library. Example: 'NVIDIA', 'Google', etc. 🏢",
                        "default": "nvidia"
                    },
                    "country": {
                        "title": "🌍 Select the Country for Scraping Ads",
                        "enum": [
                            "All 🌍",
                            "Albania 🇦🇱",
                            "Algeria 🇩🇿",
                            "Andorra 🇦🇩",
                            "Angola 🇦🇴",
                            "Antigua and Barbuda 🇦🇬",
                            "Argentina 🇦🇷",
                            "Armenia 🇦🇲",
                            "Australia 🇦🇺",
                            "Austria 🇦🇹",
                            "Azerbaijan 🇦🇿",
                            "Bahamas 🇧🇸",
                            "Bahrain 🇧🇭",
                            "Bangladesh 🇧🇩",
                            "Barbados 🇧🇧",
                            "Belarus 🇧🇾",
                            "Belgium 🇧🇪",
                            "Belize 🇧🇿",
                            "Benin 🇧🇯",
                            "Bhutan 🇧🇹",
                            "Bolivia 🇧🇴",
                            "Bosnia and Herzegovina 🇧🇦",
                            "Botswana 🇧🇼",
                            "Brazil 🇧🇷",
                            "Brunei 🇧🇳",
                            "Bulgaria 🇧🇬",
                            "Burkina Faso 🇧🇫",
                            "Burundi 🇧🇮",
                            "Cabo Verde 🇨🇻",
                            "Cambodia 🇰🇭",
                            "Cameroon 🇨🇲",
                            "Canada 🇨🇦",
                            "Central African Republic 🇨🇫",
                            "Chad 🇹🇩",
                            "Chile 🇨🇱",
                            "China 🇨🇳",
                            "Colombia 🇨🇴",
                            "Comoros 🇰🇲",
                            "Congo 🇨🇬",
                            "Congo (Democratic Republic) 🇨🇩",
                            "Costa Rica 🇨🇷",
                            "Croatia 🇭🇷",
                            "Cuba 🇨🇺",
                            "Cyprus 🇨🇾",
                            "Czech Republic 🇨🇿",
                            "Denmark 🇩🇰",
                            "Djibouti 🇩🇯",
                            "Dominica 🇩🇲",
                            "Dominican Republic 🇩🇴",
                            "Ecuador 🇪🇨",
                            "Egypt 🇪🇬",
                            "El Salvador 🇸🇻",
                            "Equatorial Guinea 🇬🇶",
                            "Eritrea 🇪🇷",
                            "Estonia 🇪🇪",
                            "Eswatini 🇸🇿",
                            "Ethiopia 🇪🇹",
                            "Fiji 🇫🇯",
                            "Finland 🇫🇮",
                            "France 🇫🇷",
                            "Gabon 🇬🇦",
                            "Gambia 🇬🇲",
                            "Georgia 🇬🇪",
                            "Germany 🇩🇪",
                            "Ghana 🇬🇭",
                            "Greece 🇬🇷",
                            "Grenada 🇬🇩",
                            "Guatemala 🇬🇹",
                            "Guinea 🇬🇳",
                            "Guinea-Bissau 🇬🇼",
                            "Guyana 🇬🇾",
                            "Haiti 🇭🇹",
                            "Honduras 🇭🇳",
                            "Hungary 🇭🇺",
                            "Iceland 🇮🇸",
                            "India 🇮🇳",
                            "Indonesia 🇮🇩",
                            "Iran 🇮🇷",
                            "Iraq 🇮🇶",
                            "Ireland 🇮🇪",
                            "Italy 🇮🇹",
                            "Jamaica 🇯🇲",
                            "Japan 🇯🇵",
                            "Jordan 🇯🇴",
                            "Kazakhstan 🇰🇿",
                            "Kenya 🇰🇪",
                            "Kiribati 🇰🇮",
                            "Korea (North) 🇰🇵",
                            "Korea (South) 🇰🇷",
                            "Kuwait 🇰🇼",
                            "Kyrgyzstan 🇰🇬",
                            "Laos 🇱🇸",
                            "Latvia 🇱🇻",
                            "Lebanon 🇱🇧",
                            "Lesotho 🇱🇸",
                            "Liberia 🇱🇸",
                            "Libya 🇱🇾",
                            "Liechtenstein 🇱🇮",
                            "Lithuania 🇱🇹",
                            "Luxembourg 🇱🇺",
                            "Madagascar 🇲🇬",
                            "Malawi 🇲🇼",
                            "Malaysia 🇲🇾",
                            "Maldives 🇲🇻",
                            "Mali 🇲🇱",
                            "Malta 🇲🇹",
                            "Marshall Islands 🇲🇭",
                            "Mauritania 🇲🇷",
                            "Mauritius 🇲🇺",
                            "Mexico 🇲🇽",
                            "Micronesia 🇫🇲",
                            "Moldova 🇲🇩",
                            "Monaco 🇲🇨",
                            "Mongolia 🇲🇳",
                            "Montenegro 🇲🇪",
                            "Morocco 🇲🇦",
                            "Mozambique 🇲🇿",
                            "Myanmar 🇲🇲",
                            "Namibia 🇳🇦",
                            "Nauru 🇳🇷",
                            "Nepal 🇳🇵",
                            "Netherlands 🇳🇱",
                            "New Zealand 🇳🇿",
                            "Nicaragua 🇳🇮",
                            "Niger 🇳🇪",
                            "Nigeria 🇳🇬",
                            "North Macedonia 🇲🇰",
                            "Norway 🇳🇴",
                            "Oman 🇴🇲",
                            "Pakistan 🇵🇰",
                            "Palau 🇵🇼",
                            "Panama 🇵🇦",
                            "Papua New Guinea 🇵🇬",
                            "Paraguay 🇵🇾",
                            "Peru 🇵🇪",
                            "Philippines 🇵🇭",
                            "Poland 🇵🇱",
                            "Portugal 🇵🇹",
                            "Qatar 🇶🇦",
                            "Romania 🇷🇴",
                            "Russia 🇷🇺",
                            "Rwanda 🇷🇼",
                            "Saint Kitts and Nevis 🇰🇳",
                            "Saint Lucia 🇱🇨",
                            "Saint Vincent and the Grenadines 🇻🇨",
                            "Samoa 🇼🇸",
                            "San Marino 🇸🇲",
                            "Sao Tome and Principe 🇸🇹",
                            "Saudi Arabia 🇸🇦",
                            "Senegal 🇸🇳",
                            "Serbia 🇷🇸",
                            "Seychelles 🇸🇨",
                            "Sierra Leone 🇸🇱",
                            "Singapore 🇸🇬",
                            "Slovakia 🇸🇰",
                            "Slovenia 🇸🇮",
                            "Solomon Islands 🇸🇧",
                            "Somalia 🇸🇴",
                            "South Africa 🇿🇦",
                            "South Sudan 🇸🇸",
                            "Spain 🇪🇸",
                            "Sri Lanka 🇱🇰",
                            "Sudan 🇸🇩",
                            "Suriname 🇸🇷",
                            "Sweden 🇸🇪",
                            "Switzerland 🇨🇭",
                            "Syria 🇸🇾",
                            "Taiwan 🇹🇼",
                            "Tajikistan 🇹🇯",
                            "Tanzania 🇹🇿",
                            "Thailand 🇹🇭",
                            "Timor-Leste 🇹🇱",
                            "Togo 🇹🇬",
                            "Tonga 🇹🇴",
                            "Trinidad and Tobago 🇹🇹",
                            "Tunisia 🇹🇳",
                            "Turkey 🇹🇷",
                            "Turkmenistan 🇹🇲",
                            "Tuvalu 🇹🇻",
                            "Uganda 🇺🇬",
                            "Ukraine 🇺🇦",
                            "United Arab Emirates 🇦🇪",
                            "United Kingdom 🇬🇧",
                            "United States 🇺🇸",
                            "Uruguay 🇺🇾",
                            "Uzbekistan 🇺🇿",
                            "Vanuatu 🇻🇺",
                            "Vatican City 🇻🇦",
                            "Venezuela 🇻🇪",
                            "Vietnam 🇻🇳",
                            "Yemen 🇾🇪",
                            "Zambia 🇿🇲",
                            "Zimbabwe 🇿🇼"
                        ],
                        "type": "string",
                        "description": "Choose the country you want to scrape LinkedIn ads from. You can pick 'All 🌍' or any specific country! 🌎",
                        "default": "All 🌍"
                    },
                    "date": {
                        "title": "📅 Choose Date Sort (When Ads Were Posted) ⏰⏳",
                        "enum": [
                            "Any",
                            "Last 30 days",
                            "This month",
                            "This year",
                            "Last year"
                        ],
                        "type": "string",
                        "description": "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'.",
                        "default": "Any"
                    },
                    "maxitems": {
                        "title": "🔢 Max Number of Ads to Scrape",
                        "type": "integer",
                        "description": "Set the maximum number of ads you want to scrape from LinkedIn Ads Library. Default is 60, but you can adjust it according to your needs! 🔢",
                        "default": 60
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
