# Google Ads Transparency Scraper & Ad Spy API ($0.90/1K Ads) (`joseroman/google-ads-transparency-api`) Actor

Ultra-fast Google Ads Transparency Center API & Competitor Ad Spy. Extract active & historical Text, Image, and Video ads by domain, company name, or Advertiser ID (AR...). Includes ad headlines/copy, image/video URLs, creative variations & country reach at $0.90/1K ads — no proxies needed.

- **URL**: https://apify.com/joseroman/google-ads-transparency-api.md
- **Developed by:** [José Román](https://apify.com/joseroman) (community)
- **Categories:** Lead generation, Agents, MCP servers
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.65 / 1,000 ad 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 & Competitor Ad Spy API ($0.90 / 1K Ads)

Extract active and historical Google Search, YouTube, Shopping, and Display ads directly from the **Google Ads Transparency Center** by **domain** (`shopify.com`), **company name** (`Stripe`), **Advertiser ID** (`AR...`), or **Transparency URL**.

### Why Developers & AI Agents Choose This Actor

- **All-Inclusive Flat Pricing ($0.90 / 1,000 Ads):** Unlike scrapers charging $2/1K base + $3/1K for variations + $2/1K for ad text ($7/1K total), every single output item includes creative variations, country dates, YouTube video IDs, and extracted preview copy for **one flat $0.0009 event**.
- **Zero Proxies Required & 256 MB Ultra-Low Compute:** Uses fast structured RPC requests instead of headless browsers — saving 80%+ on Apify platform compute usage and completing 100 ads in seconds.
- **MCP & AI Agent Ready:** Clean JSON schema designed for competitive intelligence pipelines, GTM enrichment workflows, n8n, Make, Clay, and Claude/Cursor MCP servers.

### Input Parameters

| Field | Type | Default | Description |
|---|---|---|---|
| `targets` | `string[]` | `["shopify.com"]` | Domains (`stripe.com`), advertiser names (`Notion`), `AR...` IDs, or URLs. |
| `region` | `string` | `"ALL"` | `ALL` (Worldwide) or ISO country code (`US`, `GB`, `DE`, `BR`, `AR`, `CA`, `AU`, `IN`, etc.). |
| `adFormat` | `string` | `"ALL"` | `ALL`, `TEXT`, `IMAGE`, or `VIDEO`. |
| `maxAdsPerTarget` | `integer` | `50` | Max creatives returned per target (up to `10,000`). |
| `includeCreativeDetails` | `boolean` | `true` | Fetch multi-size variations, country breakdown, YouTube video IDs & ad copy snippets. |

### Output Example

```json
{
  "target": "shopify.com",
  "advertiserId": "AR01625195283841286145",
  "advertiserName": "Shopify Inc.",
  "domain": "shopify.com",
  "creativeId": "CR07324519991171088385",
  "format": "TEXT",
  "firstShownAt": "2022-08-13T07:00:00.000Z",
  "lastShownAt": "2026-11-15T17:46:02.000Z",
  "daysActive": 1555,
  "headline": "Start Your Online Store Today",
  "imageUrl": "https://tpc.googlesyndication.com/archive/simgad/1885597905581153633",
  "youtubeVideoId": null,
  "variationCount": 2,
  "transparencyUrl": "https://adstransparency.google.com/advertiser/AR01625195283841286145/creative/CR07324519991171088385?region=anywhere"
}
```

# Actor input Schema

## `targets` (type: `array`):

List of domains (e.g., 'shopify.com'), advertiser names ('Notion'), Advertiser IDs ('AR01625195283841286145'), or full adstransparency.google.com URLs.

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

ISO-2 country code (e.g. US, GB, DE, CA, AU, BR, AR, MX, FR, ES, IN, JP) or 'ALL' for Worldwide.

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

Filter ads by creative format.

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

Maximum number of ad creatives to extract per target domain/advertiser.

## `includeCreativeDetails` (type: `boolean`):

Fetches all creative variations, per-country last-shown dates, and extracts text/video assets from preview scripts at NO extra event surcharge.

## Actor input object example

```json
{
  "targets": [
    "shopify.com"
  ],
  "region": "ALL",
  "adFormat": "ALL",
  "maxAdsPerTarget": 25,
  "includeCreativeDetails": true
}
```

# Actor output Schema

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

Every extracted Google ad creative with variations, dates, and preview assets.

# 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 = {
    "targets": [
        "shopify.com"
    ],
    "maxAdsPerTarget": 25
};

// Run the Actor and wait for it to finish
const run = await client.actor("joseroman/google-ads-transparency-api").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 = {
    "targets": ["shopify.com"],
    "maxAdsPerTarget": 25,
}

# Run the Actor and wait for it to finish
run = client.actor("joseroman/google-ads-transparency-api").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 '{
  "targets": [
    "shopify.com"
  ],
  "maxAdsPerTarget": 25
}' |
apify call joseroman/google-ads-transparency-api --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,joseroman/google-ads-transparency-api"
        }
    }
}
```

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/Q3Y0bl8Xwd56DtNq4/builds/7RVU2fEt4WgjOe8ly/openapi.json
