# Google Ads Transparency Center Scraper & Competitor Monitor (`clearstack-data/google-ads-transparency-scraper`) Actor

Fast HTTP-only Google Ads Transparency Center scraper. Bulk extract ads by domain, advertiser ID, or URL with region, format (Text/Image/Video), date filters, EU DSA details, and incremental new-ads competitor monitoring.

- **URL**: https://apify.com/clearstack-data/google-ads-transparency-scraper.md
- **Developed by:** [ClearStack Data](https://apify.com/clearstack-data) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.60 / 1,000 ad scrapeds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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 Center Scraper & Competitor Monitor

Extract ads at scale from **Google Ads Transparency Center** using a fast, pure-HTTP engine — no headless browser timeouts, no proxy headaches, and built-in **incremental competitor monitoring** (`onlyNewSinceLastRun`) to detect new ads as soon as competitors launch them.

### Key Features

- **Bulk Multi-Target Input:** Pass any mix of competitor domains (`stripe.com`), Google Advertiser IDs (`AR16951989901585285121`), Google Ads Transparency URLs, or advertiser names.
- **Complete Filtering:** Filter by country/region (`US`, `GB`, `FR`, `DE`, `CA`, `AU`, `ES`, `IT`, `NL`, `ALL`, and 40+ countries), ad format (`TEXT`, `IMAGE`, `VIDEO`, `ALL`), and lookback window (`dateRangeDays`).
- **Competitor Monitor Mode (`onlyNewSinceLastRun`):** Automatically tracks previously seen `creativeId`s in a persistent Apify Key-Value Store and outputs & charges **only for brand-new ads launched since your last scheduled run** — built for daily n8n / Make / Slack competitor alerts.
- **Full Pagination & Optional EU DSA Details:** Automatically paginates through all creatives up to `maxAdsPerTarget`. Enable `includeDetails` to pull all creative preview image variations, per-region delivery dates, and EU Digital Services Act (DSA) targeting flags.
- **Ultra-Fast HTTP Engine:** Runs on 256–512 MB RAM and extracts 100+ ads in seconds.

### Example Input

```json
{
  "targets": ["stripe.com", "shopify.com", "hubspot.com"],
  "region": "US",
  "format": "ALL",
  "dateRangeDays": 30,
  "maxAdsPerTarget": 40,
  "includeDetails": true,
  "onlyNewSinceLastRun": false
}
```

### Example Output

```json
{
  "target": "stripe.com",
  "targetType": "DOMAIN",
  "advertiserId": "AR16951989901585285121",
  "advertiserName": "Stripe, Inc.",
  "creativeId": "CR14954318604110135297",
  "domain": "stripe.com",
  "format": "TEXT",
  "firstShownTimestamp": 1791531972,
  "firstShownDate": "2026-10-09",
  "lastShownTimestamp": 1795301428,
  "lastShownDate": "2026-11-21",
  "variationsCount": 44,
  "previewImageUrl": "https://tpc.googlesyndication.com/archive/simgad/11717391445560713947",
  "previewScriptUrl": null,
  "previewImageUrls": [
    "https://tpc.googlesyndication.com/archive/simgad/11717391445560713947"
  ],
  "adUrl": "https://adstransparency.google.com/advertiser/AR16951989901585285121/creative/CR14954318604110135297",
  "advertiserUrl": "https://adstransparency.google.com/advertiser/AR16951989901585285121",
  "regionFilter": "ALL",
  "regionsShown": [
    {
      "regionCode": 2250,
      "countryIso2": "FR",
      "firstShownDate": "2026-10-09",
      "lastShownDate": "2026-11-21"
    }
  ],
  "euTargeting": {
    "demographics": { "included": true, "excluded": false },
    "location": { "included": true, "excluded": false },
    "contextSignals": { "included": true, "excluded": true },
    "customerLists": { "included": false, "excluded": true }
  },
  "isNewSinceLastRun": true,
  "scrapedAt": "2026-11-22T00:15:00.000Z"
}
```

### Pricing (Pay-Per-Event)

Pay only for the ad creatives returned (`ad-scraped`) plus a small `$0.002` per-run start fee, with **zero extra platform usage costs** charged to you. In Competitor Monitor Mode (`onlyNewSinceLastRun: true`), previously seen ads are skipped and **never charged again**.

### Ready-to-Import n8n Template & Claude / Cursor MCP

- **Dedicated MCP server (`search_google_ads` tool with spending cap & trimmed output):** install [`clearstack-data-mcp`](https://www.npmjs.com/package/clearstack-data-mcp) ([GitHub](https://github.com/Wordhalm/clearstack-data-mcp)) in Claude Code, Claude Desktop, Cursor, Windsurf, or VS Code:
  ```bash
  claude mcp add clearstack-data -e APIFY_TOKEN=your_token -- npx -y clearstack-data-mcp
  ```
- **Free n8n workflow JSON & Clay recipes:** [Wordhalm/clearstack-data-automation-templates](https://github.com/Wordhalm/clearstack-data-automation-templates)
- **Apify remote MCP:** `https://mcp.apify.com?tools=clearstack-data/google-ads-transparency-scraper`

### Related Actors by ClearStack Data

- [Telegram Public Channel Scraper & Incremental Monitor](https://apify.com/clearstack-data/telegram-public-channel-monitor) — Track public Telegram channels (`t.me/s/`) without login or proxies.
- [EU Company KYB, VAT (VIES) & Official Registry Enricher](https://apify.com/clearstack-data/eu-company-kyb-enricher) — Validate EU-27 VAT and enrich companies across 6 official European registries.
- [EU TED, France BOAMP & UK Public Tenders Monitor](https://apify.com/clearstack-data/eu-public-tenders-monitor) — Daily European public procurement alerts.

# Actor input Schema

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

List of competitor domains (e.g. 'stripe.com', 'shopify.com'), Google Advertiser IDs ('AR16951989901585285121'), Google Ads Transparency URLs, or advertiser names.

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

Optional country filter (e.g. 'ALL', 'US', 'GB', 'FR', 'DE', 'CA', 'AU', 'ES', 'IT', 'NL', 'BE', 'CH', 'SE', 'PL', 'BR', 'IN', 'JP'). Defaults to 'ALL' (worldwide).

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

Filter ads by format: ALL, TEXT, IMAGE, or VIDEO.

## `dateRangeDays` (type: `integer`):

Restrict results to ads shown in the last N days (e.g. 7, 30, 90). Set 0 for all available history.

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

Maximum number of ad creatives to extract per domain/advertiser.

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

When enabled, calls GetCreativeById for each ad to extract all creative variations, per-region delivery dates, and EU DSA targeting breakdowns.

## `onlyNewSinceLastRun` (type: `boolean`):

When enabled, remembers previously seen creative IDs in a named Apify Key-Value Store and outputs/charges ONLY for brand-new ads launched since the previous run.

## `monitorStateName` (type: `string`):

Identifier for the persistent Key-Value Store used when 'onlyNewSinceLastRun' is enabled (letters, numbers, hyphens).

## `concurrency` (type: `integer`):

Number of targets processed in parallel. Keep at 1 to avoid Google Transparency Center per-IP burst limits.

## `requestDelayMs` (type: `integer`):

Polite delay between consecutive Google Ads Transparency RPC requests in milliseconds.

## `timeoutMs` (type: `integer`):

Maximum wait time per upstream HTTP request in milliseconds.

## Actor input object example

```json
{
  "targets": [
    "stripe.com",
    "shopify.com"
  ],
  "region": "ALL",
  "format": "ALL",
  "dateRangeDays": 30,
  "maxAdsPerTarget": 40,
  "includeDetails": false,
  "onlyNewSinceLastRun": false,
  "monitorStateName": "default",
  "concurrency": 1,
  "requestDelayMs": 800,
  "timeoutMs": 15000
}
```

# Actor output Schema

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

Dataset containing one structured ad creative record per Google Ads Transparency creative.

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

JSON summary with total ads extracted, new vs skipped monitor counts, and breakdown by format.

# 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": [
        "stripe.com",
        "shopify.com"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("clearstack-data/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": [
        "stripe.com",
        "shopify.com",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("clearstack-data/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": [
    "stripe.com",
    "shopify.com"
  ]
}' |
apify call clearstack-data/google-ads-transparency-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,clearstack-data/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/NG5GYWMDAYncokCyE/builds/sLirfrJXZoHeuW1bi/openapi.json
