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

Every Google ad of a brand, domain or advertiser: dates, formats, regions, impressions, headlines, Shopping products and YouTube IDs. Fast, no login.

- **URL**: https://apify.com/magic-scraper/google-ads-transparency-scraper.md
- **Developed by:** [Magic](https://apify.com/magic-scraper) (community)
- **Categories:** SEO tools
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 95.2% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.15 / 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.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

[![Google Ads Transparency Scraper](https://apify.com/actor-badge?actor=magic-scraper/google-ads-transparency-scraper)](https://apify.com/magic-scraper/google-ads-transparency-scraper)
![No Login](https://img.shields.io/badge/Login-Not%20Required-success?style=flat-square)
![Pay-Per-Result](https://img.shields.io/badge/Pricing-$0.20%20%2F%201K%20ads-blue?style=flat-square)
![Speed](https://img.shields.io/badge/Speed-3000%20ads%20in%2019s-brightgreen?style=flat-square)

Collect **every ad a brand, domain or advertiser runs on Google** — Search, YouTube, Shopping, Maps and Play — straight from the [Google Ads Transparency Center](https://adstransparency.google.com/). **3,000 ads in 19 seconds** in fast mode, for **$0.20 per 1,000 ads** — with or without details.

> 🚀 **Try it now:** open the Input tab, keep the prefilled `Nike, Inc.` and click **Start** — 20 ads in a few seconds.

Built for **marketers, PPC agencies, competitor-intelligence teams and researchers** who want to see what a competitor advertises, since when, in which countries and in which formats — without logins, cookies or a browser.

***

### ✅ What you get

**Every ad (fast mode):** advertiser name and ID, creative ID, format (`text` / `image` / `video`), first and last shown dates, `daysShown`, target domain, the ad screenshot/image with width and height, and a direct Transparency Center link.

**With 🔬 Include details:**

- **Per-country stats:** first/last shown date per country, impression ranges (where Google publishes them, e.g. EU) and per-surface breakdown (Search, YouTube, Shopping, Maps, Play).
- **All creative variations** of the ad.
- **What the ad preview contains:**
  - Search ads — `headline`, `description`, `displayUrl`.
  - Shopping ads — `product` with title, price, merchant and product photo.
  - Maps (local) ads — headline, description and the business `location` (name, street, city, region, postal code, country).
  - Video ads — `youtubeVideoId`, `youtubeUrl` and thumbnail; for Display & Video 360 (CTV) videos, the mp4 file, `videoDurationSecs` and the `landingUrl` with the campaign's UTM tags.

Fields Google does not publish for an ad are `null` — nothing is guessed or filled with placeholders.

### 🆚 Comparison

| | This Actor | Typical alternatives |
| :--- | :--- | :--- |
| Price per 1,000 ads | **$0.20, details included** | $1.00–$2.00, details often +$3.00 |
| Speed (fast mode) | **3,000 ads in 19 s** | tens of seconds for 40 ads |
| Browser | None — pure HTTP | Often Chromium |
| Shopping products, Maps addresses, YouTube IDs | ✅ | Rarely |
| Monitoring mode (only new ads) | ✅ | Rarely |

### ⚠️ What this Actor does not do

- **No text for screenshot-only ads.** Google archives most Search text ads only as a screenshot image. For those, `imageUrl` is the screenshot and `headline` / `description` are `null` — the Actor does not run OCR.
- **Impression ranges and per-country first-shown dates** exist only where Google publishes them (mostly EU countries and political ads).
- **Some creatives have no preview at all** in the Transparency Center (Google shows "unable to render"); they come with dates, format and links only.
- `videoStreamUrl` may expire after a few hours; use `youtubeVideoId` for permanent links.

***

### 📖 How to use

1. Add what to search: **🔍 Brand names**, **🌐 Domains**, **🆔 Advertiser IDs** or **🔗 Transparency Center URLs** (any mix).
2. Optionally narrow by **🌍 country**, **🎞 format**, **📺 platform** and **📅 dates**, and turn on **🔬 Include details**.
3. Click **Start**, then export the results as JSON, CSV or Excel.

#### How it works

The Actor calls the same JSON endpoints the Transparency Center website uses — no browser. Ad search works from any IP without a proxy. Ad details are limited by Google to about 100 lookups per IP, so in details mode the Actor rotates residential IPs automatically (the cost is included in the price) and slows down by itself when Google signals a rate limit.

Measured on Apify (3,000 ads from 10 brands): fast mode **19 s, 177 MB**; details mode **842 s (~3.6 ads/s), 238 MB**.

#### Input

| Field | Type | Default | Description |
| :--- | :--- | :---: | :--- |
| 🔍 `queries` | array | — | Advertiser names, e.g. `Nike, Inc.`; the best-matching advertiser accounts are collected |
| 🌐 `domains` | array | — | Domains the ads point to, e.g. `nike.com` (all advertisers) |
| 🆔 `advertiserIds` | array | — | Google advertiser IDs (`AR` + 20 digits) |
| 🔗 `startUrls` | array | — | Advertiser, domain-search or single-ad URLs; URL filters are applied |
| 💯 `maxAdsPerTarget` | integer | `50` | Max ads per query, domain, advertiser or URL |
| 🏢 `maxAdvertisersPerQuery` | integer | `1` | Advertiser accounts collected per brand name |
| 🌍 `region` | string | anywhere | Country where ads were shown (`US`, `DE`, `GB`, ...) |
| 🎞 `adFormat` | string | `ALL` | `ALL`, `TEXT`, `IMAGE`, `VIDEO` |
| 📺 `platforms` | array | all | `SEARCH`, `YOUTUBE`, `SHOPPING`, `MAPS`, `PLAY` |
| 📅 `startDate` / `endDate` | string | — | Shown on or after / on or before, `YYYY-MM-DD` |
| 🔬 `includeDetails` | boolean | `false` | Per-country stats, variations and preview content (see above) |
| 🆕 `onlyNewAds` | boolean | `false` | Return only ads not seen in earlier runs of the same search |
| ⚙ `maxConcurrency` | integer | `10` | Parallel detail lookups |
| ⏱ `maxRequestsPerSecond` | integer | `6` | Starting request rate in details mode (adapts automatically) |
| `proxyConfiguration` | object | off | Leave as is; details mode picks residential IPs automatically |

***

### 📤 Sample output (real record, details mode)

```json
{
  "creativeId": "CR09845894947608199169",
  "advertiserId": "AR07091023166411112449",
  "advertiserName": "Wal-Mart Stores, Inc",
  "format": "image",
  "firstShown": "2026-10-22T11:30:41Z",
  "lastShown": "2026-10-31T23:09:18Z",
  "daysShown": 10,
  "targetDomain": "walmart.com",
  "imageUrl": "https://encrypted-tbn3.gstatic.com/shopping?q=tbn:ANd9GcRkmRzOeO_DohNF_Ut6rWYK5Yj8bVt0rKyA7f1S_fC5F6RPIgD0n0XNOe7U5Ug&usqp=CAc",
  "width": null,
  "height": null,
  "previewScriptUrl": "https://displayads-formats.googleusercontent.com/ads/preview/content.js?client=ads-integrity-transparency&...",
  "adUrl": "https://adstransparency.google.com/advertiser/AR07091023166411112449/creative/CR09845894947608199169",
  "impressions": null,
  "regions": [
    {
      "regionCode": "US",
      "regionName": "United States",
      "geoId": 2840,
      "firstShown": null,
      "lastShown": "2026-10-31",
      "impressions": { "lowerBound": null, "upperBound": null },
      "surfaces": []
    }
  ],
  "variations": [{ "imageUrl": null, "width": null, "height": null, "previewScriptUrl": "https://displayads-formats.googleusercontent.com/ads/preview/content.js?..." }],
  "product": {
    "title": "Nonivsa Women's 10 inch Gray Synthetic Fiber Short Layered Pixie Wig with Side Swept Bangs for Daily Wear, Size: One size",
    "price": "$17.89",
    "merchant": "Walmart",
    "imageUrl": "https://encrypted-tbn3.gstatic.com/shopping?q=tbn:ANd9GcRkmRzOeO_DohNF_Ut6rWYK5Yj8bVt0rKyA7f1S_fC5F6RPIgD0n0XNOe7U5Ug&usqp=CAc"
  },
  "location": null,
  "headline": null,
  "displayUrl": null,
  "description": null,
  "advertiserCountry": null,
  "advertiserVerified": null,
  "videoStreamUrl": null,
  "videoDurationSecs": null,
  "landingUrl": null,
  "youtubeVideoId": null,
  "youtubeUrl": null,
  "thumbnailUrl": null,
  "source": "domain:walmart.com",
  "scrapedAt": "2026-10-31T23:27:08Z"
}
```

`advertiserCountry` and `advertiserVerified` are filled for brand-name queries (from Google's advertiser search).

***

### 💳 Pricing

Pay-Per-Result: **$0.20 per 1,000 ads** ($0.0002 per ad), the same with or without details, + $0.00005 start fee per GB of memory. Apify's free $5 monthly credit covers about **25,000 ads**. You pay only for saved ads; the run stops cleanly at your maximum charge limit.

### 🎯 Use cases

- **Competitor ad research:** every Search, YouTube and Shopping ad of a rival, with first/last shown dates.
- **Monitoring:** schedule daily with `onlyNewAds: true` to get only a competitor's new creatives.
- **Shopping intelligence:** which products and prices a retailer promotes in Google Shopping ads.
- **Local marketing:** which store locations a chain advertises on Google Maps.
- **Political and regulatory research:** per-country reach and impression ranges in the EU.

### 💻 Python API example

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_APIFY_API_TOKEN")
run = client.actor("magic-scraper/google-ads-transparency-scraper").call(run_input={
    "domains": ["hubspot.com"],
    "region": "US",
    "maxAdsPerTarget": 200,
    "includeDetails": True,
})
for ad in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(ad["format"], ad["lastShown"], ad["headline"] or (ad["product"] or {}).get("title"), ad["adUrl"])
```

### ❓ FAQ

**Is this legal?** The Actor reads only data Google publishes in its public Ads Transparency Center, without logging in. You are responsible for using the data in line with applicable laws (e.g. GDPR) and Google's terms.

**Why is `headline` empty for many text ads?** Google stores those ads only as screenshots; open `imageUrl` to see the ad.

**Do I need a proxy?** No. Details mode switches to residential IPs automatically.

### 🤝 Support

Found a problem or need another field? Open an issue in the **Issues** tab.

***

### 🔗 Related Scrapers

- 🎵 [TikTok Video & Hashtag Scraper](https://apify.com/magic-scraper/tiktok-video-hashtag-scraper) — TikTok videos by hashtag or keyword with views, likes and author stats for social ad research.
- 🔍 [TikTok Shop Search Scraper](https://apify.com/magic-scraper/tiktok-shop-search-scraper) — TikTok Shop products by keyword with live prices, units sold and estimated revenue.
- 📇 [eBay Seller Contact Scraper](https://apify.com/magic-scraper/ebay-seller-contact-scraper) — Business name, address, phone and email of eBay sellers from item IDs.

***

### SEO Keywords

Google Ads Transparency scraper, Google Ads Transparency Center API, competitor Google ads spy tool, Google ads library scraper, Google ads by domain, Google advertiser ads export, YouTube ads scraper, Google Shopping ads scraper, Google Search ads text extractor, Google ads monitoring, Google political ads data, Google ads impressions by country, Google Maps local ads scraper, PPC competitor research, ad creative library export.

# Actor input Schema

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

Advertiser names such as 'Nike' or 'HubSpot'. The best-matching advertiser accounts are looked up and their ads collected. Use Domains or Advertiser IDs for an exact match.

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

Websites the ads point to, e.g. nike.com. Finds ads from every advertiser that sends traffic to this domain.

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

Google advertiser IDs (AR followed by 20 digits), e.g. AR16735076323512287233. Shown in the Transparency Center URL of an advertiser.

## `startUrls` (type: `array`):

Advertiser, domain-search or single-ad URLs from adstransparency.google.com. Filters in the URL (region, format, platform, dates) are applied.

## `maxAdsPerTarget` (type: `integer`):

Stop after this many ads for each query, domain, advertiser or URL. You pay per saved ad.

## `maxAdvertisersPerQuery` (type: `integer`):

How many matching advertiser accounts to collect for each brand name (companies often have several accounts).

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

Two-letter country code (US, DE, GB, FR, ...) or ANYWHERE. Empty means anywhere.

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

Collect only this format. Search text ads are mostly archived as screenshots; ads with a rendered preview also return headline and description.

## `platforms` (type: `array`):

Only ads shown on these Google surfaces. Leave empty for all.

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

Date in YYYY-MM-DD format.

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

Date in YYYY-MM-DD format.

## `includeDetails` (type: `boolean`):

Adds per-country first/last shown dates and impression ranges, per-surface stats and all creative variations, plus what Google's ad preview contains: headline, description and display URL (search and local ads), product title, price and merchant (Shopping ads), business address (Maps ads), YouTube video ID and thumbnail (video ads). Slower: about 3-4 ads per second.

## `onlyNewAds` (type: `boolean`):

Return only ads not seen in earlier runs with the same search. Schedule the actor to watch a competitor. Seen ads are remembered in a named storage in your account.

## `maxConcurrency` (type: `integer`):

Detail lookups run in parallel up to this number.

## `maxRequestsPerSecond` (type: `integer`):

Starting request rate to Google in details mode. The actor slows down automatically when Google signals a rate limit and speeds back up afterwards.

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

Leave as is. Ad search works from any IP without a proxy. Ad details are limited by Google to about 100 per IP, so with Include details on the actor rotates residential IPs automatically (included in the price). Set your own proxy only if you need to; Apify datacenter IPs are already rate-limited by Google.

## Actor input object example

```json
{
  "queries": [
    "Nike, Inc."
  ],
  "maxAdsPerTarget": 20,
  "maxAdvertisersPerQuery": 1,
  "adFormat": "ALL",
  "includeDetails": false,
  "onlyNewAds": false,
  "maxConcurrency": 10,
  "maxRequestsPerSecond": 6,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

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

Dataset items: creative ID, advertiser, format, first and last shown, days shown, preview image or video, and in details mode regions, impression ranges and ad text.

# 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, Inc."
    ],
    "maxAdsPerTarget": 20,
    "proxyConfiguration": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("magic-scraper/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, Inc."],
    "maxAdsPerTarget": 20,
    "proxyConfiguration": { "useApifyProxy": False },
}

# Run the Actor and wait for it to finish
run = client.actor("magic-scraper/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, Inc."
  ],
  "maxAdsPerTarget": 20,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}' |
apify call magic-scraper/google-ads-transparency-scraper --silent --output-dataset

```

## MCP server setup

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