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

See every Google ad a competitor runs: search Google Ads Transparency Center by domain, advertiser name or ID. Get ad format, image, YouTube video, first and last shown dates, countries shown and variations. Country filter. $1 per 1,000 ads.

- **URL**: https://apify.com/ahmad_mahameed/google-ads-transparency-scraper.md
- **Developed by:** [Ahmad Mahameed](https://apify.com/ahmad_mahameed) (community)
- **Categories:** SEO tools, Lead generation
- **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 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

### What does Google Ads Transparency Scraper do?

It shows you **every Google ad a competitor runs**, from Google's official [Ads Transparency Center](https://adstransparency.google.com/), across Search, YouTube, Display and Shopping:

- 🔎 Search by **website domain** (nike.com), **advertiser name** (Nike, Inc.) or **advertiser ID**
- 🖼️ Ad **format** (text, image, video), the **ad image**, and the **YouTube link** of video ads
- 📅 **First and last shown** dates, so you see which ads run longest (the ones that work)
- 🌍 **Country filter**, plus the list of countries where each ad was shown
- 🔁 All **variations** of an ad (A/B tests)
- 💲 **$1 per 1,000 ads**. Fast, no login, no API key.

### Use cases

- **Competitor research**: see the ads, offers and videos your competitors are paying for
- **Ad creative inspiration**: collect long-running ads in your niche
- **Agencies**: audit a prospect's ads before a sales call
- **Brand protection**: find advertisers using your brand or domain
- **Market research**: track how much a market is advertising over time

### Input

```json
{
  "queries": ["hubspot.com", "Nike, Inc.", "AR10072600183532683265"],
  "region": "US",
  "maxAdsPerQuery": 100,
  "formats": ["VIDEO", "IMAGE"],
  "getDetails": true,
  "getVideoIds": true
}
```

### Output

```json
{
  "advertiserId": "AR10072600183532683265",
  "advertiserName": "Hubspot, Inc.",
  "creativeId": "CR02868011562054975489",
  "format": "VIDEO",
  "firstShown": "2026-06-17T15:36:36+00:00",
  "lastShown": "2026-10-17T23:11:09+00:00",
  "domain": "hubspot.com",
  "imageUrl": null,
  "youtubeVideoId": "ppJHa9Clfds",
  "youtubeUrl": "https://www.youtube.com/watch?v=ppJHa9Clfds",
  "regionsShown": [{ "region": "US", "lastShown": "2026-10-17" }],
  "variations": ["https://tpc.googlesyndication.com/archive/simgad/..."],
  "verifiedName": "HubSpot, Inc.",
  "adUrl": "https://adstransparency.google.com/advertiser/AR10072600183532683265/creative/CR02868011562054975489?region=US",
  "query": "hubspot.com",
  "region": "US"
}
```

Text ads are returned as the image Google shows in the Transparency Center (`imageUrl`). Each ad appears once per run, even if several of your queries find it.

Export as JSON, CSV, Excel or HTML, or connect to Google Sheets, Make, Zapier or n8n through the Apify API.

### Pricing

**$0.001 per ad** ($1 per 1,000). Ad details and YouTube links are included at no extra cost.

### Notes

- Data comes from Google's public Ads Transparency Center. Google shows ads from about the last 30 days to several years, depending on the region and ad type.
- The ad count Google shows ("about 2,000 ads") is an estimate.

### More tools from this developer

- [YouTube Scraper](https://apify.com/ahmad_mahameed/youtube-scraper): videos, Shorts, channels and search with views, likes and dates
- [Google Trends Scraper](https://apify.com/ahmad_mahameed/google-trends-scraper): interest over time, regions, rising queries
- [Website Contact Finder](https://apify.com/ahmad_mahameed/website-contact-finder): emails, phones and socials from any website list
- [Google News Scraper](https://apify.com/ahmad_mahameed/google-news-scraper): news articles with real publisher URLs

### Feedback

Need another field or filter? Open an issue on the Issues tab and it will be added quickly.

# Actor input Schema

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

A website domain (nike.com), an advertiser name (Nike, Inc.), an advertiser ID (AR16735076323512287233) or an Ads Transparency Center URL.

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

Two-letter country code, for example US, GB, DE, AE, IN. Only ads shown in that country. Empty means all countries.

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

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

## `formats` (type: `array`):

Keep only these formats. Empty means all.

## `getDetails` (type: `boolean`):

Add the countries where each ad was shown, all its variations and the verified advertiser name. Slower.

## `getVideoIds` (type: `boolean`):

Find the YouTube video behind each video ad.

## `maxAdvertisersPerName` (type: `integer`):

When you search by name, how many matching advertisers to include (the one with most ads first).

## Actor input object example

```json
{
  "queries": [
    "hubspot.com"
  ],
  "maxAdsPerQuery": 100,
  "getDetails": false,
  "getVideoIds": true,
  "maxAdvertisersPerName": 1
}
```

# 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 = {
    "queries": [
        "hubspot.com"
    ]
};

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

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

```

## MCP server setup

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