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

Scrape ads from Google Ads Transparency Center by advertiser
name, domain, or URL. Returns direct CDN image & video URLs
— not broken redirects like other scrapers. Covers text,
image, video, and HTML5 ads across Search, Display, YouTube,
Shopping, and Maps. No login or API key required.

- **URL**: https://apify.com/aiscraperdev/google-ads-transparency-scraper.md
- **Developed by:** [Randeep Dhillon](https://apify.com/aiscraperdev) (community)
- **Categories:** Developer tools, Lead generation, Automation
- **Stats:** 5 total users, 2 monthly users, 97.1% runs succeeded, NaN bookmarks
- **User rating**: 5.00 out of 5 stars

## Pricing

from $3.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 a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.md):

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

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.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/platform/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 — Direct Media URLs, No Blanks

Extract structured ad data from the **Google Ads Transparency Center** by advertiser name, domain, or URL. Returns **direct CDN image & video URLs** — not the broken redirect links that every other scraper returns. No login, no API key, no limits.

> ⚡ **Unlike competing scrapers on Apify**, this actor bypasses iFrame previews and returns raw, direct media CDN URLs (`tpc.googlesyndication.com` / YouTube) — not `displayads-formats.googleusercontent.com` redirects that render blank. Over 60% of rows from other scrapers come back with empty image and video fields. This actor resolves them all.

---

### What you can do with this scraper

- **Competitor research** — see every ad your competitors are running on Google right now
- **Creative intelligence** — build a swipe file of winning display, search, and video ads
- **Dropshipping & ecommerce** — find products being heavily advertised on Google Display & Shopping
- **Agency reporting** — pull competitor ad data for client pitch decks in minutes
- **Market research** — track ad trends by brand, domain, country, or ad format
- **PPC strategy** — analyse landing pages, CTAs, and ad copy from top advertisers in your niche

---

### How to use

#### Step 1 — Add your search queries

The `Search Queries / URLs` field accepts three types of input (you can mix them in one run):

| Input type | Example |
|---|---|
| Domain | `nike.com`, `tesla.com` |
| Transparency Center URL | `https://adstransparency.google.com/advertiser/AR17828074650563772417` |

You can add multiple queries at once — the actor scrapes all of them in a single run.

#### Step 2 — Set your filters

| Filter | Options | Default |
|---|---|---|
| **Region** | Any 2-letter code: `US`, `IN`, `GB`, `ALL` | `ALL` |
| **Platform** | All / Search / Display / YouTube / Shopping / Maps / Play | `All` |
| **Ad Format** | All / Text / Image / Video / HTML5 | `All` |
| **Date Range** | Last 7d / 30d / 90d / Custom | `Last 30d` |
| **Start Date** | `YYYYMMDD` e.g. `20250101` | optional |
| **End Date** | `YYYYMMDD` e.g. `20260507` | optional |
| **Political Ads** | true / false | `false` |
| **Max Results** | Any number, `-1` for all | `100` |

#### Step 3 — Run and export

Click **Start** and wait for the run to complete. Download your results as **JSON, CSV, or Excel** — ready to drop into Google Sheets, Airtable, n8n, Make, or Zapier.

---

### Sample output

```json
{
  "ad_id": "CR04574046308024713217",
  "ad_format": "Image",
  "ad_headline": "Drive the Future",
  "ad_description": "Order your Tesla Model S today.",
  "ad_copy": "Drive the Future — Order your Tesla Model S today.",
  "ad_destination_url": "https://www.tesla.com/models",
  "image_url": "https://tpc.googlesyndication.com/archive/simgad/11738717434317700781",
  "video_url": null,
  "ad_preview_url": "https://adstransparency.google.com/advertiser/AR17828074650563772417/creative/CR04574046308024713217?region=ALL",
  "advertiser_name": "Tesla Inc.",
  "advertiser_id": "AR17828074650563772417",
  "advertiser_domain": "tesla.com",
  "advertiser_verified": true,
  "first_shown_date": "2026-04-23",
  "last_shown_date": "2026-05-07",
  "ad_active_days": 13,
  "regions_targeted": ["US", "IN", "GB"],
  "platform": "Display Network"
}
````

***

### Output fields reference

#### Ad content

| Field | Description |
|---|---|
| `ad_id` | Unique creative ID from Google (`CR...`) |
| `ad_format` | Image / Text / Video / HTML5/Interactive |
| `ad_headline` | Primary headline text |
| `ad_description` | Body / description copy |
| `ad_copy` | Full combined ad text (headline + description) |
| `ad_destination_url` | Actual landing page URL |
| `image_url` | **Direct CDN URL** (`tpc.googlesyndication.com`) — not a redirect |
| `video_url` | Direct YouTube or CDN video URL |
| `ad_preview_url` | Link to ad preview on Google Ads Transparency Center |

#### Advertiser info

| Field | Description |
|---|---|
| `advertiser_name` | Brand / company name |
| `advertiser_id` | Google Advertiser ID (`AR...`) |
| `advertiser_domain` | e.g. `tesla.com` |
| `advertiser_verified` | `true` / `false` — Google verified badge |

#### Delivery data

| Field | Description |
|---|---|
| `first_shown_date` | Date ad first appeared (`YYYY-MM-DD`) |
| `last_shown_date` | Most recent appearance (`YYYY-MM-DD`) |
| `ad_active_days` | Calculated days running — longer = stronger signal |
| `regions_targeted` | Countries / regions where ad ran |
| `platform` | Search / Display Network / YouTube / Shopping / Maps |

***

### Input schema reference

```json
{
  "searchQueries": ["tesla", "nike.com"],
  "region": "US",
  "platform": "all",
  "adFormat": "all",
  "dateRange": "last_30_days",
  "startDate": "20260101",
  "endDate": "20260507",
  "politicalAds": false,
  "maxResults": 500
}
```

***

### Why this scraper is different

| Feature | This actor | Other scrapers |
|---|---|---|
| Direct CDN image URLs | ✅ `tpc.googlesyndication.com` | ❌ Broken redirects or blank |
| Direct video URLs | ✅ YouTube / CDN | ❌ null |
| Deduplication built-in | ✅ | ❌ Duplicate rows |
| No login required | ✅ | ✅ |
| HTML5/Interactive ads | ✅ with thumbnail | ❌ All fields null |
| `ad_active_days` calculated | ✅ | ❌ |

***

### Who uses this

- **Digital marketers** tracking competitor Google Ads campaigns
- **Dropshippers** finding winning products being heavily advertised
- **PPC managers** analysing competitor landing pages and ad copy
- **Marketing agencies** building pitch decks and client competitive reports
- **Growth hackers** identifying high-spend advertisers in any niche
- **Researchers** studying political and issue-based ad campaigns

***

### Pricing

This actor uses **Pay-Per-Result** pricing — you only pay for ads actually scraped.

**$3.00 per 1,000 ads**

***

### Tips for best results

- Use **residential proxies** for maximum coverage — Google limits results heavily without proxies
- Set `adFormat` to `image` or `video` to focus on visual creatives for your swipe file
- Use `maxResults: -1` carefully — popular brands like Nike can return thousands of ads
- The `ad_active_days` field is your best signal for ad performance — ads running 90+ days are almost always profitable
- Paste a direct Transparency Center advertiser URL for the fastest and most accurate results

***

### Limitations

- Google Ads Transparency Center only shows ads from **verified advertisers**
- Spend and impressions data is **not publicly available** for standard commercial ads — only for political/election ads in supported regions
- HTML5/Interactive ad assets are iFrame-based — a thumbnail is returned instead of raw asset files
- Media CDN URLs are **temporary** — download images and videos promptly after scraping

***

### Related scrapers

- Facebook & Meta Ads Library Scraper
- TikTok Ads Scraper
- LinkedIn Ads Scraper

# Actor input Schema

## `searchQueries` (type: `array`):

Brand name, domain, or full Transparency Center URLs.

## `advertiserID` (type: `string`):

Direct Google Advertiser ID (e.g. AR14188379519798214657). Overrides Search Queries if provided.

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

Country code (e.g., US, IN, ALL)

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

Filter by the Google platform where the ad runs.

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

Filter by the type of media.

## `dateRange` (type: `string`):

Filter by when the ads were shown.

## `startDate` (type: `string`):

YYYYMMDD format (e.g., 20250101). Only used if Date Range is 'Custom'.

## `endDate` (type: `string`):

YYYYMMDD format (e.g., 20250507). Only used if Date Range is 'Custom'.

## `politicalAds` (type: `boolean`):

If enabled, only scrapes political and issue ads.

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

Maximum number of ads to scrape per query (-1 for all).

## Actor input object example

```json
{
  "searchQueries": [
    "https://adstransparency.google.com/advertiser/AR17828074650563772417"
  ],
  "region": "ALL",
  "platform": "All",
  "adFormat": "All",
  "dateRange": "Last 30d",
  "politicalAds": false,
  "maxResults": 30
}
```

# Actor output Schema

## `results` (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 = {
    "searchQueries": [
        "https://adstransparency.google.com/advertiser/AR17828074650563772417"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("aiscraperdev/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 = { "searchQueries": ["https://adstransparency.google.com/advertiser/AR17828074650563772417"] }

# Run the Actor and wait for it to finish
run = client.actor("aiscraperdev/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 '{
  "searchQueries": [
    "https://adstransparency.google.com/advertiser/AR17828074650563772417"
  ]
}' |
apify call aiscraperdev/google-ads-transparency-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=aiscraperdev/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 ads from Google Ads Transparency Center by advertiser \nname, domain, or URL. Returns direct CDN image & video URLs \n— not broken redirects like other scrapers. Covers text, \nimage, video, and HTML5 ads across Search, Display, YouTube, \nShopping, and Maps. No login or API key required.",
        "version": "0.0",
        "x-build-id": "7gUaLhPsssZt5jjnx"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/aiscraperdev~google-ads-transparency-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-aiscraperdev-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/aiscraperdev~google-ads-transparency-scraper/runs": {
            "post": {
                "operationId": "runs-sync-aiscraperdev-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/aiscraperdev~google-ads-transparency-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-aiscraperdev-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",
                "required": [
                    "searchQueries"
                ],
                "properties": {
                    "searchQueries": {
                        "title": "Search Queries",
                        "type": "array",
                        "description": "Brand name, domain, or full Transparency Center URLs.",
                        "items": {
                            "type": "string"
                        }
                    },
                    "advertiserID": {
                        "title": "Advertiser ID (Optional)",
                        "type": "string",
                        "description": "Direct Google Advertiser ID (e.g. AR14188379519798214657). Overrides Search Queries if provided."
                    },
                    "region": {
                        "title": "Region",
                        "type": "string",
                        "description": "Country code (e.g., US, IN, ALL)",
                        "default": "ALL"
                    },
                    "platform": {
                        "title": "Platform",
                        "enum": [
                            "All",
                            "Search",
                            "YouTube",
                            "Maps",
                            "Shopping",
                            "Play"
                        ],
                        "type": "string",
                        "description": "Filter by the Google platform where the ad runs.",
                        "default": "All"
                    },
                    "adFormat": {
                        "title": "Ad Format",
                        "enum": [
                            "All",
                            "Text",
                            "Image",
                            "Video"
                        ],
                        "type": "string",
                        "description": "Filter by the type of media.",
                        "default": "All"
                    },
                    "dateRange": {
                        "title": "Date Range",
                        "enum": [
                            "Last 7d",
                            "Last 30d",
                            "Last 90d",
                            "Custom"
                        ],
                        "type": "string",
                        "description": "Filter by when the ads were shown.",
                        "default": "Last 30d"
                    },
                    "startDate": {
                        "title": "Start Date (Custom)",
                        "type": "string",
                        "description": "YYYYMMDD format (e.g., 20250101). Only used if Date Range is 'Custom'."
                    },
                    "endDate": {
                        "title": "End Date (Custom)",
                        "type": "string",
                        "description": "YYYYMMDD format (e.g., 20250507). Only used if Date Range is 'Custom'."
                    },
                    "politicalAds": {
                        "title": "Political / Issue Ads Only",
                        "type": "boolean",
                        "description": "If enabled, only scrapes political and issue ads.",
                        "default": false
                    },
                    "maxResults": {
                        "title": "Max Results",
                        "type": "integer",
                        "description": "Maximum number of ads to scrape per query (-1 for all).",
                        "default": 30
                    }
                }
            },
            "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
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
