# Google Ads Transparency Scraper — Ads & New-Ad Monitor (`muira_datamasters/google-ads-transparency-scraper`) Actor

Export every ad a company runs on Google (Search, YouTube, Shopping, Maps, Play) from the Ads Transparency Center by brand, domain or advertiser ID, or monitor a watchlist and get only new and stopped ads on each run. No login.

- **URL**: https://apify.com/muira_datamasters/google-ads-transparency-scraper.md
- **Developed by:** [Muira Datamasters](https://apify.com/muira_datamasters) (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 — Ads & New-Ad Monitor

Export every ad a company runs on Google — **Search, YouTube, Shopping, Maps and Play** — from the public [Google Ads Transparency Center](https://adstransparency.google.com/), or put your competitors on a **watchlist** and get only the ads that are **new** or have **stopped** on each scheduled run. No login, no Google account, no browser.

- Search by **brand name**, **website** (every ad pointing to it, from any advertiser), **advertiser ID** or a pasted **Transparency Center link**.
- Filter by **country**, **date window**, **format** (text, image, video) and **platform**, applied at Google's side: ads outside your filters are never returned and never billed.
- **Monitor mode** remembers what it saw per watchlist. Quiet runs cost a small checking fee, not a full re-export.
- Optional **creative detail**: every variation, every country an ad ran in, and for ads shown in the EU how many times it was shown, per country and platform, and which audience criteria the advertiser used.
- Optional **ad text**: headline, description, display URL, landing page, call to action and YouTube video ID.
- **Advertiser profiles**: legal name, country, verification badge and approximate ad count.
- Slack or Telegram message when your watchlist changes.

### Who uses it

- **Agencies and paid-search managers**: pull every ad a prospect's competitors showed in one market for a pitch or an audit; sort by `daysRunning` to see the creatives a competitor keeps paying for.
- **Growth and brand marketers**: a weekly run that lists only new and stopped ads for ten competitors.
- **Brand protection**: put your own domain in and see every advertiser whose ads point to it — resellers, affiliates and impersonators.
- **Developers, data teams and AI agents**: stable field names, typed output, a run summary, and an input that works from a brand name alone.

### Quick start

Export the latest ads of a website (the prefilled input):

```json
{ "targets": ["hubspot.com"] }
```

Watch three competitors in Germany, weekly, with a Slack message when something changes:

```json
{
  "targets": ["Salesforce", "hubspot.com", "AR10072600183532683265"],
  "mode": "monitor",
  "monitorName": "crm-competitors-de",
  "region": "DE",
  "maxAdsPerTarget": 5000,
  "slackWebhookUrl": "https://hooks.slack.com/services/..."
}
```

Then add a [schedule](https://docs.apify.com/platform/schedules) (for example every Monday 07:00) to the saved task.

Every YouTube ad a brand ran in the US in the last 30 days, with its text:

```json
{ "targets": ["Nike"], "region": "US", "platforms": ["youtube"], "formats": ["video"], "dateFrom": "30 days", "includeAdText": true }
```

### Input

| Field | Default | What it does |
|---|---|---|
| `targets` | `hubspot.com` | Brand names, websites, advertiser IDs (`AR…`) or Transparency Center links, one per line |
| `mode` | `export` | `export`: every matching ad. `monitor`: only changes since the last run. `advertisers`: one profile row per advertiser |
| `region` | `anywhere` | Two-letter country code (`US`, `DE`, `GB`…) or `anywhere` |
| `dateFrom`, `dateTo` | none | Export mode: ads shown inside this window (`YYYY-MM-DD` or `30 days`). Google keeps about 12 months |
| `formats` | all | `text`, `image`, `video` |
| `platforms` | all | `search`, `youtube`, `shopping`, `maps`, `play` |
| `includeDetails` | off | Variations, countries with dates, EU reach and audience, advertiser legal name and verification |
| `includeAdText` | off | Headline, description, display URL, landing page, call to action, YouTube video ID |
| `monitorName` | `default` | One saved state per watchlist |
| `stoppedAfterDays` | 7 | Days without being shown before an ad counts as stopped |
| `maxAdsPerTarget` | 200 | Cap per line, newest ads first |
| `maxTotalAds` | none | Cap on the rows of the whole run |
| `maxAdvertisersPerName` | 3 | How many advertiser accounts a brand name may match |
| `slackWebhookUrl`, `telegramBotToken`, `telegramChatId` | none | Monitor alerts |
| `maxConcurrency` | 5 | Parallel proxy sessions; each sends at most one request per second |
| `proxy` | Apify Proxy | Rarely needs changing |

**How targets are read**

- A **website** returns the ads that point to that website, from every advertiser (useful to find resellers). `www.` and paths are ignored.
- An **advertiser ID** returns that advertiser's ads only.
- A **brand name** is looked up in Google's advertiser index and resolves to at most `maxAdvertisersPerName` accounts: accounts with exactly that name first (legal forms such as Inc. or GmbH are ignored), then accounts whose name contains it as a word (`Nike Retail B.V.`), each group largest first. A name that only contains your text inside another word is used only when nothing matches better. Every row has `advertiserId` and `advertiserName`, so results are never silently mixed. The run log and `RUN_SUMMARY` show what each name resolved to.
- A **Transparency Center link** (`/advertiser/AR…`, `/advertiser/AR…/creative/CR…`, or the home page with `?domain=`) keeps its `region`, `format` and `platform` filters for that line.
- A line that cannot be used is skipped and listed in `RUN_SUMMARY.invalidTargets`; the run continues.

### Output

One row per ad (export), per change (monitor) or per advertiser (advertisers mode). Every field is always present, `null` when unknown or not requested.

```json
{
  "changeType": null,
  "advertiserId": "AR10072600183532683265",
  "advertiserName": "Hubspot, Inc.",
  "creativeId": "CR03279857548026445825",
  "adUrl": "https://adstransparency.google.com/advertiser/AR10072600183532683265/creative/CR03279857548026445825?region=anywhere",
  "format": "text",
  "firstShown": "2022-06-29",
  "lastShown": "2026-11-17",
  "daysRunning": 1603,
  "imageUrl": "https://tpc.googlesyndication.com/archive/simgad/14597743966732629251",
  "previewUrl": null,
  "width": 348,
  "height": 445,
  "googleCreativeId": null,
  "googleCustomerId": null,
  "adGroupId": null,
  "domain": "hubspot.com",
  "target": "hubspot.com",
  "targetType": "domain",
  "region": "anywhere",
  "scrapedAt": "2026-11-18T09:00:00.000Z"
}
```

- `imageUrl` is the archived picture of the ad (text ads are archived as pictures too). Rendered ads have a `previewUrl` instead, plus Google's internal `googleCustomerId` and `adGroupId`, which group ads from one account or campaign.
- `daysRunning` is Google's own count and a good "this ad works" signal.
- `domain` is set when the line was a website.

**With `includeDetails`**: `variationCount`, `variations`, `regions` (country, first and last shown, and for EU countries `timesShownMin`/`timesShownMax` and per-platform figures), `euReach` (EU totals), `surfaces` (platforms from the EU data), `audience` (`demographicInfo`, `geographicLocations`, `contextualSignals`, `topicsOfInterest`, `customerLists`: `included`, `excluded`, `included and excluded` or `null`), `adTopic`, `advertiserLegalName`, `advertiserCountry`, `advertiserVerified`.

- Times-shown figures are Google's ranges. `timesShownMin: 0` means Google shows "under" the maximum; `timesShownMax: null` is Google's top bucket (for example 10 million or more).
- Reach, platform and audience data exist only for ads shown in the EU (Digital Services Act). For other ads they are `null`.

**With `includeAdText`**: `headline`, `longHeadline`, `description`, `displayUrl`, `landingUrl`, `callToAction`, `businessName`, `videoId`, `videoDuration`, `channelName`, and `textLines` (every line of the ad, in order). Works for search, local, display and YouTube ads whose preview Google renders. Ads archived only as a picture keep their words in the image: they get no text and are not billed for it.

**Advertisers mode** rows: `advertiserId`, `advertiserName`, `legalName`, `country`, `verified`, `adCountMin`, `adCountMax` (Google's range, under the line's region and filters; 0 when the advertiser has no matching ads), `advertiserUrl`, `matchedVia` (`name`, `advertiserId`, `domain`), `adsPointingToDomain`, `target`, `region`. An advertiser ID Google does not know gives no row and is not billed.

The key-value store also holds:

- `RUN_SUMMARY`: per line — what it resolved to, ads found, new, stopped, whether it was read to the end, Google's count range; per run — requests, retries, blocked sessions, events charged.
- `CHANGE_SUMMARY` (monitor): per advertiser — new, stopped and running ads by format, new ads by country (with details), and the longest-running ad.

### Monitor mode

1. **First run** of a watchlist outputs every ad it reads, marked `baseline`. That is your starting export.
2. **Later runs** output only:
   - `new`: a creative not seen in earlier runs of this watchlist;
   - `stopped`: a creative seen before that Google has not shown for `stoppedAfterDays` days. Reported once. An ad that drops off Google's list is handled the same way: it is reported once that many days have passed since it was last shown, so an ad missing from a single read is never called stopped.
3. A run with no changes outputs nothing and pays only the start and the checking fee.

Good to know:

- Google lists ads most recently shown first, so later runs only read back to where a change can be: quiet runs are fast and cheap.
- A line that was **not read to the end** (it hit `maxAdsPerTarget`, the run's maximum charge or a block) never reports `stopped` ads, so a cap can never produce a false "stopped". For large advertisers raise `maxAdsPerTarget`.
- With `maxTotalAds`, a first run larger than the cap is spread over several runs: each delivers up to that many rows and the next one continues.
- A brand name keeps the advertiser accounts it resolved to on the watchlist's first run, so a watchlist never changes what it watches by itself. To resolve a name again, use a new `monitorName` (or change `maxAdvertisersPerName`).
- Each watchlist (`monitorName`) has its own memory. Changing a line's region, formats or platforms starts a new baseline for that line.
- If a run is cut short (maximum charge, a block, an error, the run timeout or an abort), what it delivered is remembered: the next run continues from there and never bills the same ad twice.

### Pricing

Pay per event, no subscription:

| Event | Price | When |
|---|---|---|
| Run start | $0.005 | Once per run |
| `ad` | $0.0015 | Each ad row in export mode ($1.50 per 1,000) |
| `ad-change` | $0.0015 | Each `baseline`, `new` or `stopped` row in monitor mode |
| `monitor-scan` | $0.002 | Per 100 ads checked in monitor mode ($0.02 per 1,000) |
| `ad-detail` | $0.002 | Each ad returned with creative detail |
| `ad-text` | $0.0015 | Each ad where text was found |
| `advertiser` | $0.002 | Each advertiser profile row |

**Examples**

- **Export 1,000 ads once**: $0.005 + 1,000 × $0.0015 = **$1.51**.
- **Weekly watch of 10 competitors with 500 ads each, 100 changes**: $0.005 + 50 scan events × $0.002 + 100 × $0.0015 = **$0.26 a run**. Re-exporting the same 5,000 ads each week would cost $7.50.
- **The same watch in a week with no changes**: $0.005 + $0.10 = **$0.11** (often less, because quiet runs stop reading early).

Set a maximum charge per run in the run options: the Actor stops cleanly when the next row would exceed it, and says so in the status message. Every delivered row has its charge, and every charge has its row.

### Reliability

- Plain HTTP requests to the Transparency Center's own data endpoints; no browser.
- At most one request per second per IP and never two at once on one IP. A rate-limited session is dropped and the request retried on a new IP; the Actor never solves or clicks a CAPTCHA.
- If Google blocks every session, the run ends with the rows collected so far and a **PARTIAL** status message, not an empty failure.
- A run that gets close to its timeout stops reading, saves its rows, monitor state and run summary, and ends as **PARTIAL** instead of being cut off. Raise the timeout (run options) for very large exports with creative details.
- A run that Apify moves to another server continues where it was, without delivering or billing a row twice. The same holds when you resurrect a run that stopped at its maximum charge with a higher one.
- Every response is checked against the expected format. If Google changes its format the run fails with "Google changed its format" and saves the raw response, instead of returning silently empty rows.

### Limits

- Google publishes counts as ranges (e.g. 2,000–3,000) and keeps about the last 12 months of ad dates.
- No spend data: Google does not publish it, and this Actor never estimates it.
- Political ads (a separate Google report), text inside images or videos (OCR), media file downloads and landing-page crawling are out of scope.
- No contact data is collected. Advertiser names are output exactly as Google publishes them.

### FAQ

**Do I need a Google account or API key?** No.

**Why did a brand name return no ads?** Many brands advertise under a parent company, a regional entity or an agency. Use the website instead (it finds every advertiser pointing to it), or `advertisers` mode to see the accounts behind it. The run summary suggests domains when a name matches nothing.

**Why are some fields empty?** Reach and audience exist only for ads shown in the EU; ad text only for rendered previews; `domain` only for website lines.

**Can I use it from code or an AI agent?** Yes: the output fields are stable and documented above, and a brand name alone is a valid input.

***

This Actor is not affiliated with, endorsed by or sponsored by Google. "Google", "YouTube" and "Google Ads" are trademarks of Google LLC. It reads only data Google publishes publicly in the Ads Transparency Center.

# Actor input Schema

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

One per line: a brand name (e.g. <code>HubSpot</code>), a website (<code>hubspot.com</code>: every ad that points to it, from any advertiser), an advertiser ID (<code>AR10072600183532683265</code>) or a link copied from adstransparency.google.com (its region, format and platform filters are used for that line).

## `mode` (type: `string`):

<b>Export</b> returns every matching ad. <b>Monitor</b> remembers what it saw for each watchlist: the first run outputs every ad as <code>baseline</code>, later runs only <code>new</code> and <code>stopped</code> ads. Schedule it daily or weekly. <b>Advertisers</b> returns the advertiser accounts behind each line, with legal name, country, verification and ad count.

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

Only ads shown in this country: a two-letter code such as <code>US</code>, <code>DE</code> or <code>GB</code>, or <code>anywhere</code>.

## `dateFrom` (type: `string`):

Export mode: only ads shown on or after this date. <code>YYYY-MM-DD</code> or a relative value like <code>30 days</code>. Google keeps about the last 12 months.

## `dateTo` (type: `string`):

Export mode: only ads shown on or before this date (<code>YYYY-MM-DD</code>).

## `formats` (type: `array`):

Leave empty for all formats.

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

Leave empty for all platforms.

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

Adds every variation, the countries each ad ran in with dates, and for ads shown in the EU how many times it was shown (per country and platform) and which audience criteria were used. Also adds the advertiser's legal name, country and verification. One extra request per ad, charged as <code>ad-detail</code> only when Google returns the detail.

## `includeAdText` (type: `boolean`):

Adds headline, description, display URL, landing page, call to action and the YouTube video ID where Google's preview holds them as text. Charged as <code>ad-text</code> only when text is found. Ads archived as a picture have their words in the image and get no text.

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

Monitor mode keeps one saved state per name. Use a different name for each watchlist (e.g. <code>competitors-us</code>).

## `stoppedAfterDays` (type: `integer`):

An ad seen before counts as <code>stopped</code> once Google has not shown it for this many days (also when it has dropped off Google's list). Reported once.

## `slackWebhookUrl` (type: `string`):

Monitor mode: post a summary of new and stopped ads to this Slack incoming webhook (<code>https://hooks.slack.com/...</code>).

## `telegramBotToken` (type: `string`):

Monitor mode: send the summary with this Telegram bot (also set the chat ID).

## `telegramChatId` (type: `string`):

The chat, group or channel the bot posts to.

## `alertWhenNoChanges` (type: `boolean`):

Also send a message on runs with no new or stopped ads.

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

Stop reading a line after this many ads (newest first). In monitor mode, raise it to cover every ad of large advertisers: a line that is not read to the end never reports stopped ads.

## `maxTotalAds` (type: `integer`):

Cap on the rows of the whole run. In monitor mode, a first run larger than this is continued by the next runs. Empty = no cap. The run's maximum charge is always honoured too.

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

A brand name can match several advertiser accounts (e.g. regional entities). The best-matching and largest ones are used, and every row names its advertiser.

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

Proxy sessions (IPs) used in parallel. Each sends at most one request per second, which keeps Google from rate-limiting.

## `proxy` (type: `object`):

Rarely needs changing. With the default, rate-limited sessions are retired and the Actor switches to residential proxies after repeated blocks.

## `healthCheck` (type: `boolean`):

For scheduled canary runs: fail the run when fewer than 20 ads come back or core fields are missing.

## Actor input object example

```json
{
  "targets": [
    "hubspot.com"
  ],
  "mode": "export",
  "region": "anywhere",
  "includeDetails": false,
  "includeAdText": false,
  "monitorName": "default",
  "stoppedAfterDays": 7,
  "alertWhenNoChanges": false,
  "maxAdsPerTarget": 200,
  "maxAdvertisersPerName": 3,
  "maxConcurrency": 5,
  "proxy": {
    "useApifyProxy": true
  },
  "healthCheck": false
}
```

# Actor output Schema

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

One row per ad (export), per change (monitor: baseline, new, stopped) or per advertiser (advertisers mode).

## `runSummary` (type: `string`):

Per target: ads found, new, stopped, whether the read was complete and Google's count range. Per run: requests, retries, blocked sessions and events charged.

## `changeSummary` (type: `string`):

Monitor mode: one entry per advertiser with new, stopped and running ads by format, and its longest-running ad.

# 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": [
        "hubspot.com"
    ],
    "region": "anywhere",
    "proxy": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("muira_datamasters/google-ads-transparency-scraper").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": ["hubspot.com"],
    "region": "anywhere",
    "proxy": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("muira_datamasters/google-ads-transparency-scraper").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": [
    "hubspot.com"
  ],
  "region": "anywhere",
  "proxy": {
    "useApifyProxy": true
  }
}' |
apify call muira_datamasters/google-ads-transparency-scraper --silent --output-dataset

```

## MCP server setup

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

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/6JSzyeNBd1ezLeodd/builds/TizfjpjXAaCJvzAin/openapi.json
