# Google Ads Transparency Scraper: Competitor Ads by Domain (`rawtojson/google-ads-transparency`) Actor

Spy on competitor Google ads: search a domain or advertiser and get every ad creative with first and last shown dates, by country and date range. No login, no API key, pay per ad (about $1 per 1,000). Ready for n8n, Make and AI agents.

- **URL**: https://apify.com/rawtojson/google-ads-transparency.md
- **Developed by:** [Juan Francisco](https://apify.com/rawtojson) (community)
- **Categories:** Marketing, Lead generation, Agents
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$1.00 / 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.

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 ads by domain or advertiser

**Scrape the Google Ads Transparency Center** and get every ad a company runs on Google, with the date each ad **first** and **last** ran. Search by **domain** or **advertiser**, filter by **country** and **dates**, and receive clean JSON. **No login, no API key, no browser.**

### Who is it for

- **Marketing agencies and media buyers** who need to see what competitors advertise, and since when.
- **Brand protection teams** looking for unknown advertisers using their brand or domain.
- **SEO and affiliate analysts** who want every advertiser sending paid traffic to a domain.
- **n8n, Make and AI-agent builders** who need ad intelligence as a simple API.

### Quick start

Paste this in the Console and press **Start** (about 5 seconds, 20 ads):

```json
{
  "domains": ["nike.com"],
  "maxAdsPerQuery": 20
}
```

Real output (shortened):

```json
{
  "query": "nike.com",
  "creativeId": "CR05167852242803359745",
  "advertiserId": "AR18378488041124659201",
  "advertiserName": "Nike Retail BV",
  "domain": "nike.com",
  "contentKind": "image",
  "imageUrl": "https://tpc.googlesyndication.com/archive/simgad/14370454327394475120",
  "imageWidth": 348,
  "imageHeight": 374,
  "firstShown": "2025-10-22T16:01:58.000Z",
  "lastShown": "2026-11-24T22:00:31.000Z",
  "creativeUrl": "https://adstransparency.google.com/advertiser/AR18378488041124659201/creative/CR05167852242803359745"
}
```

### Input

| Field | Type | Description |
|---|---|---|
| `domains` | array | Websites whose ads you want, e.g. `nike.com`. URLs are accepted too (`https://www.nike.com/es`). Returns ads from **any advertiser** whose destination is that domain. |
| `advertisers` | array | Advertiser names (`Nike, Inc.`) or Google advertiser IDs (`AR` + 20 digits). A name is matched to the best advertiser found by Google's own search. |
| `region` | string | Optional. Two-letter country code (`US`, `ES`, `GB`, `DE`...). Empty = all countries. |
| `dateFrom` / `dateTo` | string | Optional. `YYYY-MM-DD`. Returns ads that were running inside that window. |
| `maxAdsPerQuery` | integer | Max ads per domain or advertiser, newest first. Default `100`. |

Advanced example:

```json
{
  "domains": ["nike.com", "adidas.com"],
  "region": "ES",
  "dateFrom": "2026-01-01",
  "maxAdsPerQuery": 500
}
```

### Output

One dataset item per ad creative: `query`, `creativeId`, `advertiserId`, `advertiserName`, `domain`, `contentKind`, `imageUrl` / `previewUrl`, `imageWidth`, `imageHeight`, `formatCode`, `firstShown`, `lastShown`, `creativeUrl`.

- `contentKind` is `image` (direct `imageUrl`) or `preview` (a Google preview link in `previewUrl`, used for text, HTML and video creatives).
- `domain` is filled when you search by domain; for advertiser searches it is `null`.
- If an advertiser name is not found, you get one item with an `error` field (free).

### Pricing compared with other Actors

**Pay per event: you only pay for the ads you receive.** Ads you filter out (country, dates, limit) are not charged.

| Actor | Price per 1,000 ads |
|---|---|
| **This Actor (rawtojson)** | **$1.00** |
| solidcode/ads-transparency-scraper | $1.50 + start fee |
| pulsedata/google-ads-transparency-scraper | $1.50 + start fee |
| memo23/google-ad-transparency-scraper-cheerio | $2.00 + start fee |
| xtech/google-ad-transparency-scraper | $20.00 |

Prices of other Actors taken from their public Store pages in November 2026 and may change. Set a maximum cost per run in the Apify run options and the Actor stops cleanly when it is reached.

### Schedule it and send the data to Google Sheets, Slack or a webhook

- **Schedule:** in Apify, open the Actor, click **Save as task**, then **Schedules**, and run it daily or weekly with `dateFrom` set to a recent date to watch for **new creatives** from a competitor.
- **Google Sheets:** use the Apify integration "Export to Google Sheets" on the task, or in n8n / Make use "Run Actor" and then "Add row" in Google Sheets.
- **Webhook:** in the task, add a webhook on the event "Run succeeded" to call your URL (Slack, Zapier, your own API) and read the dataset from the run.
- **AI agents (MCP):** the input is a small flat schema, so agents can call it through the Apify MCP server (`mcp.apify.com`).

### Limits and good to know

- Only **public** data is returned: creative previews and dates. Ad performance, spend and targeting are not published by Google.
- The date filter selects ads that were **running in the window**, not ads created in it.
- **Advertiser names are ambiguous:** Google keeps one advertiser entity per legal company and country, so "Adidas AG" can resolve to a different entity than you expect. The run log lists the candidates when there is no exact match. To cover a whole brand use `domains`, or pass the exact `AR...` ID.
- Google may briefly rate-limit very heavy use. The Actor spaces its requests and retries; if Google asks for a CAPTCHA the run stops with a clear message and you are charged only for the ads already returned. Try again a few minutes later.
- Respect Google's terms and local law. Advertiser names are business names; do not use the data to harass or profile private individuals.

### FAQ

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

**How do I get a competitor's ads?** Put their website in `domains` and/or their name in `advertisers`.

**Can I search by keyword?** Not in this version: search by domain or advertiser.

**Why are there fewer ads than I expected?** `region` and `dateFrom` / `dateTo` narrow the results. Remove them to get everything.

**A run returned an item with an `error` field.** The advertiser name was not found. Check the spelling or pass its `AR...` ID.

### Legal notice

This Actor reads only public pages of the Google Ads Transparency Center, which are visible to anyone without login. It is not affiliated with Google. You are responsible for using the data in line with Google's terms of service and applicable law.

### En español (resumen)

**Scraper de Google Ads Transparency Center**: busca por dominio o anunciante y obtén todos los anuncios que una empresa publica en Google, con la fecha en que empezó y terminó de mostrarse cada uno, filtrando por país y fechas. Sin login ni API key. Pagas solo por los anuncios recibidos (unos 1 $ por cada 1.000). Úsalo para espiar a la competencia, proteger tu marca o alimentar informes, n8n, Make y agentes de IA. Programa una ejecución diaria y envía los resultados a Google Sheets o a un webhook. Para cubrir una marca completa usa `domains`; los nombres de anunciante pueden corresponder a varias entidades legales.

### Support

Found a bug or need a field added? Open an issue on the Actor page; issues are answered within 24 hours. More Actors by rawtojson at **https://rawtojson.com**.

# Actor input Schema

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

Websites whose ads you want, e.g. nike.com. Returns ads whose destination is that domain, from any advertiser.

## `advertisers` (type: `array`):

Advertiser names (e.g. Nike, Inc.) or Google advertiser IDs (AR followed by 20 digits). A name is matched to the best advertiser found by Google's own search.

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

Only ads shown in this country. Two-letter ISO code, e.g. US, ES, GB, DE. Leave empty for all countries.

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

Only ads that were running on or after this date (YYYY-MM-DD).

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

Only ads that were running on or before this date (YYYY-MM-DD).

## `maxAdsPerQuery` (type: `integer`):

Maximum number of ads to return for each domain or advertiser, newest first. You are charged only for the ads returned.

## Actor input object example

```json
{
  "domains": [
    "nike.com"
  ],
  "maxAdsPerQuery": 100
}
```

# Actor output Schema

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

Ad creatives with advertiser, preview and dates.

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

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

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

```

## MCP server setup

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

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/mz7aLTo4IBfVCSRV3/builds/H2X2UHtrCWx3sD3gD/openapi.json
