# Google Ads Transparency Scraper (`data-droid-hub/google-ads-transparency-actor`) Actor

Zero-proxy Rust scraper for Google Ads Transparency Center by data-droid-hub. Extracts active text, image, and YouTube video creatives, ad copy, and per-country reach in <1s with incremental daily diffs and MCP-ready output.

- **URL**: https://apify.com/data-droid-hub/google-ads-transparency-actor.md
- **Developed by:** [Data Droid](https://apify.com/data-droid-hub) (community)
- **Categories:** 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 $0.80 / 1,000 creative scrapeds

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 (Zero-Proxy Rust)

**Google Ads Transparency Scraper** by **[data-droid-hub](https://apify.com/data-droid-hub)** extracts active and historical ads from the [Google Ads Transparency Center](https://adstransparency.google.com/) in under a second without headless browsers or residential proxies. Built in compiled Rust over pooled HTTP/2 (`rustls`), it outputs structured JSON for competitive intelligence, YouTube ad creative analysis, Clay/n8n enrichment, and AI agents via the Apify MCP server.

***

### Why Use data-droid-hub's Google Ads Transparency Scraper?

| Capability | `data-droid-hub` Rust RPC Scraper | Headless Browser (Playwright / Puppeteer) |
| :--- | :--- | :--- |
| **Execution Engine** | Compiled Rust over HTTP/2 RPC (`anji/_/rpc`) | Full Chromium browser instances |
| **Proxy Requirement** | **None (`$0` proxy cost)** | Expensive residential proxies required |
| **Container Memory** | **256 MB default** | 2,048 – 4,096 MB |
| **Cold Run Latency** | **0.2s – 1.2s** | 15s – 60s+ |
| **Incremental Daily Diffs** | Built-in named KV watermark (`onlyNewSinceLastRun`) | Full re-scrape & manual dedupe |
| **YouTube Video & Copy** | Extracts `youtubeVideoId`, `youtubeUrl`, `videoDuration`, `channelName`, `headline` | Slow DOM/iframe scraping |
| **Pre-Run Cost Sizing** | Built-in `dryRun: true` (`$0` creative charge) | Pay upfront blindly |
| **AI & MCP Compatibility** | Array-first schema, zero `required`+`default` conflicts, slim JSON | Verbose bloated payloads |

***

### Supported Extraction Modes

#### 1. Full Creative Extraction (`mode: "creatives"`, default)

Extract `TEXT`, `IMAGE`, and `VIDEO` creatives by advertiser domain (`shopify.com`), Google Advertiser ID (`AR...`), or brand keyword (`stripe`), across 240+ Google Ads regions (`US`, `GB`, `DE`, `AU`, `GLOBAL`, etc.).

```json
{
  "domains": ["shopify.com"],
  "regions": ["US"],
  "formats": ["ALL"],
  "maxCreativesPerTarget": 25,
  "extractVideoAndCopy": true,
  "includeCountryReach": true,
  "onlyNewSinceLastRun": true
}
```

#### 2. Domain Qualification Summary (`mode: "domain_summary"`)

Returns **one qualification row per domain** (`isRunningAds`, format counts, newest/oldest dates, advertiser IDs) for fast lead scoring in **Clay**, **n8n**, or **Make**.

```json
{
  "domains": ["shopify.com", "stripe.com"],
  "mode": "domain_summary",
  "regions": ["US"]
}
```

#### 3. Dry-Run Volume & Cost Sizing (`dryRun: true`)

Probes page 1 per target and outputs `firstPageCount`, `hasMorePages`, `estimatedBilledItems`, and `estimatedCostUsd` with **`$0` creative charges**.

```json
{
  "domains": ["shopify.com", "stripe.com"],
  "regions": ["US"],
  "dryRun": true
}
```

***

### Sample JSON Output

#### Creative Record (`mode: "creatives"`)

```json
{
  "target": "shopify.com",
  "advertiserId": "AR12789012345678901234",
  "advertiserName": "Shopify Inc.",
  "domain": "shopify.com",
  "creativeId": "CR06117806881630060545",
  "format": "VIDEO",
  "firstShownDate": "2026-10-18",
  "lastShownDate": "2026-11-13",
  "daysActive": 26,
  "youtubeVideoId": "9du8bCH_zd8",
  "youtubeUrl": "https://www.youtube.com/watch?v=9du8bCH_zd8",
  "videoDuration": "0:15",
  "channelName": "Shopify",
  "headline": "Start your business with Shopify.",
  "previewScriptUrl": "https://displayads-formats.googleusercontent.com/...",
  "variationImageUrls": ["https://tpc.googlesyndication.com/..."],
  "countryReach": [
    {
      "countryCode": "US",
      "countryName": "United States",
      "regionId": 2840,
      "lastShownDate": "2026-11-13"
    }
  ],
  "transparencyUrl": "https://adstransparency.google.com/advertiser/AR12789012345678901234/creative/CR06117806881630060545"
}
```

#### Domain Summary Record (`mode: "domain_summary"`)

```json
{
  "target": "stripe.com",
  "targetType": "domain",
  "isRunningAds": true,
  "sampledCreatives": 100,
  "hasMorePages": true,
  "textAds": 67,
  "imageAds": 0,
  "videoAds": 33,
  "newestAdDate": "2026-11-13",
  "oldestAdDate": "2026-08-04",
  "advertiserNames": ["Stripe, Inc."],
  "advertiserIds": ["AR16951989901585285121"],
  "transparencyUrl": "https://adstransparency.google.com/?domain=stripe.com"
}
```

***

### Pay-Per-Event Pricing

| Event Name | Price (USD) | Trigger |
| :--- | ---: | :--- |
| `creative-scraped` | **$0.0008** | Each ad creative extracted in `creatives` mode (`$0.80` per 1,000 ads) |
| `creative-enriched` | **$0.0010** | Each creative enriched with YouTube video metadata, copy, or `countryReach` |
| `domain-checked` | **$0.0030** | Each target checked in `domain_summary` qualification mode |
| `dryRun: true` / Watermark Hit | **$0.0000** | No creative events charged when `dryRun` is enabled or `0` new ads match |

***

### Run via API, Python, Node.js, or Apify MCP

#### Python (`apify-client`)

```python
from apify_client import ApifyClient

client = ApifyClient("<APIFY_TOKEN>")
run = client.actor("data-droid-hub/google-ads-transparency-actor").call(run_input={
    "domains": ["shopify.com"],
    "regions": ["US"],
    "maxCreativesPerTarget": 25,
    "extractVideoAndCopy": True,
    "onlyNewSinceLastRun": True,
})
items = client.dataset(run["defaultDatasetId"]).list_items().items
print(f"Fetched {len(items)} creatives")
```

#### Node.js / TypeScript (`apify-client`)

```javascript
import { ApifyClient } from "apify-client";

const client = new ApifyClient({ token: process.env.APIFY_TOKEN });
const run = await client.actor("data-droid-hub/google-ads-transparency-actor").call({
  domains: ["stripe.com"],
  mode: "domain_summary",
  regions: ["US"],
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);
```

#### Apify MCP Server (Claude, Cursor, ChatGPT)

This Actor is designed for AI agent tool calling via the [Apify MCP Server](https://docs.apify.com/mcp):

- Flat array inputs (`domains`, `advertiserIds`, `keywords`, `regions`)
- Zero conflicting schema constraints
- Predictable `dryRun: true` cost estimation before full extraction

***

### Frequently Asked Questions

#### How do I scrape Google Ads Transparency Center without proxies?

Use `data-droid-hub/google-ads-transparency-actor`. Instead of launching Chromium or rotating residential proxies, it communicates directly with Google Ads Transparency Center's internal HTTP/2 RPC endpoints in compiled Rust, keeping runs under 1 second and proxy costs at `$0`.

#### How much does it cost to scrape 1,000 Google Ads creatives?

Extracting 1,000 base creatives costs **$0.80** (`1000 × $0.0008` via `creative-scraped`). With `extractVideoAndCopy` or `includeCountryReach` enabled, enrichment adds `$0.001` per enriched creative. You can run `dryRun: true` first to preview exact costs at `$0`.

#### How do I track only new competitor ads every day?

Enable `"onlyNewSinceLastRun": true`. The Actor persists seen creative IDs in a named Apify Key-Value Store (`google-ads-transparency-state`) and stops immediately when it reaches the prior watermark frontier, emitting and billing only newly launched ads.

#### Can I look up brands by keyword instead of domain or Advertiser ID?

Yes. Pass brand names in `"keywords": ["stripe"]` to resolve matching verified advertisers automatically, or pass exact `AR...` IDs in `"advertiserIds"`.

#### Does it extract YouTube video ads and ad copy?

Yes. With `"extractVideoAndCopy": true`, the Actor parses Google's creative preview scripts to extract `youtubeVideoId`, `youtubeUrl`, `videoDuration`, `channelName`, `headline`, and `variationImageUrls`.

***

### Built by data-droid-hub

Explore all zero-proxy Rust & MCP-ready extraction Actors by **[data-droid-hub](https://apify.com/data-droid-hub)** · [Brand & Technical Specs](https://data-droid-hub.github.io/)

# Actor input Schema

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

Website domains to query (e.g. \["shopify.com", "stripe.com"]). Supports batching multiple domains in a single run.

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

Google Ads verified advertiser IDs (e.g. \["AR01625195283841286145"]).

## `keywords` (type: `array`):

Free-text brand/advertiser queries resolved via SearchSuggestions to top matching advertiser IDs or domains.

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

"creatives" emits one slim record per ad creative. "domain_summary" emits one qualification summary row per target (active ad count, formats, newest/oldest dates).

## `regions` (type: `array`):

ISO 3166-1 alpha-2 country codes (e.g. \["US", "GB", "DE"]) or \["ALL"] for worldwide.

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

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

## `maxCreativesPerTarget` (type: `integer`):

Maximum number of creatives to fetch per domain/advertiser (0 = all available up to safety cap of 10,000).

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

Optional inclusive lower bound filter on creative lastShownDate (YYYY-MM-DD).

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

Optional inclusive upper bound filter on creative lastShownDate (YYYY-MM-DD).

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

Persist seen creative IDs in a named Key-Value Store and emit/bill only creatives not seen in previous runs for the same target.

## `watermarkStoreName` (type: `string`):

Named Apify Key-Value Store used when onlyNewSinceLastRun is enabled.

## `extractVideoAndCopy` (type: `boolean`):

Fetch preview payload snippets for responsive/video ads to extract YouTube video IDs, duration, channel name, headlines, and thumbnails.

## `includeCountryReach` (type: `boolean`):

Call LookupService/GetCreativeById per creative for per-country reach stats and variation preview URLs (adds 1 HTTP call per creative).

## `dryRun` (type: `boolean`):

Probe the first page per target and output an estimated volume/cost preview without billing creative events or updating watermarks.

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

Maximum concurrent HTTP requests.

## Actor input object example

```json
{
  "domains": [
    "shopify.com"
  ],
  "mode": "creatives",
  "regions": [
    "US"
  ],
  "formats": [
    "ALL"
  ],
  "maxCreativesPerTarget": 100,
  "onlyNewSinceLastRun": false,
  "watermarkStoreName": "google-ads-transparency-state",
  "extractVideoAndCopy": true,
  "includeCountryReach": false,
  "dryRun": false,
  "concurrency": 8
}
```

# Actor output Schema

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

Extracted ad creatives, domain qualification summaries, or dry-run estimates stored in the default dataset.

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

// Run the Actor and wait for it to finish
const run = await client.actor("data-droid-hub/google-ads-transparency-actor").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": ["shopify.com"] }

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

```

## MCP server setup

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

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/OFBP3RSi0YJ3doQaW/builds/uUy7NHimmVf2ZjGRU/openapi.json
