# Alert me when a competitor starts or stops LinkedIn ads

**Use case:** 

Watch competitors on a schedule and get a row only when one starts or stops running LinkedIn ads, or its ad volume moves 25%+ since the last report.

## Input

```json
{
  "companies": [
    "HubSpot",
    "Salesforce",
    "Zendesk"
  ],
  "testRun": false,
  "onlyFound": true,
  "includeKeywords": [],
  "excludeKeywords": [],
  "deltaMode": true,
  "changeThresholdPct": 25,
  "deltaName": "competitor-linkedin-ads-alert",
  "columns": [
    "advertiserName",
    "adCount",
    "adsLast30d",
    "activeLast30d",
    "adTypesInSample",
    "sampleAds",
    "adLibraryUrl",
    "isNew",
    "changeType",
    "changePct",
    "monitorFirstSeenAt"
  ],
  "maxConcurrency": 5,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "UNBLOCKER"
    ]
  }
}
```

## Output

```json
{
  "query": {
    "label": "Company or brand submitted",
    "format": "string"
  },
  "found": {
    "label": "Found?",
    "format": "boolean"
  },
  "status": {
    "label": "Status",
    "format": "string"
  },
  "message": {
    "label": "Details",
    "format": "string"
  },
  "advertiserName": {
    "label": "Advertiser",
    "format": "string"
  },
  "adCount": {
    "label": "Ads in library (exact)",
    "format": "number"
  },
  "adsLast30d": {
    "label": "Ads shown in last 30 days",
    "format": "number"
  },
  "activeLast30d": {
    "label": "Active in last 30 days?",
    "format": "boolean"
  },
  "adTypesInSample": {
    "label": "Ad types (sampled)",
    "format": "array"
  },
  "sampleAds": {
    "label": "Sample ads",
    "format": "array"
  },
  "adLibraryUrl": {
    "label": "Ad Library search page",
    "format": "string"
  },
  "isNew": {
    "label": "Presence changed?",
    "format": "boolean"
  },
  "changeType": {
    "label": "Change type",
    "format": "string"
  },
  "changePct": {
    "label": "Change (%)",
    "format": "number"
  },
  "monitorFirstSeenAt": {
    "label": "Monitored since",
    "format": "string"
  },
  "scrapedAt": {
    "label": "Checked at",
    "format": "string"
  }
}
```

## About this Actor

This example demonstrates how to use [LinkedIn Ad Library Checker: Is a Company Running LinkedIn Ads?](https://apify.com/accountable_eel/linkedin-ads-presence-lookup.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/accountable_eel/linkedin-ads-presence-lookup.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/accountable_eel/linkedin-ads-presence-lookup.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`).
