# See the ads HubSpot runs on LinkedIn

**Use case:** 

Look up an advertiser in the LinkedIn Ad Library and list its ads with format, dates and impressions range. The example uses HubSpot. Change the name to research any competitor.

## Input

```json
{
  "advertisers": [
    "HubSpot"
  ],
  "dateRange": "all-time",
  "advertiserMatch": "linkedin",
  "sortBy": "newest",
  "maxAdsPerSearch": 20,
  "includeDetails": true,
  "onlyNewAds": false,
  "watchlistName": "default",
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  },
  "maxConcurrency": 8
}
```

## Output

```json
{
  "imageUrl": {
    "label": "Image",
    "format": "image"
  },
  "advertiserName": {
    "label": "Advertiser",
    "format": "text"
  },
  "headline": {
    "label": "Headline",
    "format": "text"
  },
  "body": {
    "label": "Ad text",
    "format": "text"
  },
  "formatLabel": {
    "label": "Format",
    "format": "text"
  },
  "callToAction": {
    "label": "Button",
    "format": "text"
  },
  "landingDomain": {
    "label": "Landing domain",
    "format": "text"
  },
  "paidBy": {
    "label": "Paid by",
    "format": "text"
  },
  "adUrl": {
    "label": "Ad link",
    "format": "link"
  }
}
```

## How it works

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

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

### 2. Start the "See the ads HubSpot runs on LinkedIn" task

The LinkedIn Ad Library Scraper: Ads, Impressions & Targeting Actor will start running based on the input automatically. You can also change all the input fields, like advertisers (company names or linkedin company pages), date range, and more, to match your specific use case.

### 3. Receive the "See the ads HubSpot runs on LinkedIn" 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 image, advertiser, headline, 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 "See the ads HubSpot runs on LinkedIn" task via API](https://apify.com/panix/linkedin-ad-library-scraper.md).

## FAQ

### What does this task return?

It returns one row per ad with advertiser, format, dates, impressions range and ad link.

### Do I need an account or API key?

No. It reads the public LinkedIn Ad Library without a login.

### How do I change the example?

Edit the input fields and save the task, or call the Actor with your own input. Every field is explained in the input form.

### How much does a run cost?

You pay per result and a small start fee, with no subscription. The example run costs a few cents at most. See the Actor's pricing tab for exact prices.

## About this Actor

This example demonstrates how to use [LinkedIn Ad Library Scraper: Ads, Impressions & Targeting](https://apify.com/panix/linkedin-ad-library-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/panix/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/panix/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`).
