# Get a company's ads from the LinkedIn Ad Library

**Use case:** 

See how a company advertises on LinkedIn with this ready-made LinkedIn Ad Library Scraper task: every ad in LinkedIn's Ad Library for the advertiser, with format, text, headline, call to action, media and landing page. Swap in any company. No LinkedIn account or login. You pay $1.42 per 1,000 ads.

## Input

```json
{
  "advertisers": [
    "HubSpot"
  ],
  "dateOption": "all",
  "maxAds": 100,
  "includeAdDetails": true,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

## Output

```json
{
  "advertiserName": {
    "label": "Advertiser",
    "format": "string"
  },
  "format": {
    "label": "Format",
    "format": "string"
  },
  "introText": {
    "label": "Ad text",
    "format": "string"
  },
  "headline": {
    "label": "Headline",
    "format": "string"
  },
  "callToAction": {
    "label": "Button",
    "format": "string"
  },
  "landingUrl": {
    "label": "Landing page",
    "format": "string"
  },
  "firstShown": {
    "label": "From",
    "format": "string"
  },
  "lastShown": {
    "label": "To",
    "format": "string"
  },
  "impressionsText": {
    "label": "Impressions",
    "format": "string"
  },
  "adUrl": {
    "label": "Ad",
    "format": "string"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The LinkedIn Ad Library Scraper - Ads, Advertisers & Impressions Actor is ready to run with the inputs already set for "Get a company's ads from the LinkedIn Ad Library". [Sign up or log in](https://console.apify.com/create-task-from-example/msXJWepNw7H0gHNP2) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Get a company's ads from the LinkedIn Ad Library" task

The LinkedIn Ad Library Scraper - Ads, Advertisers & Impressions Actor will start running based on the input automatically. You can also change all the input fields, like advertisers, date range, and more, to match your specific use case.

### 3. Receive the "Get a company's ads from the LinkedIn Ad Library" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as advertiser, format, ad text, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "Get a company's ads from the LinkedIn Ad Library" task via API](https://apify.com/socialscrapers/linkedin-ad-library-scraper.md).

## FAQ

### What does the LinkedIn company ads task return?

The LinkedIn company ads task returns up to 100 of the advertiser's ads with format, text, headline, call to action, media and landing page.

### Do I need a LinkedIn account for the LinkedIn company ads task?

No. The LinkedIn company ads task reads public LinkedIn pages without a login, cookies or an API key.

### How much does the LinkedIn company ads task cost?

The LinkedIn company ads task costs $1.42 per 1,000 ads, and only for results saved. Apify Silver and Gold plans pay 10% and 20% less.

## About this Actor

This example demonstrates how to use [LinkedIn Ad Library Scraper - Ads, Advertisers & Impressions](https://apify.com/socialscrapers/linkedin-ad-library-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/socialscrapers/linkedin-ad-library-scraper.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

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 full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/socialscrapers/linkedin-ad-library-scraper.md

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`).
