# Google Ads Transparency Scraper & Competitor Ad Monitor (`wilanibe/google-ads-transparency-monitor`) Actor

Get any competitor's Google ads from the Ads Transparency Center by website, advertiser name or ID: format, images, first and last shown dates, countries. Schedule it to see which ads are new, running or stopped.

- **URL**: https://apify.com/wilanibe/google-ads-transparency-monitor.md
- **Developed by:** [Wilson Anibe](https://apify.com/wilanibe) (community)
- **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 Scraper & Competitor Ad Monitor

See every Google ad a competitor runs: search, display, YouTube and Shopping ads from Google's Ads Transparency Center. Look up any website, advertiser name or advertiser ID and get each ad's format, images, first and last shown dates and the countries it ran in. Schedule it, and every run tells you which ads are **new**, which are **still running** and which have **stopped**.

### What you can use it for

- **Competitor monitoring.** Run it weekly on your competitors' websites and get a list of the ads they launched or paused since last week.
- **Creative research.** See which ads a brand keeps running for months. Long-running ads are usually the ones that work.
- **Market entry and localisation.** See which countries a competitor advertises in, and what they show there.
- **Agency pitches and audits.** Pull a prospect's full Google ad history in minutes.
- **Brand protection.** Find advertisers sending traffic to your domain, including resellers and impostors.

### What you can give it

| Input | Example | Returns |
|---|---|---|
| Websites | `nike.com`, `https://www.canva.com` | Ads pointing to that website, from every advertiser |
| Advertiser names | `Coca-Cola` | Ads from the matching verified advertiser accounts |
| Advertiser IDs or URLs | `AR06641858037806006273` or the advertiser page URL from adstransparency.google.com | Ads from exactly that advertiser |

Filters: countries (two-letter codes such as US, GB, DE), ad format (text, image, video), and "shown within the last N days".

### Sample output

One item per ad. A real result, shortened:

```json
{
  "adId": "CR01458448993959804929",
  "advertiserId": "AR10888897372843147265",
  "advertiserName": "Notion Labs Japan",
  "targetDomain": "notion.so",
  "format": "image",
  "firstShown": "2026-04-21",
  "lastShown": "2026-11-21",
  "daysRunning": 215,
  "isActive": true,
  "countries": [
    { "country": "JP", "lastShown": "2026-11-21" },
    { "country": "US", "lastShown": "2026-11-20" }
  ],
  "imageUrls": [
    "https://tpc.googlesyndication.com/archive/simgad/13309407416081113412",
    "https://tpc.googlesyndication.com/archive/simgad/5595968899261348216"
  ],
  "previewUrl": null,
  "variantCount": 3,
  "url": "https://adstransparency.google.com/advertiser/AR10888897372843147265/creative/CR01458448993959804929",
  "changeStatus": "running",
  "sourceType": "domain",
  "source": "notion.so",
  "status": "ok",
  "statusReason": "Ad extracted"
}
```

### Monitoring competitors over time

Turn on **Track changes** (on by default) and schedule the Actor, for example every Monday. Each ad gets a `changeStatus`:

| changeStatus | Meaning |
|---|---|
| `first_run` | First run of this monitor, nothing to compare yet |
| `new` | Not seen in the previous run |
| `running` | Shown today or yesterday |
| `stopped` | Was running at the previous run, not shown since |
| `inactive` | Not running now and was not running at the previous run either |

The run summary (`SUMMARY` in the key-value store) counts each status and lists ads that were running last time but were not returned at all this time.

Runs are compared when they have the same websites, names, IDs, countries and format. To compare runs whose input changes, give them the same **Monitor name**. Change tracking is free.

### How much does it cost?

**$1.50 per 1,000 ads** ($0.0015 per ad), plus $0.00005 per run start. Example: monitoring 10 competitors weekly with up to 100 ads each costs at most $1.50 a week.

Sources with no ads, invalid inputs and sources that fail are **not charged**. If you set a maximum charge per run, the run stops cleanly at that limit.

### Input options

- **Max ads per website, name or ID** (`maxAdsPerSource`): default 100, up to 10,000. Most recently shown ads come first.
- **Advertisers per name** (`maxAdvertisersPerName`): big brands often have several advertiser accounts (one per country or agency). Default 3.
- **Include countries and all ad variants** (`includeDetails`): on by default.
- **Proxy:** residential proxy is required, because Google refuses requests from cloud servers. It is the default.

### Statuses

Every result has a `status`:

| status | Meaning | Charged |
|---|---|---|
| `ok` | Ad extracted | Yes |
| `no_ads` | No ads for this source and filters, or no advertiser with that name | No |
| `source_error` | Google refused the requests after all retries | No |
| `invalid_input` | Not a valid website domain or advertiser ID | No |

### Notes and limits

- Data comes from Google's public Ads Transparency Center. No sign-in is used.
- **Ad text:** image ads and many text ads come as images (`imageUrls`). For video ads and some text ads, Google exposes only a rendered preview (`previewUrl`), so the ad text and video ID are not returned as plain data. Open `url` to see the ad as Google shows it.
- Google does not publish spend, impressions or targeting for most commercial ads. EU-delivered and political ads have extra disclosures on the ad page.
- `isActive` and change statuses depend on Google's last shown date, which can lag by about a day.
- Advertiser name matching uses Google's own advertiser search. For exact results, use advertiser IDs.

### Questions and feedback

Open an issue on the **Issues** tab with a run ID if something is missing or wrong.

# Changelog

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

# Actor input Schema

## `domains` (type: `array`):

Competitor websites, for example nike.com or https://www.canva.com. Returns ads that send people to this website, from every advertiser.

## `advertiserNames` (type: `array`):

Advertiser names as verified with Google, for example Coca-Cola. Each name is matched to up to the number of advertisers set below, because big brands often have several advertiser accounts.

## `advertiserIds` (type: `array`):

Advertiser IDs (AR followed by digits) or Ads Transparency Center advertiser URLs. The most precise option.

## `maxAdsPerSource` (type: `integer`):

Ads are returned most recently shown first.

## `countries` (type: `array`):

Only ads shown in these countries. Two-letter codes such as US, GB, DE. Leave empty for all countries.

## `adFormat` (type: `string`):

Only ads of this format.

## `shownWithinDays` (type: `integer`):

Only ads shown at least once in this many days. Leave empty for all ads, including old ones.

## `maxAdvertisersPerName` (type: `integer`):

How many matching advertiser accounts to include for each advertiser name.

## `includeDetails` (type: `boolean`):

Adds the countries each ad ran in with the last shown date per country, and every image variant. Slightly slower.

## `trackChanges` (type: `boolean`):

Marks each ad as new, running or stopped compared with the previous run of the same input. Schedule the run (for example weekly) to monitor competitors. Free.

## `monitorName` (type: `string`):

Runs with the same monitor name are compared with each other. If empty, runs with the same websites, names, IDs, countries and format are compared.

## `proxyConfiguration` (type: `object`):

Google refuses requests from cloud servers, so the residential proxy is required.

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

How many ad detail requests run at the same time.

## Actor input object example

```json
{
  "domains": [
    "notion.so"
  ],
  "maxAdsPerSource": 50,
  "adFormat": "any",
  "maxAdvertisersPerName": 3,
  "includeDetails": true,
  "trackChanges": true,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  },
  "maxConcurrency": 5
}
```

# Actor output Schema

## `results` (type: `string`):

No description

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

No description

# 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 = {
    "domains": [
        "notion.so"
    ],
    "maxAdsPerSource": 50,
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ]
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("wilanibe/google-ads-transparency-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 = {
    "domains": ["notion.so"],
    "maxAdsPerSource": 50,
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
    },
}

# Run the Actor and wait for it to finish
run = client.actor("wilanibe/google-ads-transparency-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 '{
  "domains": [
    "notion.so"
  ],
  "maxAdsPerSource": 50,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}' |
apify call wilanibe/google-ads-transparency-monitor --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,wilanibe/google-ads-transparency-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/B5KcOQrRU7XeA0d8X/builds/h1gKtAj838Ul9IXmu/openapi.json
