# Google Ads Transparency Monitor: Competitor Ads Tracker (`khamaryunes/google-ads-competitor-monitor`) Actor

Track competitors' ads in the Google Ads Transparency Center (Google's ad library). New and stopped ads per run, format mix, longest-running creatives. Domain, advertiser ID or brand. No login.

- **URL**: https://apify.com/khamaryunes/google-ads-competitor-monitor.md
- **Developed by:** [Khamar Yunes](https://apify.com/khamaryunes) (community)
- **Categories:** Lead generation, Automation, SEO tools
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.50 / 1,000 ads

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

## Google Ads Transparency Monitor: competitor ads tracker

Track your competitors' Google ads with data from the **Google Ads Transparency Center**, Google's public ad library. Give it a domain, advertiser ID or brand name. Every run returns the ads plus a **competitor report**: ads that are **new since your last run**, ads that **stopped**, active ads, launches in the last 30 days, the format mix (text, image, video) and the **longest-running creatives**. Long-running ads are usually the ones that work.

It works as a Google Ads Transparency scraper (one-off export) and as a monitor (run it on a schedule and get only the changes). No login, no cookies, no proxies needed.

### Quick start

1. Click **Try for free**.
2. In **Competitors**, enter `nike.com` (or `https://www.adidas.mx`, `AR16735076323512287233`, or just `Coca-Cola`).
3. Pick a **Region** (for example `MX` or `US`) and click **Start**.
4. Open the **Ads** and **Competitor reports** tabs in the Output, or export to CSV, Excel or JSON.

#### Example input

```json
{
  "targets": ["nike.com", "adidas", "AR16735076323512287233"],
  "region": "MX",
  "format": "ALL",
  "maxAdsPerTarget": 200,
  "outputMode": "newOnly",
  "includeReport": true,
  "activeWithinDays": 7
}
```

#### Example ad row (from a real run, nike.com, Mexico)

```json
{
  "type": "ad",
  "target": "nike.com",
  "advertiserId": "AR18378488041124659201",
  "advertiserName": "Nike Retail BV",
  "creativeId": "CR10850962091381096449",
  "format": "IMAGE",
  "firstShown": "2021-10-25T07:00:00.000Z",
  "lastShown": "2026-11-25T01:33:44.000Z",
  "daysShown": 1844,
  "domain": "nike.com",
  "imageUrl": null,
  "previewUrl": "https://displayads-formats.googleusercontent.com/ads/preview/content.js?...",
  "region": "MX",
  "adUrl": "https://adstransparency.google.com/advertiser/AR18378488041124659201/creative/CR10850962091381096449?region=MX"
}
```

#### Example competitor report row

```json
{
  "type": "competitor-report",
  "target": "nike.com",
  "adsScanned": 200,
  "totalAdsEstimate": { "low": 50000, "high": 60000 },
  "advertisers": [{ "advertiserId": "AR18378488041124659201", "advertiserName": "Nike Retail BV" }],
  "activeLastNDays": 200,
  "launchedLast30Days": 4,
  "formatMix": { "IMAGE": 52, "TEXT": 148 },
  "isFirstRun": false,
  "newSinceLastRun": 3,
  "newAdIds": ["CR...", "CR...", "CR..."],
  "goneSinceLastRun": null,
  "capped": true,
  "longestRunningAds": [{ "creativeId": "CR10850962091381096449", "format": "IMAGE", "daysShown": 1844 }]
}
```

### How to monitor competitors weekly

1. Save your input as a **Task** (for example "Competitors MX"), with **Output → Only ads new since the last run**.
2. In Apify Console, open **Schedules**, click **Create new**, choose **Weekly** (for example Monday 8:00) and add your Task.
3. On the first run you get every ad as your baseline. After that, each run returns **only new ads** plus one report row per competitor with `newSinceLastRun` and `goneSinceLastRun`.
4. Send the results where your team works. Under the Task's **Integrations**, add Slack, email, Google Sheets, Make, Zapier or a webhook, or pull the dataset through the API.
5. Change tracking is stored in the key-value store `google-ads-monitor-snapshots` in your account, one record per competitor, region and format. Delete a record to reset that baseline.

### Input

| Field | What it does |
|---|---|
| Competitors (`targets`) | Domains, URLs, advertiser IDs (`AR…`) or brand names. A brand name is matched to the advertiser with the most ads. |
| Region | anywhere, US, MX, CA, GB, ES, DE, FR, IT, BR, AR, CO, CL, PE, AU, IN, NL |
| Format | ALL, TEXT, IMAGE, VIDEO |
| Max ads per competitor | 1–5,000 (default 200). Newest-shown ads come first. |
| Output | `all` or `newOnly` |
| Report | One report row per competitor (default on) |
| Active window | An ad counts as active if it was shown in the last N days (default 7) |

### Pricing

Pay per event. You only pay for results, never for platform usage:

- **$1.50 per 1,000 ads** returned.
- **$0.01 per competitor report** (one per competitor per run).
- Apify's small per-run start fee.

Example: a weekly check of 5 competitors in `newOnly` mode that finds 30 new ads costs about $0.05 + $0.045 = **~$0.10 per week**. Set a maximum cost per run and the Actor stops cleanly when it is reached.

### FAQ

**Is this legal?** It reads only data Google publishes for ad transparency, with no login. You are responsible for how you use the data.
**Why is `goneSinceLastRun` null?** Either it's the first run, or the competitor has more ads than your *Max ads per competitor*. Google lists the most recently shown ads first, so an ad missing from a capped list may still be running. Raise the limit for a full stopped-ads count (`capped` tells you which case applies).
**Do I get the ad text?** Text ads come as an archived image (`imageUrl`), and image and video ads as a Google preview link (`previewUrl`). Every row links to the ad page (`adUrl`).
**Does it show spend or impressions?** No. The Transparency Center doesn't publish spend for commercial ads. `daysShown` and `lastShown` are the best activity signals.
**Can I track Meta (Facebook/Instagram) ads too?** A sister Actor for the Meta Ad Library is in the works.

### En español

**Monitor de anuncios de Google de tu competencia.** Pon el dominio (por ejemplo `liverpool.com.mx`), el ID de anunciante o el nombre de la marca, y elige la región `MX`. En cada corrida recibes todos sus anuncios del Centro de Transparencia de Anuncios de Google, además de un reporte por competidor con los anuncios nuevos desde la última corrida, los que dejaron de salir, los formatos (texto, imagen, video) y los anuncios que llevan más tiempo activos, que suelen ser los que mejor les funcionan.
Para vigilar a tu competencia cada semana, guarda la configuración como Task con la salida "Solo anuncios nuevos", crea un Schedule semanal en Apify y conecta los resultados a Google Sheets, Slack o correo. Pagas solo por resultado: $1.50 USD por cada 1,000 anuncios y $0.01 USD por reporte. No necesitas cuenta de Google ni proxies.

***

Independent tool. Not affiliated with or endorsed by Google.

# Changelog

This Actor's version history is a separate document: https://apify.com/khamaryunes/google-ads-competitor-monitor/changelog.md

# Actor input Schema

## `targets` (type: `array`):

Domains (nike.com), advertiser IDs (AR16735076323512287233) or brand names (resolved to the best-matching advertiser).

## `region` (type: `string`):

Where the ads were shown.

## `format` (type: `string`):

Filter by ad format: all formats, text, image or video.

## `maxAdsPerTarget` (type: `integer`):

Maximum number of ads to fetch for each competitor (1–5,000).

## `outputMode` (type: `string`):

All ads found, or only ads new since the last run with the same target, region and format (cheaper for scheduled monitoring).

## `includeReport` (type: `boolean`):

Add a competitor report row per target with new/stopped ads, format mix and longest-running creatives.

## `activeWithinDays` (type: `integer`):

Count an ad as active if it was last shown within this many days.

## Actor input object example

```json
{
  "targets": [
    "nike.com"
  ],
  "region": "anywhere",
  "format": "ALL",
  "maxAdsPerTarget": 200,
  "outputMode": "all",
  "includeReport": true,
  "activeWithinDays": 7
}
```

# Actor output Schema

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

Ad rows from the Google Ads Transparency Center.

## `reports` (type: `string`):

Per-competitor reports with new and stopped ads, format mix, and longest-running creatives.

## `errors` (type: `string`):

Failed targets, if any.

## `runStats` (type: `string`):

Summary counts written to the default key-value store as RUN_STATS.

# 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 = {
    "targets": [
        "nike.com"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("khamaryunes/google-ads-competitor-monitor").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 = { "targets": ["nike.com"] }

# Run the Actor and wait for it to finish
run = client.actor("khamaryunes/google-ads-competitor-monitor").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 '{
  "targets": [
    "nike.com"
  ]
}' |
apify call khamaryunes/google-ads-competitor-monitor --silent --output-dataset

```

## MCP server setup

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

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/rJ1lDTw98ZMpBNqts/builds/Uru91tgMlHZRKg9q8/openapi.json
