# Competitor Ads Tracker for Meta and Google Ad Libraries (`wisekit/competitor-ads`) Actor

See your competitors' ads from the Meta Ad Library and Google Ads Transparency Center in one table, with start date, days active, long-running and new-this-week flags, and a per-brand summary. $0.05 per brand; the two upstream Actors' fees are charged on top. Free demo. Works in AI agents via MCP.

- **URL**: https://apify.com/wisekit/competitor-ads.md
- **Developed by:** [Wisekit](https://apify.com/wisekit) (community)
- **Categories:** Marketing, Social media
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$50.00 / 1,000 brand analyseds

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 Ads Tracker for Meta and Google Ad Libraries

Checking what your competitors are running means opening the Meta Ad Library, then the Google Ads Transparency Center, searching each brand twice, and copying dates into a sheet by hand. This Actor does it for a list of brands in one run: **one table of their ads from both libraries**, with the start date, how many days each ad has been live, a **long-running** flag, a **new this week** flag, and one summary line per brand that also tells you where no ads were found.

**$0.05 per brand analysed.** The two upstream Actors' fees are charged on top (see [What it costs](#what-it-costs)). Want to see the output first? Turn on **Free demo**: two fictional brands, no upstream run, no charge.

> Not affiliated with or endorsed by Meta or Google. The names describe the ad libraries the data comes from. For research on companies' ads; don't copy other brands' ads or creatives.

### What does Competitor Ads Tracker do?

You give it competitors as websites or company names. For each brand it starts two well-rated Apify Store Actors **in your own Apify account** and merges what they return:

- **Meta Ad Library** through [automation-lab/facebook-ads-library](https://apify.com/automation-lab/facebook-ads-library) (Facebook, Instagram, Messenger and Threads ads of one Facebook Page).
- **Google Ads Transparency Center** through [silva95gustavo/google-ads-scraper](https://apify.com/silva95gustavo/google-ads-scraper) (search, display and YouTube ads of the advertiser behind a website).

This Actor itself never visits an ad library: it only calls those two Actors through the Apify API and tidies their results. Those upstream runs happen in your account under each upstream Actor's own terms, linked on its Store page ([automation-lab/facebook-ads-library](https://apify.com/automation-lab/facebook-ads-library), [silva95gustavo/google-ads-scraper](https://apify.com/silva95gustavo/google-ads-scraper)).

You get:

- **One row per ad**: platform, the advertiser the library matched, headline, ad text, call to action, format, up to 5 media links, landing page, `startDate`, `lastSeenDate`, `isActive`, `daysActive`, `longRunning` and `newThisWeek`, plus a link to the ad in the library.
- **One summary row per brand**: ads found per library, how many are long-running (and still running), how many started this week, the oldest start date, and **which libraries had no ads found** or no result at all.
- **CSV files** `ads.csv` and `brands.csv` in the run's key-value store, ready for a spreadsheet. No Google sign-in or extra account needed.

### Long-running ads: what the flag means

Marketers often call ads that have run for a long time "winning ads". Run length doesn't prove an ad is profitable: it is often a sign the advertiser keeps paying for it, nothing more. So this Actor only states the facts: `daysActive` and `longRunning` (live for at least your threshold, **30 days by default**, which you can change in the input).

### What it costs

You pay two things, and your **maximum charge per run covers both**:

1. **This Actor: $0.05 per brand analysed**, charged once per brand when at least one library returned a valid result (ads, or a successful search with no ads found). Brands where every library failed, was switched off or was skipped are free, and so is the demo.
2. **Upstream fees, charged on top by the two Actors this one starts in your account**, at their own prices (checked 23 Nov 2026; they can change, and paid Apify plans get lower tiers):

   - Meta ([automation-lab/facebook-ads-library](https://apify.com/automation-lab/facebook-ads-library)): $0.005 per run + $0.000575 per ad on the free plan until 30 Nov 2026, then $0.0005 ($0.0005 on Starter).
   - Google ([silva95gustavo/google-ads-scraper](https://apify.com/silva95gustavo/google-ads-scraper)): $0.0019 per ad on the free plan ($0.0016 on Starter, $0.0009 on Gold and up), $0.004 minimum per run.

   Those runs happen in your account under each upstream Actor's own terms, linked on its Store page. Starting this Actor starts them for you, so read those terms first.

**Example:** 10 brands on a Starter plan, both libraries, 25 ads each = 10 × $0.05 = **$0.50 here**, plus up to 10 × ($0.0175 Meta + $0.0401 Google) = **up to $0.58 upstream**: **up to about $1.08 in total**. On the free plan (1 brand per run) the same brand costs $0.05 + up to $0.067 upstream ($0.0194 Meta + $0.0476 Google) = **up to $0.117**. Brands with fewer ads cost less upstream.

Before each brand, the Actor checks what is left of your maximum charge and gives each upstream run a matching `maxTotalChargeUsd`, cutting the number of ads if needed, so the total of both stays under it. If there isn't enough left for a brand, it is skipped for free. You will see the upstream runs in your own run list; each brand's summary shows `upstreamFeesUsdUpTo`, an upper bound of what they charged.

### How to use it

1. Enter competitors in **Competitors (brands)**, one per line: `allbirds.com`, or `Allbirds`. A website gives the best Google match.
2. For Meta, add the brand's Facebook Page after `|`: `allbirds.com | https://www.facebook.com/allbirds`. Without it, the Actor tries `facebook.com/allbirds` (the first part of the website, or the name squashed) and shows which Page it matched, marked `guessed_page`.
3. Tick **Ad libraries**: Meta, Google or both. Set **Max ads per library per brand** (default 25) and the **Long-running threshold** (default 30 days).
4. Click **Start**, then open the **Brand summaries** or **Ads** view, or download `ads.csv` and `brands.csv` from the key-value store.

Agent or API example:

```json
{
  "brands": ["allbirds.com | https://www.facebook.com/allbirds", "gymshark.com"],
  "platforms": ["meta", "google"],
  "maxAdsPerPlatform": 25,
  "longRunningDays": 30
}
```

### Input

| Field | Default | Notes |
|---|---|---|
| `brands` | (required) | Websites or company names, one per line, optionally `|` + Facebook Page URL. Up to 50 per run (1 on the Apify free plan). Companies only. |
| `platforms` | `["meta", "google"]` | `meta`, `google` or both. Each one starts one upstream run per brand in your account. The form starts with Meta only ticked (a cheap first run); API and agent calls that leave it out get both. |
| `maxAdsPerPlatform` | 25 | 1 to 300 ads per library per brand. Upstream fees grow with it. |
| `longRunningDays` | 30 | Days live before an ad is flagged `longRunning`. |
| `country` | `ALL` | Two-letter code (`US`, `GB`, `AU`...) to see only ads shown there. |
| `maxConcurrency` | 2 | Brands in parallel (1 to 5). Each brand uses Meta 512 MB + Google 1 GB of your memory limit. |
| `demo` | false | Fictional sample rows, no upstream run, no charge. |

### Output

Every row has a `type`:

- `brand_summary`: one per brand. `metaStatus`, `googleStatus`, `metaAdvertiser`, `googleAdvertiser`, ads per library, `longRunningAds`, `longRunningActiveAds`, `newThisWeekAds`, `oldestAdStart`, `platformsWithNoAdsFound`, `platformsWithoutResult`, `charged` and a one-line `summary`.
- `ad`: one per ad, with `advertiserName`, `advertiserId`, `matchedBy` and `matchConfidence` (`page_you_gave`, `guessed_page`, `domain` or `name_only`) so you can check the right company was matched.
- `platform_status`: why a library has no ads for a brand (free). `no_ads_found` means **no ads found in that library for this query**: library coverage, regions and name matching vary, so it does not mean the brand isn't advertising. Other values: `source_unavailable`, `source_failed`, `source_changed`, `platform_disabled`, `excluded_by_request`, `skipped_max_charge`, `skipped_run_limit`, `skipped_plan_limit`.
- `invalid_input`: a line that wasn't a website or company name (free).

Example ad row (values shortened):

```json
{
  "type": "ad", "brand": "shopify.com", "platform": "meta", "library": "Meta Ad Library",
  "advertiserName": "Shopify", "matchedBy": "facebook_page", "matchConfidence": "page_you_gave",
  "headline": "Bring your business to life", "adText": "Turn your daydream into your dream job...",
  "cta": "Learn more", "format": "DCO", "landingUrl": "https://www.shopify.com/",
  "startDate": "2025-10-17", "lastSeenDate": "2026-02-18", "isActive": false,
  "daysActive": 125, "longRunning": true, "newThisWeek": false
}
```

### What is left out, on purpose

- **No personal or targeting data.** Each row is built from a fixed list of fields. Page owner addresses and phone numbers, payer and beneficiary names, "paid for by" lines, targeting, age and gender breakdowns, reach, impressions and spend are dropped and never written to this Actor's output. The upstream runs' own datasets in your account keep what those Actors return (Apify deletes unnamed datasets after your plan's retention period).
- **Only the brand's own ads.** Google's search by website also returns other advertisers whose ads link to the site (resellers, agencies, affiliates, sometimes individuals), and a guessed Facebook Page can belong to someone else. Ads whose advertiser name doesn't match the brand are left out (`otherAdvertiserAdsDropped` counts them). If a brand advertises under a different company name, enter that name instead of the website. A Facebook Page you give is always used as is.
- **Political and issue ads are removed where the library marks them (Meta).** `politicalAdsDropped` counts them. The Google upstream doesn't mark political ads, so a rare political ad from the matched advertiser can appear in the Google rows. The upstream Actor may still have fetched and charged for dropped ads, and for other advertisers' ads, in your account.
- **No downloads.** Media are links as the library serves them; nothing is downloaded or re-hosted. Library media links can expire.
- **No AI.** Nothing is sent to an AI model.

### If an upstream Actor fails or changes

Each library is independent. If one upstream Actor fails, times out with nothing, is removed, switches to a different pricing model or permissions, or changes its output format, that library gets a free status row for the brand and the other library still runs. A timed-out upstream run that returned some ads is used as a partial list and says so. A brand is charged only when at least one library returned a valid result.

### FAQ

**Does it show every ad a brand runs?** No. It shows what the two libraries return for the match it made, up to your ad limit. Coverage differs by library and region.

**Why do I see extra runs in my account?** Those are the upstream Actors this one starts for you. They run under your account so their fees are yours, at their prices, capped by your maximum charge.

**Can I remove my brand or my ads?** Yes. Open an issue on this Actor's Issues tab. Brands on our takedown list are never run and come back as free `excluded_by_request` rows. Advertisers on the list (by library advertiser ID or by name) are left out of every brand's results, whoever runs it; `takedownAdsDropped` counts them.

**Is it safe on the Apify free plan?** Yes: one brand per run as a preview. Each brand starts up to two upstream runs (512 MB and 1 GB), so keep **Brands at the same time** low.

Questions or problems: use the Issues tab. More Actors from Wisekit: [apify.com/wisekit](https://apify.com/wisekit).

# Actor input Schema

## `brands` (type: `array`):

Required. Companies to check, one per line: a website ("allbirds.com") or a company name ("Allbirds"). A website gives the best Google match. For Meta, add the brand's Facebook Page after " | ", for example "allbirds.com | https://www.facebook.com/allbirds"; without it we try facebook.com/<first part of the website or the name squashed> and show which Page matched. For companies' ads only, not for researching individuals. Up to 50 per run (1 on the Apify free plan). Agent example: {"brands":\["allbirds.com | https://www.facebook.com/allbirds","gymshark.com"]}.

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

Which ad libraries to search: "meta" (Meta Ad Library, via automation-lab/facebook-ads-library: $0.005 per run + $0.000575 per ad on the free plan until 30 Nov 2026, then $0.0005; $0.0005 on Starter; checked 23 Nov 2026) and "google" (Google Ads Transparency Center, via silva95gustavo/google-ads-scraper: $0.0019 per ad at free-plan prices, $0.0016 starter, less on higher plans; $0.004 minimum per run). Each library you tick starts one upstream run per brand in your account. Each upstream run is under that Actor's own terms (see its Store page). Default for API calls: both. The form starts with Meta only for a cheap first run.

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

The most ads to fetch from each library for each brand (1 to 300). Upstream fees grow with it: 25 ads cost up to about $0.0194 on Meta and $0.0476 on Google per brand at free-plan prices ($0.067 for both). Default 25.

## `longRunningDays` (type: `integer`):

An ad is flagged longRunning when it has been live at least this many days (start date to end date, or to today while still running). A long run often means the advertiser keeps paying for it, but run length doesn't prove an ad is profitable. Default 30.

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

Two-letter country code (for example "US", "GB", "AU") to see only ads shown there, or "ALL" for every country. Default ALL.

## `maxConcurrency` (type: `integer`):

How many brands run in parallel (1 to 5). Each brand starts one upstream run per library in your account (Meta 512 MB, Google 1 GB), so on the Apify free plan keep it at 1 or 2. No extra cost. Default 2.

## `demo` (type: `boolean`):

Shows two fictional brands with sample ads, a brand summary and a "no ads found" row. No upstream Actor is started and nothing is charged; the brands you entered are ignored. Default off.

## Actor input object example

```json
{
  "brands": [
    "shopify.com | https://www.facebook.com/shopify"
  ],
  "platforms": [
    "meta"
  ],
  "maxAdsPerPlatform": 5,
  "longRunningDays": 30,
  "country": "ALL",
  "maxConcurrency": 2,
  "demo": false
}
```

# Actor output Schema

## `ads` (type: `string`):

One row per ad: platform, matched advertiser, ad text, landing page, start date, days active, long-running and new-this-week flags.

## `brands` (type: `string`):

One row per brand: what each library returned (ads found, no ads found, or why there is no result) and the long-running and new counts.

## `adsCsv` (type: `string`):

Every ad row as a CSV file, ready for a spreadsheet.

## `brandsCsv` (type: `string`):

One line per brand as a CSV file.

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

Counts per platform and status, the upstream runs started in your account and their fees (upper bound).

# 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 = {
    "brands": [
        "shopify.com | https://www.facebook.com/shopify"
    ],
    "platforms": [
        "meta"
    ],
    "maxAdsPerPlatform": 5
};

// Run the Actor and wait for it to finish
const run = await client.actor("wisekit/competitor-ads").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 = {
    "brands": ["shopify.com | https://www.facebook.com/shopify"],
    "platforms": ["meta"],
    "maxAdsPerPlatform": 5,
}

# Run the Actor and wait for it to finish
run = client.actor("wisekit/competitor-ads").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 '{
  "brands": [
    "shopify.com | https://www.facebook.com/shopify"
  ],
  "platforms": [
    "meta"
  ],
  "maxAdsPerPlatform": 5
}' |
apify call wisekit/competitor-ads --silent --output-dataset

```

## MCP server setup

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

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/MEuscPU5jLL0fcVMk/builds/zncS1SY2Qp2N6DTOF/openapi.json
