# Google Ads Transparency Scraper — Competitor Ad Intelligence (`inexhaustible_glass/google-ads-transparency-scraper`) Actor

- **URL**: https://apify.com/inexhaustible_glass/google-ads-transparency-scraper.md
- **Developed by:** [Hitman studio](https://apify.com/inexhaustible_glass) (community)
- **Categories:** Lead generation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 92.9% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $4.00 / 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 📢

**See every ad your competitors are running — straight from Google.**

This Actor pulls an advertiser's complete ad library from Google's own public
**[Ads Transparency Center](https://adstransparency.google.com/)**: ad formats,
creatives (images & videos), when each ad ran, which countries it targeted, the
landing page it points to — plus the advertiser's verification status and total
ad-library size. No login, no API key, no proxy.

> Built for **competitor ad intelligence, creative research, ad-spend signals,
> lead generation, agency pitching and brand monitoring.**

***

### ✨ What you get

**For each advertiser**

- ✅ Advertiser name, ID, **verified status** and **location/country**
- 📊 **Total ad-library size** — how many ads they're running (a top activity signal)
- 🔗 Direct advertiser transparency link

**For every ad / creative**

- 🎞️ **Format** — Text · Image · Video
- 📅 **Last shown** (and first shown when available)
- 🌍 **Regions** the ad ran in
- 🎯 **Landing / destination URL** — where the ad clicks to
- 🖼️ **Image / Video / Preview URL** — the actual creative file
- ✍️ Ad **title & body** (text ads)
- 🪪 Creative ID + a direct **transparency link** to the exact ad

***

### 🚀 Input

| Field | Description |
|---|---|
| `queries` | Brand / keyword names — e.g. `["Nike", "Booking.com"]` (auto-picks the biggest matching advertiser) |
| `domains` | Find the advertiser behind a website — e.g. `["nike.com"]` |
| `advertiserIds` | Scrape advertiser IDs directly — e.g. `["AR16735076323512287233"]` |
| `region` | 2-letter ISO country code (`US`, `GB`, `IN`, `DE`…) or `anywhere` |
| `maxAdsPerAdvertiser` | Ads per advertiser (default 50) |
| `advertisersPerQuery` | Matches to take per query (default 1 = best match) |
| `includeAdDetails` | Fetch format / dates / creative / landing per ad (default **on**) |
| `adFormat` | Keep only `text` / `image` / `video` |
| `platform` | Keep only ads on one Google surface: `search` / `youtube` / `shopping` / `maps` / `play` |
| `dateFrom` / `dateTo` | Filter by last-shown date range (`YYYY-MM-DD`) |

```json
{
  "queries": ["Nike"],
  "region": "US",
  "maxAdsPerAdvertiser": 100,
  "includeAdDetails": true
}
```

***

### 📦 Output

Each run returns one **advertiser summary** per advertiser plus one row per **ad**.

**Ad row** (real sample):

```json
{
  "record_type": "ad",
  "advertiser_name": "Nike, Inc.",
  "advertiser_id": "AR16735076323512287233",
  "advertiser_verified": false,
  "advertiser_location": "United States",
  "advertiser_total_ads": "10000",
  "creative_id": "CR00897932835296378881",
  "ad_format": "Image",
  "last_shown": "2026-11-09",
  "regions": ["US", "GB", "CA"],
  "ad_title": null,
  "ad_body": null,
  "landing_url": "https://www.nike.com/",
  "image_url": "https://tpc.googlesyndication.com/archive/simgad/135556836553007484",
  "video_url": null,
  "preview_url": "https://displayads-formats.googleusercontent.com/ads/preview/content.js?...",
  "transparency_url": "https://adstransparency.google.com/advertiser/AR16735076323512287233/creative/CR00897932835296378881",
  "scraped_at": "2026-11-09T17:20:00Z"
}
```

**Advertiser summary:**

```json
{
  "record_type": "advertiser_summary",
  "advertiser_name": "Nike, Inc.",
  "advertiser_id": "AR16735076323512287233",
  "verified": false,
  "advertiser_location": "United States",
  "total_ads_reported": "10000",
  "ads_scraped": 100,
  "advertiser_url": "https://adstransparency.google.com/advertiser/AR16735076323512287233"
}
```

> Export to **JSON, CSV, Excel, HTML or the API** — or open the **Ads** table view.

***

### 💡 Use cases

- **Competitor intelligence** — see exactly which ads a rival runs, in which markets, and how long they've been live (longevity ≈ what's working).
- **Creative research & swipe files** — pull competitors' best image/video ads for inspiration.
- **Agency pitching** — show a prospect their competitors' live ads in one report.
- **Lead generation** — find active advertisers in a niche + their landing pages.
- **Brand & trademark monitoring** — catch who's advertising on your brand terms.

***

### ⚙️ How it works

Google's Ads Transparency front-end is powered by a **public internal JSON-RPC
API** (`/anji/_/rpc/SearchService/*`, `/LookupService/*`). This Actor calls those
same endpoints with a cookie-seeded session — **browser-free**, so runs are fast
and cheap. It reads only data Google already publishes publicly for everyone.

***

### 🤖 Use it as an MCP tool (AI agents)

This Actor is available through **Apify's MCP server**, so Claude, Cursor, VS Code
and other MCP clients can call it as a tool. Point your client at:

```
https://mcp.apify.com
```

…authenticate with your Apify token and enable the
`google-ads-transparency-scraper` tool. Your agent can then ask things like
*"get Nike's current Google ads in the US"* and get structured results back. The
Actor's input schema above is exactly the tool's parameters.

***

### ❓ FAQ

**Is this legal?** It reads Google's own public Transparency Center — the same
data any visitor sees in their browser. No private data, nothing bypassed.

**Why is `landing_url` sometimes null?** Google doesn't expose a click
destination for every creative; when it isn't published, the field is left null
rather than guessed.

**Can I get every ad an advertiser runs?** Yes — raise `maxAdsPerAdvertiser`
(pagination is automatic).

**Which regions are supported?** All 230+ ISO country codes Google supports, or
`anywhere` for a global view.

# Actor input Schema

## `queries` (type: `array`):

Brand or advertiser names to look up (e.g. Nike, Booking.com). Each resolves to the best-matching advertiser.

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

Find the advertiser behind a website domain (e.g. nike.com).

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

Scrape these advertiser IDs directly (e.g. AR06641858037806006273).

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

2-letter ISO country code (US, GB, IN, DE…) to filter ads shown in that country, or 'anywhere' for all.

## `maxAdsPerAdvertiser` (type: `integer`):

Cap how many ads/creatives to pull per advertiser.

## `advertisersPerQuery` (type: `integer`):

How many matching advertisers to take for each brand/keyword query (1 = best match only).

## `includeAdDetails` (type: `boolean`):

ON = richest output (one extra fast request per ad). OFF = faster/cheaper, IDs + preview only.

## `maxDetailFetches` (type: `integer`):

Safety cap on per-ad detail requests across the whole run (controls runtime/cost).

## `adFormat` (type: `string`):

Only keep this format.

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

Only keep ads last shown on or after this date (YYYY-MM-DD).

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

Only keep ads last shown on or before this date (YYYY-MM-DD).

## `platform` (type: `string`):

Only keep ads shown on this Google surface (Search, YouTube, Shopping, Maps, Play). Values confirmed from Google Ads Transparency Center.

## Actor input object example

```json
{
  "queries": [
    "Nike"
  ],
  "region": "anywhere",
  "maxAdsPerAdvertiser": 50,
  "advertisersPerQuery": 1,
  "includeAdDetails": true,
  "maxDetailFetches": 200,
  "adFormat": "",
  "platform": ""
}
```

# Actor output Schema

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

No description

# 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 = {
    "queries": [
        "Nike"
    ],
    "region": "anywhere"
};

// Run the Actor and wait for it to finish
const run = await client.actor("inexhaustible_glass/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 = {
    "queries": ["Nike"],
    "region": "anywhere",
}

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

```

## MCP server setup

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