# Google Ads Transparency Scraper - Competitor Ads & Creatives (`tallyproof/google-ads-transparency-scraper`) Actor

Get every ad a competitor runs on Google from the public Ads Transparency Center: search by website domain, advertiser ID or name, filter by country and format (text, image, video), with first and last shown dates, days active, image and preview links and the regions each ad ran in.

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

## Pricing

from $1.20 / 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 - Competitor Ads by Domain or Advertiser

See every ad a competitor runs on Google - Search, Display, YouTube - straight from the public **Google Ads Transparency Center**. Give it a website domain, an advertiser ID or an advertiser name. Get one clean row per ad: advertiser, format (text, image, video), first and last date shown, days active, an image snapshot or preview link, the Transparency Center link and, if you want, every country the ad ran in.

**$1.20 per 1,000 ads.** Targets with no ads, unknown advertisers and failed requests are free.

### What you can do with it

- **Competitor ad research:** pull every live and past ad for `competitor.com` in one run, newest first.
- **Ad longevity = winners:** sort by `daysActive`. Ads that have run for months are the ones that pay for themselves.
- **Launch monitoring:** schedule a daily run per competitor and watch for new `creativeId`s or a changed `lastShown`.
- **Country checks:** set **Region** to `US`, `GB`, `DE` (any 2-letter code) to see only ads shown there, or turn on **Include regions per ad** for the full list of countries per ad.
- **Agency pitches:** show a prospect how many ads their rivals run (`targetAdCountRange` is Google's own estimate, e.g. `700-800`).

### Input

| Field | What it does |
|---|---|
| **Website domains** | e.g. `allbirds.com`. Every ad Google lists as pointing to that domain, from any advertiser. |
| **Advertisers** | Advertiser ID (`AR01371945870127267841`), a Transparency Center advertiser URL, or a name as Google shows it (`Allbirds Inc`). Names are matched to the closest advertiser. |
| **Region** | 2-letter country code. Empty = all regions. |
| **Ad format** | All, text, image or video. |
| **Max ads per domain or advertiser** | Default 100. Newest ads come first. |
| **Max ads per run** | Hard cap on charged rows. |
| **Include regions per ad** | Adds `regions: [{ region, lastShown }]`. One extra request per ad, same price. |

#### Try it in one minute

```json
{ "domains": ["allbirds.com"], "region": "US", "maxAdsPerTarget": 20 }
```

```bash
curl -X POST "https://api.apify.com/v2/acts/tallyproof~google-ads-transparency-scraper/run-sync-get-dataset-items?token=YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"domains":["allbirds.com"],"region":"US","maxAdsPerTarget":20}'
```

An empty input runs this example (20 ads for allbirds.com) so you always see real output.

### Output

One row per ad (real row from a run on 2026-11-22):

```json
{
  "rowType": "ad",
  "input": "allbirds.com",
  "searchType": "domain",
  "region": "US",
  "advertiserId": "AR01371945870127267841",
  "advertiserName": "Allbirds Inc",
  "creativeId": "CR08923762728967864321",
  "format": "text",
  "targetDomain": "allbirds.com",
  "firstShown": "2025-06-03T03:09:13.695Z",
  "lastShown": "2026-11-22T04:48:13.908Z",
  "daysActive": 537,
  "imageUrl": "https://tpc.googlesyndication.com/archive/simgad/14176019736299323444",
  "previewUrl": null,
  "adUrl": "https://adstransparency.google.com/advertiser/AR01371945870127267841/creative/CR08923762728967864321?region=US",
  "regions": [{ "region": "US", "lastShown": "2026-11-21" }],
  "advertiserUrl": "https://adstransparency.google.com/advertiser/AR01371945870127267841?region=US",
  "targetAdCountRange": "700-800",
  "scrapedAt": "2026-11-22T05:49:12.615Z"
}
```

- `imageUrl` is Google's snapshot of the ad (also used for many text ads). `previewUrl` is Google's ad preview script for ads shown as live previews (most video and responsive ads).
- `daysActive` = days between `firstShown` and `lastShown`.
- `regions` appears only when **Include regions per ad** is on.

The dataset has two views: **Ads** and **Not found / errors** (free rows: `invalid_input`, `no_ads`, `advertiser_not_found`, `fetch_failed`).

### Pricing

| Event | Price |
|---|---|
| Ad (one ad row) | $0.0012 |
| Actor start | $0.00005 |

1,000 ads = $1.20. Set **Max ads per run** or a max cost per run in Apify and the Actor stops exactly there.

### Limits and data policy

- Data comes from the public Ads Transparency Center, the same JSON its website loads. No login, no cookies, no Google account. The site's robots.txt is checked at the start of each run.
- Ad text inside preview scripts is not decoded; use `imageUrl` / `previewUrl` / `adUrl` to view the creative.
- Google shows estimated ad counts as ranges and may not list every ad (for example, some ads on Google's own products).
- Advertiser names are the business identities Google publishes for ad transparency. No contact details or personal data are collected.

### Related Actors by Tallyproof

- [Tracking Pixel Checker - GA4, GTM & Meta Pixel Auditor](https://apify.com/tallyproof/ecommerce-tracking-pixel-auditor)
- [Shopify App & Theme Detector](https://apify.com/tallyproof/shopify-store-tech-stack-apps-detector)
- [Shopify Products Scraper - Prices, Sales, Stock & Variants](https://apify.com/tallyproof/shopify-products-price-scraper)
- [Google Play Scraper - App Details, Prices & Ratings by Country](https://apify.com/tallyproof/google-play-app-scraper)
- [Apple App Store Scraper - Apps, Top Charts & Privacy Labels](https://apify.com/tallyproof/apple-app-store-scraper)
- [Website Screenshot API - Full Page, Mobile, No Cookie Banners](https://apify.com/tallyproof/website-screenshot-no-cookie-banners): bulk full-page or mobile screenshots with cookie banners and popups hidden.

Questions, a missing field or an advertiser that misbehaves? Open an issue on the Actor's Issues tab and we'll fix it fast.

# Actor input Schema

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

Websites whose Google ads you want, e.g. allbirds.com. Returns every ad Google lists as pointing to that domain, from any advertiser.

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

Advertiser IDs (AR...), Transparency Center advertiser URLs, or advertiser names as Google shows them (e.g. Allbirds Inc). A name is matched to the closest advertiser.

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

2-letter country code (US, GB, DE, CA, AU, ...) to see only ads shown there. Leave empty for all regions.

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

Only return ads of this format.

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

Stop after this many ads for each domain or advertiser. Newest ads come first.

## `maxItems` (type: `integer`):

Hard cap on charged ad rows for the whole run.

## `includeRegions` (type: `boolean`):

Also fetch the list of countries each ad ran in, with the last date shown in each. Makes one extra request per ad, so runs are slower. Same price per ad.

## `delayBetweenRequestsMs` (type: `integer`):

Pause between requests to the Transparency Center. Minimum 300.

## Actor input object example

```json
{
  "domains": [
    "allbirds.com"
  ],
  "advertisers": [
    "AR01371945870127267841"
  ],
  "region": "",
  "adFormat": "all",
  "maxAdsPerTarget": 20,
  "maxItems": 1000,
  "includeRegions": false,
  "delayBetweenRequestsMs": 600
}
```

# Actor output Schema

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

Every ad found: advertiser, format, first/last shown, image and preview links.

## `errors` (type: `string`):

Free rows for invalid input, no ads and failed requests.

# 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": [
        "allbirds.com"
    ],
    "advertisers": [
        "AR01371945870127267841"
    ],
    "maxAdsPerTarget": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("tallyproof/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 = {
    "domains": ["allbirds.com"],
    "advertisers": ["AR01371945870127267841"],
    "maxAdsPerTarget": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("tallyproof/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 '{
  "domains": [
    "allbirds.com"
  ],
  "advertisers": [
    "AR01371945870127267841"
  ],
  "maxAdsPerTarget": 20
}' |
apify call tallyproof/google-ads-transparency-scraper --silent --output-dataset

```

## MCP server setup

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