# Competitor Ad Tracker - New & Stopped Ads on 7 Ad Libraries (`adintel-labs/competitor-ad-tracker`) Actor

Monitor competitor ads on Google, Meta, LinkedIn, TikTok, Microsoft/Bing, Snapchat & Pinterest on a schedule. Get a feed of newly launched and stopped ads, optional AI summaries of messaging shifts, and Slack/Zapier/Make/n8n webhook alerts.

- **URL**: https://apify.com/adintel-labs/competitor-ad-tracker.md
- **Developed by:** [Abi Fadeyi](https://apify.com/adintel-labs) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $50.00 / 1,000 competitor x platform checks

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

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 examples already wired to this Actor's own input schema, see the [API](#api) section below.

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

# README

## Competitor Ad Tracker — alerts when competitors launch or stop ads (Google, Meta, LinkedIn, TikTok, Bing, Snapchat, Pinterest)

**Put your competitors on a watchlist and get a feed of every NEW and STOPPED ad across 7 public ad libraries — Google Ads Transparency Center, Meta (Facebook & Instagram) Ad Library, LinkedIn Ad Library, TikTok, Microsoft/Bing Ad Library, Snapchat Ads Gallery and Pinterest Ads Repository — with optional AI summaries and a Slack / Zapier / Make / n8n webhook.**

Schedule it daily or weekly. Each run calls the AdIntel Labs scrapers for every competitor × platform, compares the ads with the previous run (stored in a named key-value store) and writes only what changed. The first run records a baseline.

### What can you do with it?

- **Competitor ad monitoring** — know the day a rival launches a new campaign, offer or creative, or pauses one.
- **Messaging-shift alerts** — optional AI summary of the new angles a competitor started testing on each platform.
- **Agency client reporting** — one scheduled watchlist per client, results straight into Slack, Sheets or your CRM.
- **Launch & promo tracking** — spot seasonal pushes (Black Friday, product drops) across search, social and B2B channels.
- **Cross-platform coverage check** — see on which ad libraries a competitor is active at all.

### Quick start

1. Click **Try for free** — the input is pre-filled with a small, fast example (Nike on Google, Bing and Snapchat, 10 ads each).
2. Replace it with your competitors and pick platforms.
3. Add a **Schedule** (Actor → Schedules) and, optionally, a `webhookUrl` for Slack/Zapier/Make/n8n.

```json
{
  "competitors": [{ "name": "Nike", "googleDomain": "nike.com", "microsoftAdvertiser": "Nike", "snapchatAdvertiser": "Nike" }],
  "platforms": ["google", "microsoft", "snapchat"],
  "maxAdsPerPlatform": 10
}
```

### Full input example

```json
{
  "competitors": [
    { "name": "Shopify", "googleDomain": "shopify.com", "metaPage": "20409006880", "linkedinCompany": "shopify", "tiktokKeyword": "shopify" },
    { "name": "IKEA", "googleDomain": "ikea.com", "metaKeyword": "ikea", "pinterestAdvertiser": "IKEA Deutschland", "snapchatAdvertiser": "IKEA" }
  ],
  "platforms": ["google", "meta", "linkedin", "tiktok", "microsoft", "snapchat", "pinterest"],
  "country": "US",
  "euCountry": "DE",
  "maxAdsPerPlatform": 100,
  "webhookUrl": "https://hooks.slack.com/services/…",
  "includeAiAnalysis": true
}
```

| Platform | Child Actor | Competitor field (falls back to `name`) | Coverage |
|---|---|---|---|
| `google` | [Google Ads Transparency Scraper](https://apify.com/adintel-labs/google-ads-transparency-scraper) | `googleDomain` or `googleAdvertiserId` | Global, uses `country` |
| `meta` | [Facebook / Meta Ads Library Scraper](https://apify.com/adintel-labs/meta-ad-library-scraper) | `metaPage` (Page ID) or `metaKeyword` | Global, uses `country` |
| `linkedin` | [LinkedIn Ad Library Scraper](https://apify.com/adintel-labs/linkedin-ad-library-scraper) | `linkedinCompany` | Global |
| `tiktok` | [TikTok Ads Scraper](https://apify.com/adintel-labs/tiktok-ad-library-scraper) | `tiktokKeyword` (required — skipped without it) | Creative Center, uses `country` |
| `microsoft` | [Bing / Microsoft Ad Library Scraper](https://apify.com/adintel-labs/microsoft-ad-library-scraper) | `microsoftAdvertiser` | Ads shown in the EU/EEA |
| `snapchat` | [Snapchat Ads Library Scraper](https://apify.com/adintel-labs/snapchat-ad-library-scraper) | `snapchatAdvertiser` | EU + TR, uses `euCountry` |
| `pinterest` | [Pinterest Ads Library Scraper](https://apify.com/adintel-labs/pinterest-ad-repository-scraper) | `pinterestAdvertiser` (exact advertiser name works best) | EU + NO, BR, TR, uses `euCountry` |

If `platforms` is empty, the tracker checks `google`, `meta`, `linkedin` and `tiktok`; the EU-only libraries are opt-in. For Microsoft and Snapchat the tracker requests only currently running ads (Snapchat `status: ACTIVE` + a 3-day `dateFrom` window, Microsoft a 3-day `dateFrom` window), so baselines contain live ads rather than long-finished ones.

### Sample output

One dataset row per change:

```json
{
  "event": "NEW_AD",
  "competitor": "Nike",
  "platform": "microsoft",
  "adId": "73530116422594",
  "detectedAt": "2026-11-20T16:00:00.000Z",
  "ad": { "advertiserName": "Nike - EMEA", "headline": "…", "landingPageUrl": "https://www.nike.com/…", "startDate": "2023-06-01" }
}
```

- `BASELINE_AD` — first run for that competitor × platform (nothing to compare yet).
- `NEW_AD` / `STOPPED_AD` — ad appeared / disappeared since the last run (`STOPPED_AD` includes `firstSeenAt`).
- `NO_CHANGES` / `CHECK_FAILED` — free status rows so every check is visible (no charge).

A `SUMMARY` record in the key-value store lists counts per competitor × platform (and the AI summary, if enabled). The webhook receives a Slack-compatible `{ text, summary }` JSON when anything changed.

### Pricing (pay per event — no subscription)

| Event | Price | Per 1,000 | When |
|---|---|---|---|
| `competitor-platform-check` | $0.05 | $50.00 | One competitor checked on one platform and diffed (primary) |
| `ad-change-detected` | $0.002 | $2.00 | Each NEW / STOPPED / BASELINE row |
| `ai-ad-analysis` | $0.03 | $30.00 | Optional AI change summary, only when there are new ads and it succeeds |
| Actor start | $0.00005 | — | Apify standard start event |

**Child scraper runs are billed separately** at their own pay-per-ad prices ($1.50–$3.00 per 1,000 ads), because the tracker starts them in your account.

Example: 3 competitors × 3 platforms with `maxAdsPerPlatform: 20` = 9 checks ($0.45) + up to 180 scraped ads (≈ $0.36) per run, plus $0.002 per change row (the first run's baseline is at most 180 rows ≈ $0.36). Lower `maxAdsPerPlatform` or check weekly to spend less, and set **Max cost per run** to cap any run.

### FAQ

**How often should I run it?** Daily for fast-moving consumer brands, weekly for B2B. Use different `stateStoreName` values for separate watchlists or clients.

**Why only EU data for Microsoft, Snapchat and Pinterest?** Those platforms only publish ads shown in the EU (Pinterest also Norway, Brazil and Turkey; Snapchat also Turkey) under the Digital Services Act. US-only campaigns are not in those libraries.

**What happens if a child scraper fails?** That competitor × platform keeps its previous state (no false "stopped" alerts), a `CHECK_FAILED` row is written and the run continues with the others.

**Can I use my own copies of the scrapers?** Yes — set `actorIds`, e.g. `{"snapchat": "me/snapchat-ad-library-scraper"}`.

**Can I use it from an AI agent or my own app?** Yes — see *Integrations & API* below.

**Something broke?** Open an issue on the Issues tab with your run ID. We run automated health checks on all AdIntel Labs Actors daily and fix breakages as quickly as we can.

### Integrations & API

Use this Actor from code, no-code tools or AI agents:

- **REST API** — `POST https://api.apify.com/v2/acts/adintel-labs~competitor-ad-tracker/run-sync-get-dataset-items?token=<APIFY_TOKEN>` with the input JSON as the body returns the ads directly (waits up to 5 minutes; use `/runs` + webhooks for longer jobs).
- **n8n** — Apify node (`@apify/n8n-nodes-apify`) → *Run an Actor and get dataset*, Actor `adintel-labs/competitor-ad-tracker`.
- **Make** — Apify app → *Run an Actor* (run synchronously) → *Get Dataset Items*, or trigger on *Watch Actor Runs*.
- **Zapier** — Apify app → *Run Actor* action, or *Finished Actor Run* trigger + *Fetch Dataset Items* (for runs longer than Zapier's 30 s sync limit).
- **AI agents (MCP)** — add `https://mcp.apify.com?tools=adintel-labs/competitor-ad-tracker` to Claude, Cursor, VS Code or any MCP client; the Actor appears as the tool `adintel-labs--competitor-ad-tracker`.
- **Schedules & webhooks** — run it daily/weekly with Apify Schedules and push results to Slack, Google Sheets, Airtable, S3 and more.

```js
import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: process.env.APIFY_TOKEN });
const run = await client.actor('adintel-labs/competitor-ad-tracker').call({"competitors": [{"name": "Nike", "googleDomain": "nike.com", "microsoftAdvertiser": "Nike", "snapchatAdvertiser": "Nike"}], "platforms": ["google", "microsoft", "snapchat"], "maxAdsPerPlatform": 10}, { maxTotalChargeUsd: 1 });
const { items } = await client.dataset(run.defaultDatasetId).listItems();
```

```python
import os
from apify_client import ApifyClient  # pip install apify-client
client = ApifyClient(os.environ["APIFY_TOKEN"])
run = client.actor("adintel-labs/competitor-ad-tracker").call(run_input={"competitors": [{"name": "Nike", "googleDomain": "nike.com", "microsoftAdvertiser": "Nike", "snapchatAdvertiser": "Nike"}], "platforms": ["google", "microsoft", "snapchat"], "maxAdsPerPlatform": 10})
for ad in client.dataset(run.default_dataset_id).iterate_items():  # apify-client 1.x: run["defaultDatasetId"]
    print(ad)
```

### More AdIntel Labs ad-library Actors

All built for the same job — competitor ad research — with a similar clean JSON schema and pay-per-ad pricing:

- [Google Ads Transparency Scraper](https://apify.com/adintel-labs/google-ads-transparency-scraper) — Search, Display & YouTube ads from the Google Ads Transparency Center
- [Facebook / Meta Ads Library Scraper](https://apify.com/adintel-labs/meta-ad-library-scraper) — Facebook & Instagram ads from the Meta Ad Library
- [LinkedIn Ad Library Scraper](https://apify.com/adintel-labs/linkedin-ad-library-scraper) — B2B ads with EU impressions & targeting
- [TikTok Ads Scraper](https://apify.com/adintel-labs/tiktok-ad-library-scraper) — Creative Center Top Ads + EU Ad Library (Beta)
- [Bing / Microsoft Ad Library Scraper](https://apify.com/adintel-labs/microsoft-ad-library-scraper) — Bing search & shopping ads shown in the EU/EEA
- [Snapchat Ads Library Scraper](https://apify.com/adintel-labs/snapchat-ad-library-scraper) — Snap Ads Gallery creatives & impressions (EU + TR)
- [Pinterest Ads Library Scraper](https://apify.com/adintel-labs/pinterest-ad-repository-scraper) — Pinterest Ads Repository: reach & targeting (EU, NO, BR, TR)

Browse them all at [apify.com/adintel-labs](https://apify.com/adintel-labs).

# Actor input Schema

## `competitors` (type: `array`):

One object per competitor: {name, googleDomain?, googleAdvertiserId?, metaPage?, metaKeyword?, linkedinCompany?, tiktokKeyword?, microsoftAdvertiser?, snapchatAdvertiser?, pinterestAdvertiser?}. Missing platform fields fall back to `name` (TikTok is only checked when tiktokKeyword is set).

## `platforms` (type: `array`):

Which ad libraries to check. Empty = google, meta, linkedin, tiktok (the EU-only Microsoft, Snapchat and Pinterest libraries are opt-in).

## `country` (type: `string`):

2-letter ISO country code used for all platforms.

## `euCountry` (type: `string`):

2-letter code used for the EU-only libraries (Snapchat: EU + TR, Pinterest: EU + NO, BR, TR; Microsoft covers the whole EU/EEA). Empty = use Country if it is covered, otherwise DE.

## `maxAdsPerPlatform` (type: `integer`):

Cap per child scraper run.

## `webhookUrl` (type: `string`):

Receives a JSON summary when ads are launched or stopped.

## `stateStoreName` (type: `string`):

Named key-value store that keeps the previous snapshot (use different names for separate watchlists).

## `actorIds` (type: `object`):

Override child Actor IDs, e.g. {"google": "username/google-ads-transparency-scraper", "snapchat": "username/snapchat-ad-library-scraper"}.

## `childMemoryMbytes` (type: `integer`):

Memory for each child scraper run (default 512 MB for Google, Microsoft, Snapchat and Pinterest; 2048 MB for the Meta, LinkedIn and TikTok browser scrapers).

## `dryRun` (type: `boolean`):

Log the planned child calls without running them.

## `includeAiAnalysis` (type: `boolean`):

Adds aiAnalysis (angle, hook, offer, audience, emotional triggers, funnel stage) to each ad. Charged per successfully analysed ad only.

## `llmApiKey` (type: `string`):

OpenAI-compatible API key. Leave empty to use the Actor's built-in key (if configured).

## `llmModel` (type: `string`):

Model name for the OpenAI-compatible endpoint.

## `llmBaseUrl` (type: `string`):

OpenAI-compatible base URL (OpenAI, OpenRouter, Groq, xAI...).

## Actor input object example

```json
{
  "competitors": [
    {
      "name": "Nike",
      "googleDomain": "nike.com",
      "microsoftAdvertiser": "Nike",
      "snapchatAdvertiser": "Nike"
    }
  ],
  "platforms": [
    "google",
    "microsoft",
    "snapchat"
  ],
  "country": "US",
  "maxAdsPerPlatform": 10,
  "stateStoreName": "competitor-ad-tracker-state",
  "dryRun": false,
  "includeAiAnalysis": false,
  "llmModel": "gpt-4o-mini",
  "llmBaseUrl": "https://api.openai.com/v1"
}
```

# Actor output Schema

## `changeEvents` (type: `string`):

Dataset of NEW_AD, STOPPED_AD, and BASELINE_AD events detected in this run.

## `summary` (type: `string`):

Key-value store record summarizing new, stopped, and still-running ads per competitor and platform.

# 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 = {
    "competitors": [
        {
            "name": "Nike",
            "googleDomain": "nike.com",
            "microsoftAdvertiser": "Nike",
            "snapchatAdvertiser": "Nike"
        }
    ],
    "platforms": [
        "google",
        "microsoft",
        "snapchat"
    ],
    "maxAdsPerPlatform": 10
};

// Run the Actor and wait for it to finish
const run = await client.actor("adintel-labs/competitor-ad-tracker").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 = {
    "competitors": [{
            "name": "Nike",
            "googleDomain": "nike.com",
            "microsoftAdvertiser": "Nike",
            "snapchatAdvertiser": "Nike",
        }],
    "platforms": [
        "google",
        "microsoft",
        "snapchat",
    ],
    "maxAdsPerPlatform": 10,
}

# Run the Actor and wait for it to finish
run = client.actor("adintel-labs/competitor-ad-tracker").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

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

```

## CLI example

```bash
echo '{
  "competitors": [
    {
      "name": "Nike",
      "googleDomain": "nike.com",
      "microsoftAdvertiser": "Nike",
      "snapchatAdvertiser": "Nike"
    }
  ],
  "platforms": [
    "google",
    "microsoft",
    "snapchat"
  ],
  "maxAdsPerPlatform": 10
}' |
apify call adintel-labs/competitor-ad-tracker --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,adintel-labs/competitor-ad-tracker"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/hAPlR8PKGxQrxTL4K/builds/NnUtDdQdyw4t7BFyH/openapi.json
