# Google Ads Transparency Scraper & Advertiser API (`yan0lovesha/google-ads-transparency-scraper`) Actor

Scrape Google Ads Transparency Center creatives, advertiser IDs, text/image/video formats, active dates, evergreen ad flags, and unpacked preview copy/assets via fast pure-HTTP RPC (<3s). MCP, x402 & Clay ready.

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

## Pricing

from $1.00 / 1,000 google ad creative scraped ($0.0015)s

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 & Advertiser Intelligence API

Extract **verified Google Ads creatives**, **Advertiser IDs (`AR...`)**, **Text / Image / Video formats**, **first-shown & last-shown dates**, **Evergreen Winning Ad flags (`>= 30` days active)**, **unpacked ad headlines/copy**, **creative image URLs**, and **YouTube video links** directly from the **Google Ads Transparency Center** (`adstransparency.google.com`) in **under 3 seconds**.

Built on a **100% pure-HTTP RPC architecture** (`256 MB` RAM, zero headless browser overhead, zero proxy setup, `LIMITED_PERMISSIONS` native) for **competitive ad intelligence**, **paid-media agencies**, **Clay.com / n8n B2B outbound workflows**, and **MCP / x402 AI Agents**.

***

### Why Teams Switch to This Google Ads Transparency Scraper

| Capability | Legacy Browser Ads Scrapers | This Actor (`google-ads-transparency-scraper`) |
| :--- | :---: | :---: |
| **Execution Speed & RAM** | 30–120s (`4 GB` Chromium) | **< 3 seconds (`256 MB` pure HTTP RPC)** |
| **Input Flexibility** | Requires manual `AR...` lookup | Accepts **Domains** (`stripe.com`), **Brand Names** (`HubSpot`), **`AR...` IDs**, or **URLs** |
| **Preview Bundle Unpacking** | Returns opaque `content.js` URLs | Unpacks **visible ad headlines, copy snippets, creative images & YouTube video URLs** |
| **Evergreen Ad Detection** | Raw dates only | Computes `daysActive` + `isEvergreenAd` (`>= 30d`) to isolate profitable winning ads |
| **Executive Account Dossier** | None | Generates `ADVERTISER_SUMMARIES` with format mix, evergreen share % & SDR outreach hook |
| **Pay-Per-Event Price** | `$2.00 – $5.00 / 1,000 ads` | **`$1.50 / 1,000 ads` (`$0.0015/ad`)** — zero charge for empty/filtered queries |

***

### Quick Start (Zero Config Required)

Click **Start** in Apify Console — the pre-filled `queries` input comes pre-loaded with 3 active B2B SaaS advertisers (`stripe.com`, `hubspot.com`, `shopify.com`) and returns **45 enriched Google Ads creatives in ~2.5 seconds**.

#### Example Input (`JSON`)

```json
{
  "queries": [
    "stripe.com",
    "hubspot.com",
    "shopify.com"
  ],
  "region": "US",
  "adFormat": "ALL",
  "onlyEvergreenAds": false,
  "minDaysActive": 0,
  "maxAdsPerQuery": 15,
  "maxTotalAds": 100,
  "unpackPreviewAssets": true,
  "generateAdvertiserSummary": false
}
```

***

### Sample Output Creative (`Dataset`)

```json
{
  "matchedQuery": "stripe.com",
  "advertiserId": "AR16951989901585285121",
  "advertiserName": "Stripe, Inc.",
  "domain": "stripe.com",
  "creativeId": "CR12817229593010241537",
  "format": "TEXT",
  "regionFilter": "US",
  "firstShownAt": "2023-11-27T18:25:35.000Z",
  "lastShownAt": "2026-11-21T07:59:25.000Z",
  "daysActive": 1090,
  "isEvergreenAd": true,
  "headline": "Financial Infrastructure to Grow Your Revenue",
  "adCopySnippet": "Accept payments, send payouts, and automate financial processes globally.",
  "imageAssetUrl": "https://tpc.googlesyndication.com/archive/simgad/15684256852390010",
  "youtubeVideoUrl": null,
  "transparencyUrl": "https://adstransparency.google.com/advertiser/AR16951989901585285121/creative/CR12817229593010241537?region=US"
}
```

***

### Transparent Pay-Per-Event (PPE) Pricing

- **`ad-creative-scraped`** *(Primary Event — `$0.0015` FREE tier, down to `$0.0009` volume)*: Charged once per matching creative written to Dataset. You **never** pay for advertisers with 0 ads or creatives excluded by `adFormat` / `minDaysActive` / `onlyEvergreenAds`.
- **`advertiser-summary-generated`** *(Optional — `$0.01` per advertiser)*: Controlled by `generateAdvertiserSummary`, writes executive ad-spend intelligence rollups (`ADVERTISER_SUMMARIES`) with format breakdown and ready-to-send B2B outreach hooks.

***

### MCP Agent, x402 & Clay / n8n Integration

- **Apify Hosted MCP Server**: Connect Claude Desktop, Cursor, VS Code Copilot, or OpenAI Agents directly to `https://mcp.apify.com/?tools=yan0lovesha/google-ads-transparency-scraper`.
- **x402 Autonomous Agent Payments**: Supports permissionless USDC pay-per-call execution via Apify's x402 / AGI gateway (`LIMITED_PERMISSIONS` verified).
- **Clay.com & n8n**: Pass prospect company domains from Clay or HubSpot -> enrich active Google Ads count, evergreen % and dominant ad format -> route high-spend accounts straight into outbound sequences.

# Actor input Schema

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

List of company domains ('stripe.com', 'https://shopify.com'), advertiser names ('HubSpot'), Google Advertiser IDs ('AR16951989901585285121'), or full adstransparency.google.com URLs.

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

Filter ads shown in a specific country (ISO-2 code like 'US', 'GB', 'DE', 'CA', 'AU', 'FR', 'NL', 'IN', 'BR', 'JP', 'SG') or 'ANYWHERE' for global coverage.

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

Filter by creative format ('ALL', 'TEXT', 'IMAGE', or 'VIDEO').

## `onlyEvergreenAds` (type: `boolean`):

When enabled, outputs only profitable long-running creatives active for at least 30 days.

## `minDaysActive` (type: `integer`):

Minimum number of days the ad has been active on Google Ads.

## `maxAdsPerQuery` (type: `integer`):

Maximum creatives extracted per input domain or advertiser (supports automatic cursor pagination).

## `maxTotalAds` (type: `integer`):

Global cap on total ad creatives output across the entire run.

## `unpackPreviewAssets` (type: `boolean`):

Concurrently unpacks Google's preview content bundle via pure HTTP to extract visible ad headlines, copy snippets, CTAs, destination URLs, creative images, and YouTube video IDs without a browser.

## `includeThirdPartyDomainAds` (type: `boolean`):

By default (false), domain queries like 'hubspot.com' or 'shopify.com' resolve the brand's official verified Advertiser ID so unrelated third-party landing-page users are excluded. Enable to return every advertiser linking to that domain.

## `generateAdvertiserSummary` (type: `boolean`):

Optional add-on (off by default). Writes account-level paid acquisition summaries (format mix, evergreen ratio, B2B SDR/agency outreach hook) to Key-Value Store record ADVERTISER_SUMMARIES.

## Actor input object example

```json
{
  "queries": [
    "stripe.com",
    "hubspot.com",
    "shopify.com"
  ],
  "region": "US",
  "adFormat": "ALL",
  "onlyEvergreenAds": false,
  "minDaysActive": 0,
  "maxAdsPerQuery": 15,
  "maxTotalAds": 100,
  "unpackPreviewAssets": true,
  "includeThirdPartyDomainAds": false,
  "generateAdvertiserSummary": false
}
```

# Actor output Schema

## `adsDataset` (type: `string`):

Scraped Google Ads creatives with advertiser ID, format, active dates, evergreen status, asset/video URLs, and unpacked preview copy.

## `advertiserSummaries` (type: `string`):

Per-advertiser paid acquisition summary with format split, evergreen ratio, longest-running creative, and SDR outreach hook.

## `runSummary` (type: `string`):

Execution duration, query diagnostics, and PPE charge counts.

# 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": [
        "stripe.com",
        "hubspot.com",
        "shopify.com"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("yan0lovesha/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": [
        "stripe.com",
        "hubspot.com",
        "shopify.com",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("yan0lovesha/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": [
    "stripe.com",
    "hubspot.com",
    "shopify.com"
  ]
}' |
apify call yan0lovesha/google-ads-transparency-scraper --silent --output-dataset

```

## MCP server setup

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