# Google Ads Transparency Scraper (`oski/google-ads-transparency-scraper`) Actor

Scrape any advertiser's live Google ads by domain or ID: ad creatives, per-country impressions, and first and last shown dates. No API key, rotating IPs, built not to break.

- **URL**: https://apify.com/oski/google-ads-transparency-scraper.md
- **Developed by:** [Oski](https://apify.com/oski) (community)
- **Categories:** Developer tools, E-commerce, SEO tools
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 1 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.00 / 1,000 results

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/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js/docs.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python/docs.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/integrations/mcp.md).

If your project is in a different language, use the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).


# README

## Google Ads Transparency Scraper

See **every ad an advertiser is running on Google**, with the data the other scrapers throw away: per-country impression ranges and first/last shown dates for each creative. No API key, no browser, no Google login.

Point it at a domain (or advertiser ID) and get back a clean row per ad creative: the image or video, the format, when it started and last ran, and in which countries with rough impression volumes.

Best input is a **landing domain** like `nike.com` or `booking.com`, which resolves reliably to the real advertiser, or an exact **advertiser ID**. A plain brand name works too but is best-effort: Google's own autocomplete often returns only small namesakes and can miss a brand's main advertiser.

### Why this one

Google publishes no official API for the Ads Transparency Center, so every tool here scrapes the same internal endpoints. The difference is what survives the trip:

- **Per-country impressions and dates.** Each creative carries a hidden per-country breakdown: impression buckets and first/last shown dates for every market it ran in. Most scrapers drop it. This one keeps it (`detailLevel: full`).
- **Region filtering that actually filters.** Ask for United Kingdom and you get creatives that ran in the UK, not the global list with a label stuck on it.
- **Honest formats.** The raw format code disagrees with reality (it tags plain images as "text"). This actor classifies from the creative's real content, so an image is `image`, an interactive HTML5 unit is `html5`, and a video is `video`.
- **Built to survive Google's rate limits.** Google rate limits this endpoint hard, per IP. This actor rotates proxy IPs the moment it is throttled, which is the difference between a run that finishes and a run that dies at 40%.

### Input

| Field | What it does |
|---|---|
| `searchTerms` | Domains (recommended, e.g. `nike.com`) or brand names (best-effort). |
| `advertiserIds` | Exact Google advertiser IDs (`AR0293...`) when you already know them. |
| `region` | Country filter, or `anywhere`. Genuinely filters results. |
| `detailLevel` | `basic` (fast, one row per creative) or `full` (adds per-country impressions and dates). |
| `maxResults` | Hard cap on total rows. You are only charged for rows actually returned. |
| `maxResultsPerAdvertiser` | Optional per-brand cap. |
| `dateFrom` / `dateTo` | Keep creatives whose run window overlaps these dates. |
| `proxyConfiguration` | Apify Proxy. Strongly recommended; the actor rotates IPs through it. |

Minimal run:

```json
{
  "searchTerms": ["booking.com"],
  "region": "GB",
  "detailLevel": "full",
  "maxResults": 200
}
````

### Output

One record per ad creative:

```json
{
  "advertiser_id": "AR02934798844673654785",
  "advertiser_name": "Booking.com",
  "creative_id": "CR13943466878123900929",
  "format": "image",
  "first_shown": "2021-10-25",
  "last_shown": "2026-07-05",
  "image_url": "https://tpc.googlesyndication.com/archive/simgad/10226145935904981944",
  "creative_url": "https://adstransparency.google.com/advertiser/AR029.../creative/CR139...?region=GB",
  "regions": [
    { "region_code": "BE", "region_name": "Belgium", "impressions_min": 1000, "first_shown": "2023-03-27", "last_shown": "2026-07-05" }
  ],
  "region_count": 4,
  "impressions_min_total": 4000,
  "detail_level": "full"
}
```

Impressions are published by Google as ranges, so `impressions_min` is the lower bound of the bucket, never an exact count. Named that way so nobody is misled.

### Pricing

Pay per event: a small charge to start the run, then per ad returned. You pay only for rows actually delivered, and full-detail rows (with per-country stats) cost slightly more than basic rows because each one costs an extra lookup.

### Good to know

- One creative can run in many countries; `regions` lists them all in `full` mode.
- Contact form, checkout and password-protected creatives cannot be previewed by anyone and are surfaced as such rather than faked.
- This reads only public disclosure data that Google itself publishes for transparency. It uses no login and accesses no private account.

# Actor input Schema

## `searchTerms` (type: `array`):

Advertisers to look up. A landing domain like booking.com or nike.com resolves reliably to the real advertiser. A plain brand name (e.g. Nike) is best-effort: Google's own name search often returns only small namesakes and can miss a brand's main advertiser, so prefer the domain or an advertiser ID when you need a specific advertiser.

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

Exact Google advertiser IDs, e.g. AR02934798844673654785, taken from a Transparency Center URL. The most precise input; skips all matching. Anything here that is not an ID is treated as a search term.

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

Only return creatives shown in this country. 'anywhere' returns creatives from all countries. This genuinely filters results, it is not just a label.

## `detailLevel` (type: `string`):

'basic' returns one row per creative from the listing (fast, cheapest). 'full' adds one lookup per creative to attach per-country impression buckets, first/last shown dates per country, all creative variants, and better format detection.

## `maxResults` (type: `integer`):

Hard cap on rows across all advertisers. You are only charged for rows actually returned.

## `maxResultsPerAdvertiser` (type: `integer`):

Optional per-advertiser cap, useful when one brand would otherwise use the whole budget.

## `maxPagesPerAdvertiser` (type: `integer`):

Safety stop for very large advertisers. Each page returns up to 100 creatives.

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

Keep creatives whose run window overlaps this date. Format YYYY-MM-DD.

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

Keep creatives whose run window overlaps this date. Format YYYY-MM-DD.

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

Required for anything beyond a tiny run. Google rate limits hard by IP, so the scraper rotates residential IPs to stay healthy. Residential is the default and strongly recommended; datacenter IPs get blocked quickly.

## Actor input object example

```json
{
  "searchTerms": [
    "booking.com",
    "nike.com"
  ],
  "advertiserIds": [
    "AR02934798844673654785"
  ],
  "region": "anywhere",
  "detailLevel": "basic",
  "maxResults": 1000,
  "maxPagesPerAdvertiser": 25,
  "dateFrom": "2026-01-01",
  "dateTo": "2026-07-01",
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

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

// Run the Actor and wait for it to finish
const run = await client.actor("oski/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 = { "searchTerms": ["booking.com"] }

# Run the Actor and wait for it to finish
run = client.actor("oski/google-ads-transparency-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "searchTerms": [
    "booking.com"
  ]
}' |
apify call oski/google-ads-transparency-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=oski/google-ads-transparency-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Google Ads Transparency Scraper",
        "description": "Scrape any advertiser's live Google ads by domain or ID: ad creatives, per-country impressions, and first and last shown dates. No API key, rotating IPs, built not to break.",
        "version": "0.1",
        "x-build-id": "SZn1ZptfzQxE9vjvU"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/oski~google-ads-transparency-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-oski-google-ads-transparency-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/oski~google-ads-transparency-scraper/runs": {
            "post": {
                "operationId": "runs-sync-oski-google-ads-transparency-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/oski~google-ads-transparency-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-oski-google-ads-transparency-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "properties": {
                    "searchTerms": {
                        "title": "Domains (recommended) or brand names",
                        "type": "array",
                        "description": "Advertisers to look up. A landing domain like booking.com or nike.com resolves reliably to the real advertiser. A plain brand name (e.g. Nike) is best-effort: Google's own name search often returns only small namesakes and can miss a brand's main advertiser, so prefer the domain or an advertiser ID when you need a specific advertiser.",
                        "items": {
                            "type": "string"
                        }
                    },
                    "advertiserIds": {
                        "title": "Advertiser IDs (most exact)",
                        "type": "array",
                        "description": "Exact Google advertiser IDs, e.g. AR02934798844673654785, taken from a Transparency Center URL. The most precise input; skips all matching. Anything here that is not an ID is treated as a search term.",
                        "items": {
                            "type": "string"
                        }
                    },
                    "region": {
                        "title": "Country",
                        "enum": [
                            "anywhere",
                            "GB",
                            "US",
                            "IE",
                            "CA",
                            "AU",
                            "NZ",
                            "DE",
                            "FR",
                            "ES",
                            "IT",
                            "NL",
                            "BE",
                            "SE",
                            "NO",
                            "DK",
                            "FI",
                            "PT",
                            "AT",
                            "CH",
                            "IN",
                            "SG",
                            "JP",
                            "BR",
                            "MX",
                            "ZA",
                            "AE"
                        ],
                        "type": "string",
                        "description": "Only return creatives shown in this country. 'anywhere' returns creatives from all countries. This genuinely filters results, it is not just a label.",
                        "default": "anywhere"
                    },
                    "detailLevel": {
                        "title": "Detail level",
                        "enum": [
                            "basic",
                            "full"
                        ],
                        "type": "string",
                        "description": "'basic' returns one row per creative from the listing (fast, cheapest). 'full' adds one lookup per creative to attach per-country impression buckets, first/last shown dates per country, all creative variants, and better format detection.",
                        "default": "basic"
                    },
                    "maxResults": {
                        "title": "Max ads in total",
                        "minimum": 1,
                        "type": "integer",
                        "description": "Hard cap on rows across all advertisers. You are only charged for rows actually returned.",
                        "default": 1000
                    },
                    "maxResultsPerAdvertiser": {
                        "title": "Max ads per advertiser",
                        "minimum": 1,
                        "type": "integer",
                        "description": "Optional per-advertiser cap, useful when one brand would otherwise use the whole budget."
                    },
                    "maxPagesPerAdvertiser": {
                        "title": "Max pages per advertiser",
                        "minimum": 1,
                        "type": "integer",
                        "description": "Safety stop for very large advertisers. Each page returns up to 100 creatives.",
                        "default": 25
                    },
                    "dateFrom": {
                        "title": "Shown on or after",
                        "type": "string",
                        "description": "Keep creatives whose run window overlaps this date. Format YYYY-MM-DD."
                    },
                    "dateTo": {
                        "title": "Shown on or before",
                        "type": "string",
                        "description": "Keep creatives whose run window overlaps this date. Format YYYY-MM-DD."
                    },
                    "proxyConfiguration": {
                        "title": "Proxy",
                        "type": "object",
                        "description": "Required for anything beyond a tiny run. Google rate limits hard by IP, so the scraper rotates residential IPs to stay healthy. Residential is the default and strongly recommended; datacenter IPs get blocked quickly.",
                        "default": {
                            "useApifyProxy": true,
                            "apifyProxyGroups": [
                                "RESIDENTIAL"
                            ]
                        }
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
