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

Scrape ads from the Google Ads Transparency Center by domain, advertiser ID or name. Format, first/last shown, days shown, regions, ad copy, landing pages, images and YouTube videos. Filter by country, date, format, platform. No login.

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

## Pricing

$1.50 / 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/actors/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

Scrape ads from the **Google Ads Transparency Center** without a login: every ad an advertiser runs on Google Search, YouTube, Shopping, Maps and Play, with **format, first and last shown dates, days shown, the countries it ran in, ad copy, landing page, images and YouTube video**. Search by website domain, advertiser ID, Transparency Center URL or advertiser name, and filter by country, date range, format and platform. Export to JSON, CSV, Excel, or use the API.

### What can it do?

- **All ads for a domain**: enter `nike.com` and get the ads of every verified advertiser that promotes it (brands often advertise through several legal entities and agencies).
- **All ads of one advertiser**: enter an advertiser ID (`AR16735076323512287233`) or paste the advertiser's Transparency Center URL.
- **Search by name**: enter "Shopify" and the Actor picks the verified advertiser with that name and the most ads.
- **Single ads**: paste the URL of one ad (`.../advertiser/AR.../creative/CR...`).
- **Filters**: country (`US`, `CA`, `GB`, `DE`, ...), shown between two dates, format (text, image, video) and platform (Search, YouTube, Shopping, Maps, Play).
- **Details per ad**: the countries the ad was shown in with the last date in each, and the number of creative variations.
- **Ad copy and media**: headline, long headline, description, call to action, display URL, landing page URL, image URLs, YouTube video ID and URL, video length and channel, read from the ad's public preview.

### Who is it for?

- **Marketers and agencies** tracking what competitors advertise, where, and for how long.
- **Media buyers and creative teams** collecting ad copy, video and image examples by brand or market.
- **Brand protection teams** spotting who advertises on their brand's domain.
- **Researchers and journalists** studying advertisers and campaigns over time.
- **Sales teams** finding companies that actively spend on Google Ads.

### How to use it

1. Enter **domains, advertiser IDs or URLs**, one per line, and/or **advertiser names**.
2. Set **Max ads** per line (large brands have tens of thousands of ads).
3. Optionally set a **region**, **dates**, **format** or **platform**.
4. Click **Start**. The form is prefilled (`nike.com`, 20 ads), so the first run works with one click.

#### Input example

```json
{
  "sources": ["nike.com", "https://adstransparency.google.com/advertiser/AR16735076323512287233?region=CA"],
  "searchTerms": ["Shopify"],
  "maxAdsPerSource": 100,
  "region": "US",
  "dateFrom": "2026-11-01",
  "format": "video",
  "platform": "youtube",
  "includeDetails": true,
  "includeAdContent": true
}
```

#### Main input fields

| Field | What it does |
|---|---|
| `sources` | Domains (`nike.com`), advertiser IDs (`AR...`), or Ads Transparency Center URLs (advertiser page, domain search, single ad). A `region` in a URL applies to that line. |
| `searchTerms` | Advertiser names. Each is matched to verified advertisers with that name, most ads first. |
| `advertisersPerSearchTerm` | How many matching advertisers per name (default 1, up to 10). |
| `maxAdsPerSource` | Maximum ads per input line (default 100). |
| `region` | Two-letter country code. Empty = anywhere. |
| `dateFrom`, `dateTo` | Only ads shown in this period (YYYY-MM-DD). `dateTo` defaults to today. |
| `format` | `all`, `text`, `image` or `video`. |
| `platform` | `all`, `search`, `youtube`, `shopping`, `maps` or `play`. |
| `includeDetails` | Countries and variation count per ad (default on). |
| `includeAdContent` | Ad copy, landing page, images and video per ad (default on). Turn off for the basic fields only. |

### Output example

One item per ad (a YouTube video ad, shortened):

```json
{
  "type": "ad",
  "source": "nike.com",
  "advertiserId": "AR14612997888104464385",
  "advertiserName": "NIKE GLOBAL TRADING B.V. SINGAPORE BRANCH",
  "creativeId": "CR03193513698761113601",
  "adUrl": "https://adstransparency.google.com/advertiser/AR14612997888104464385/creative/CR03193513698761113601",
  "format": "video",
  "domain": "nike.com",
  "firstShown": "2026-11-16T08:44:20.641Z",
  "lastShown": "2026-12-05T02:30:07.900Z",
  "daysShown": 19,
  "regionFilter": "anywhere",
  "previewImageUrl": null,
  "variationCount": 7,
  "regions": [{ "regionCode": "PH", "regionName": "Philippines", "criterionId": 2608, "lastShownDate": "2026-12-04" }],
  "headline": "Alphafly 4 Has Landed",
  "longHeadline": "Built on Air and tuned for speed. Shop Nike Alphafly 4 now.",
  "description": "Faster times are here. Shop the latest innovation in racing today.",
  "callToAction": "Shop now",
  "displayUrl": "nike.com",
  "landingPageUrl": "https://www.nike.com/ph/w/nike-alphafly-1tp17",
  "videoId": "XXLne18Aj7U",
  "videoUrl": "https://www.youtube.com/watch?v=XXLne18Aj7U",
  "videoDuration": "0:17",
  "youtubeChannelName": "Nike",
  "imageUrls": ["https://i.ytimg.com/vi/XXLne18Aj7U/hqdefault.jpg"],
  "texts": [],
  "warnings": [],
  "scrapedAt": "2026-12-05T03:15:37.443Z"
}
```

A search text ad usually comes with `previewImageUrl` (Google's rendered picture of the ad) and, where Google provides a text preview, its visible text in `texts`:

```json
{
  "format": "text",
  "previewImageUrl": "https://tpc.googlesyndication.com/archive/simgad/2090392648145758479",
  "texts": ["Nike", "Shop The Official Nike Store For The Latest Nike Shoes, Apparel & Gear."]
}
```

#### How to read the fields

- `firstShown` / `lastShown` are Google's timestamps for the ad (across all regions). `daysShown` is the number of days Google reports it as shown.
- `regions` lists the countries Google shows for the ad, with the last date it ran in each.
- `headline`, `description`, `callToAction`, `landingPageUrl` and the video fields are filled when the ad's preview contains them (most video and display ads). Fields the preview does not contain are `null`.
- `texts` is the visible text of the preview in order (headline, description, shop name, product title, address of a local ad, ...), with interface labels like "Sponsored" removed.
- `warnings` explains anything missing for that ad, e.g. an ad Google shows only as an image.

Bad inputs (an unknown country code, a wrong date, something that is not a domain or advertiser) come back as items with `type: "error"` and an explanation. They are free. A source with no ads under the selected filters also returns a free error item.

### Pricing

Pay per result: **$0.0015 per ad** ($1.50 per 1,000 ads), plus Apify's small per-run start fee.

- One result = one ad, with all the data you selected.
- Error items are free.
- Example: 10 competitors x 100 ads = 1,000 ads = $1.50.

You can set a maximum cost per run in the run options. The Actor stops cleanly when it is reached.

### FAQ

**Is this an official Google API?**
No. It reads the same public data the Ads Transparency Center website shows, without logging in. Google has no official API for it.

**Domain or advertiser ID: which should I use?**
A domain returns the ads of every advertiser promoting that site, which is usually what you want for a brand. An advertiser ID returns only that legal entity's ads. Advertiser IDs are in the Transparency Center URL (`/advertiser/AR...`).

**Does it include spend or impressions?**
No. Google publishes spend and impression ranges only for political ads in some regions. This Actor covers commercial ads.

**Why is the ad copy empty for some text ads?**
For many search text ads Google shows only a rendered image of the ad. The image URL is in `previewImageUrl`, and the item has a warning.

**Why does a region filter return fewer ads than the website?**
It should match. If it doesn't, the website may be showing a different date range or platform. Open `adUrl` to compare and tell us in the Issues tab.

**Can I schedule it?**
Yes. Use Apify Schedules to collect a competitor's new ads daily or weekly. Sort by `firstShown` to find the newest.

### Limits

- The date filter covers about the last 12 months (Google's limit). Older date ranges return no ads. Without a date filter you get every ad Google lists, including ads first shown years ago (see `firstShown`).
- Order and totals are as Google returns them (most recently shown first). Google reports only a range for the total ad count.
- `regions` shows what the Transparency Center lists for the ad, which is often only the main country.
- Ad copy comes from the ad preview Google renders. Preview formats vary by ad type, so not every field exists for every ad.
- Google may rate-limit requests. The Actor uses Apify Proxy (on by default) and retries through another IP with a back-off. Without a proxy it stops at the first rate limit, to protect your own IP.
- Not affiliated with Google.

# Actor input Schema

## `sources` (type: `array`):

One per line: an advertiser's website domain (nike.com), an advertiser ID (AR16735076323512287233), or an Ads Transparency Center URL (advertiser page, domain search or a single ad). A domain returns the ads of every advertiser that promotes it.

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

Search advertisers by name, e.g. "Shopify". Each name is matched to the verified advertiser(s) with that name and the most ads. Domains are usually more precise.

## `advertisersPerSearchTerm` (type: `integer`):

How many matching advertisers to scrape for each name (most ads first). Companies often run ads under several legal entities.

## `maxAdsPerSource` (type: `integer`):

Stop after this many ads for each line of input. Large brands have tens of thousands of ads.

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

Only ads shown in this country: a two-letter code such as US, CA, GB, DE, FR, AU. Leave empty for anywhere.

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

Only ads shown on or after this date (YYYY-MM-DD). Google's date filter covers about the last 12 months.

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

Only ads shown on or before this date (YYYY-MM-DD). Defaults to today when "Shown from" is set.

## `format` (type: `string`):

Only ads of this format.

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

Only ads shown on this Google platform.

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

For each ad: the countries it was shown in (with last shown date) and the number of creative variations. One extra small request per ad.

## `includeAdContent` (type: `boolean`):

For each ad: headline, description, call to action, display URL, landing page, image URLs and YouTube video, read from the ad preview. Turn off for faster, cheaper runs with only the basic fields.

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

How many requests run in parallel.

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

Google rate-limits by IP. Apify Proxy rotates IPs when that happens. Without a proxy the run stops at the first rate limit.

## `debugSaveResponses` (type: `boolean`):

Save up to 10 raw responses to the key-value store. Only needed for troubleshooting.

## Actor input object example

```json
{
  "sources": [
    "nike.com"
  ],
  "advertisersPerSearchTerm": 1,
  "maxAdsPerSource": 20,
  "region": "",
  "format": "all",
  "platform": "all",
  "includeDetails": true,
  "includeAdContent": true,
  "maxConcurrency": 5,
  "proxyConfiguration": {
    "useApifyProxy": true
  },
  "debugSaveResponses": false
}
```

# 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 = {
    "sources": [
        "nike.com"
    ],
    "maxAdsPerSource": 20,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("giiwinthrop/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 = {
    "sources": ["nike.com"],
    "maxAdsPerSource": 20,
    "proxyConfiguration": { "useApifyProxy": True },
}

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

```

## MCP server setup

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