# Track a Competitor's Active LinkedIn Ads

**Use case:** 

Pulls every ad a single company is currently running on LinkedIn, with the creative, headline, body copy, CTA, destination URL, run dates and targeting for each one. Targets the advertiser by numeric LinkedIn company ID so you get that one company rather than every advertiser with a similar name. Run it on a schedule to see new creatives as they launch.

## Input

```json
{
  "companies": [
    "microsoft"
  ],
  "keywords": [],
  "companyIds": [
    "3650502"
  ],
  "countries": [],
  "maxResults": 40,
  "maxResultsPerQuery": 40,
  "adTypes": [],
  "fetchAdDetails": true,
  "enrichAdvertisers": false,
  "aiModel": "claude-haiku-4-5",
  "concurrency": 5,
  "searchUrls": [],
  "adUrls": []
}
```

## Output

```json
{
  "adLibraryUrl": {
    "label": "Ad Library URL",
    "format": "string"
  },
  "advertiser": {
    "label": "Advertiser",
    "format": "string"
  },
  "advertiserLogo": {
    "label": "Advertiser logo",
    "format": "string"
  },
  "headline": {
    "label": "Headline",
    "format": "string"
  },
  "description": {
    "label": "Description",
    "format": "string"
  },
  "cta": {
    "label": "CTA",
    "format": "string"
  },
  "destinationUrl": {
    "label": "Destination URL",
    "format": "string"
  },
  "landingPage": {
    "label": "Landing page",
    "format": "string"
  },
  "adType": {
    "label": "Ad type",
    "format": "string"
  },
  "creativeType": {
    "label": "Creative type",
    "format": "string"
  },
  "image": {
    "label": "Image",
    "format": "string"
  },
  "video": {
    "label": "Video",
    "format": "string"
  },
  "organicVideo": {
    "label": "Organic video",
    "format": "string"
  },
  "carouselImages": {
    "label": "Carousel images",
    "format": "array"
  },
  "sponsoredMessageSender": {
    "label": "Message sender",
    "format": "string"
  },
  "sponsoredMessageSenderAvatar": {
    "label": "Message sender avatar",
    "format": "string"
  },
  "sponsoredMessageButtons": {
    "label": "Message buttons",
    "format": "array"
  },
  "startDate": {
    "label": "Start date",
    "format": "string"
  },
  "endDate": {
    "label": "End date",
    "format": "string"
  },
  "daysRunning": {
    "label": "Days running",
    "format": "integer"
  },
  "adDuration": {
    "label": "Duration",
    "format": "string"
  },
  "totalImpressions": {
    "label": "Impressions",
    "format": "string"
  },
  "impressionsByCountry": {
    "label": "Impressions by country",
    "format": "array"
  },
  "targetingLocation": {
    "label": "Target: location",
    "format": "string"
  },
  "targetingLanguage": {
    "label": "Target: language",
    "format": "string"
  },
  "advertiserLinkedinPage": {
    "label": "Advertiser page",
    "format": "string"
  },
  "poster": {
    "label": "Poster",
    "format": "string"
  },
  "posterTitle": {
    "label": "Poster title",
    "format": "string"
  },
  "promotedBy": {
    "label": "Promoted by",
    "format": "string"
  },
  "id": {
    "label": "Ad ID",
    "format": "string"
  },
  "_searchedByField": {
    "label": "Searched by (field)",
    "format": "string"
  },
  "_searchedByValue": {
    "label": "Searched by (value)",
    "format": "string"
  },
  "_scrapedAt": {
    "label": "Scraped at",
    "format": "string"
  }
}
```

## About this Actor

This example demonstrates how to use [LinkedIn Ad Library Scraper [NO COOKIES] ✅](https://apify.com/unseenuser/linkedin-ads.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/unseenuser/linkedin-ads.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/unseenuser/linkedin-ads.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`).
