# Google Ads Transparency & B2B Ad-Spend Signal API (MCP) (`ramirez911/google-ads-transparency-api`) Actor

Ultra-fast, browserless Google Ads Transparency Center API. Extract ad creatives, variations, days active, and EU DSA country impressions, or batch-enrich B2B company domains with active Google/YouTube ad-spend signals for Clay, n8n, and MCP AI agents.

- **URL**: https://apify.com/ramirez911/google-ads-transparency-api.md
- **Developed by:** [Štefan Bohumel](https://apify.com/ramirez911) (community)
- **Categories:** Lead generation, AI
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.50 / 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.

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 & B2B Ad-Spend Signal API (MCP-Ready)

Extract verified competitor ad creatives, active run duration (`daysActive`), creative variations, and **EU Digital Services Act (DSA) country impression statistics** directly from the **Google Ads Transparency Center** — or batch-enrich thousands of company domains with **Google & YouTube Ad-Spend Buying Signals** for **Clay.com**, **n8n**, **Make**, and **MCP AI Agents**.

Built on a **100% browserless HTTP/2 RPC engine**:

- **Zero headless browser overhead** (runs in 256 MB RAM in seconds)
- **Zero cookies or Google login required**
- **Two dedicated modes**: Competitor Creative Spy (`ads`) and B2B Outbound Lead Enrichment (`domain_signals`)

***

### Key Capabilities

1. **Multi-Target Input**: Query by **company domain** (`shopify.com`, `alza.cz`), **brand name** (`Linear`, `Nike`), or **Google Advertiser ID** (`AR01625195283841286145`).
2. **Winning Ads Filter (`minDaysActive`)**: Filter out short-lived test ads and return only proven evergreen creatives running for 14, 30, or 90+ days.
3. **Full EU DSA Country Reach & Impressions**: Automatically decodes Google Geo Criteria IDs into ISO country codes (`DE`, `CZ`, `FR`, `US`, `GB`, etc.) with per-country impression metrics, first/last shown dates, and demographic targeting flags.
4. **Clay.com & n8n B2B Signal Mode (`mode: "domain_signals"`)**: Feed a list of prospect domains and get one structured row per company containing:
   - `isActivelyAdvertising` (`true` / `false`)
   - `adSpendActivityTier` (`ENTERPRISE_HIGH_SPEND`, `SCALING_MID_SPEND`, `ACTIVE_TESTER`, `LOW_SPEND`, `INACTIVE`)
   - `b2bBuyingIntentScore` (`0–100`)
   - Verified Legal Entity Name & Country (`advertiserName`, `advertiserId`, `advertiserCountry`)
   - Format mix (`TEXT`, `IMAGE`, `VIDEO` / YouTube) and longest-running evergreen ad duration
5. **AI & MCP Ready**: Optional `mcpMarkdown` summary field formatted for direct ingestion by Claude Desktop, Cursor, CrewAI, LangChain, and n8n AI Agents.

***

### Input Example

#### 1. Competitor Ad Creative Spy (`mode: "ads"`)

```json
{
  "targets": ["shopify.com", "alza.cz"],
  "mode": "ads",
  "region": "ALL",
  "adFormat": "ALL",
  "maxAdsPerTarget": 25,
  "minDaysActive": 14,
  "fetchCreativeDetails": true,
  "includeMcpMarkdown": true
}
```

#### 2. Batch B2B Domain Ad-Spend Enrichment for Clay / n8n (`mode: "domain_signals"`)

```json
{
  "targets": ["shopify.com", "alza.cz", "linear.app"],
  "mode": "domain_signals",
  "region": "ALL",
  "fetchCreativeDetails": true
}
```

***

### Output Sample (`mode: "ads"`)

```json
{
  "recordType": "ad_creative",
  "targetQuery": "alza.cz",
  "advertiserId": "AR06233394201141182465",
  "advertiserName": "Alza.cz a.s.",
  "creativeId": "CR08993369399918329857",
  "domain": "alza.cz",
  "format": "TEXT",
  "firstShownAt": "2026-07-06T14:21:34Z",
  "lastShownAt": "2026-11-01T11:58:05Z",
  "daysActive": 117.9,
  "isEvergreenWinningAd": true,
  "variationsCount": 1,
  "euTotalImpressions": "1000",
  "countriesCount": 1,
  "countryBreakdown": [
    {
      "countryCode": "CZ",
      "countryName": "Czechia",
      "impressions": "1000",
      "firstShownDate": "2026-07-06",
      "lastShownDate": "2026-11-01"
    }
  ],
  "targetingSignals": {
    "ageTargetingUsed": false,
    "genderTargetingUsed": false,
    "locationTargetingUsed": true
  },
  "transparencyUrl": "https://adstransparency.google.com/advertiser/AR06233394201141182465/creative/CR08993369399918329857"
}
```

***

### Integrations (MCP, Clay.com, n8n, Make)

- **Claude / Cursor (MCP)**: Enable this Actor in your Apify MCP Server configuration to let AI agents inspect live competitor ad campaigns and qualify domains in real time.
- **Clay.com**: Use the Apify integration in Clay, select `mode: "domain_signals"`, map your `Domain` column into `targets`, and enrich every lead with verified Google/YouTube ad activity and legal entity data.
- **n8n / Make**: Trigger on a schedule to monitor new competitor video/search ads and push alerts to Slack or HubSpot.

***

### Complete Your B2B Outbound Buying-Signal Stack

Combine this Actor with our companion zero-browser B2B Intelligence APIs on Apify Store:

- **[B2B Domain Contact, Email Gateway, DNS SaaS & Tech-Stack API](https://apify.com/ramirez911/b2b-domain-tech-contact-enricher)** — Enrich prospect domains with verified emails, MX/DMARC cold-email gateway (`Google Workspace` vs `Microsoft 365`), and hidden DNS-verified Enterprise SaaS (`OpenAI Enterprise`, `Atlassian`, `Slack`, `HubSpot`).
- **[Multi-ATS Career Jobs & B2B Tech-Stack Hiring Signal API](https://apify.com/ramirez911/multi-ats-hiring-signal-api)** — Auto-detect company ATS boards (Greenhouse, Ashby, Lever, SmartRecruiters, Recruitee) and extract hiring velocity scores, salaries, and 65+ tech-stack adoption signals.

*Independent tool extracting publicly available transparency records. Not affiliated with or endorsed by Google LLC.*

# Actor input Schema

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

List of company domains (e.g. 'shopify.com', 'alza.cz'), brand names ('Linear'), or Advertiser IDs ('AR01625195283841286145').

## `mode` (type: `string`):

'ads' extracts individual ad creatives, variations, and EU DSA impressions. 'domain_signals' outputs one B2B buying-intent summary row per company/domain (ideal for Clay.com, n8n, and outbound sales).

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

ISO 2-letter country code (e.g. US, DE, GB, CZ, SK, FR, PL, ES, IT, NL, AT, CA, AU) or 'ALL' for global ads.

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

Filter by Google Ads creative format.

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

Maximum number of ads to retrieve per target domain or advertiser.

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

Only return evergreen ads that have been actively running for at least N days (e.g. set 30 to find proven profitable ads). Set 0 for all ads.

## `fetchCreativeDetails` (type: `boolean`):

Fetches detailed creative variations, image asset URLs, targeting flags, and per-country EU DSA impression statistics.

## `includeMcpMarkdown` (type: `boolean`):

Adds a clean 'mcpMarkdown' field ready for LLM agents (Claude, Cursor, LangChain, n8n AI nodes).

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

Uses Apify Proxy IP rotation on Apify Cloud to prevent Google single-IP rate limits (HTTP 302/429) during bulk extraction.

## Actor input object example

```json
{
  "targets": [
    "shopify.com",
    "alza.cz"
  ],
  "mode": "ads",
  "region": "ALL",
  "adFormat": "ALL",
  "maxAdsPerTarget": 25,
  "minDaysActive": 0,
  "fetchCreativeDetails": true,
  "includeMcpMarkdown": true,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

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

Dataset items containing active Google Ads creatives or domain-level B2B ad-spend intelligence reports.

# 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",
        "alza.cz"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("ramirez911/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",
        "alza.cz",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("ramirez911/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",
    "alza.cz"
  ]
}' |
apify call ramirez911/google-ads-transparency-api --silent --output-dataset

```

## MCP server setup

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