# Google Ads Transparency Scraper: Competitor Ads by Domain (`gbm11/google-ads-transparency-scraper-competitor-ads-by-domain`) Actor

Get every ad a company runs on Google Search, YouTube and Display from the Ads Transparency Center. Search by domain, advertiser name or ID. Returns creatives, formats, first and last shown dates and regions.

- **URL**: https://apify.com/gbm11/google-ads-transparency-scraper-competitor-ads-by-domain.md
- **Developed by:** [Grant Morris](https://apify.com/gbm11) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 92.9% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.28 / 1,000 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

See every ad a company is running on Google Search, YouTube, Display, Shopping and Maps. This tool reads Google's public Ads Transparency Center and returns the ads as clean JSON, CSV or Excel.

Search by website domain, advertiser name, advertiser ID or a link copied from adstransparency.google.com. No login, no cookies and no browser, so it is fast and cheap to run.

### How to use it

1. Create a free Apify account. No credit card is needed.
2. Open this tool. The form is already filled with a working example.
3. Change the input to what you need and press **Start**. Most runs finish in under a minute.
4. Download the results as JSON, CSV or Excel, or read them through the API.

### How much does it cost to scrape the Google Ads Transparency Center?

You pay **$1.50 per 1,000 ads** and nothing else. There is no monthly fee, and the computing cost is included in that price.

| Ads | Cost |
|---|---|
| 100 | $0.15 |
| 1,000 | $1.50 |
| 10,000 | $15 |

Apify's free plan includes $5 of credit every month, which covers about 3,300 ads.

### What you get for each ad

| Field | Meaning |
|---|---|
| advertiserName, advertiserId | The verified advertiser behind the ad |
| creativeId, adUrl | The ad's ID and a direct link to it in the Transparency Center |
| format | text, image or video |
| domain | The website the ad points to |
| firstShown, lastShown | When Google first and most recently served the ad |
| imageUrl, previewUrl | The rendered creative |
| regions (optional) | Every country the ad ran in, with first and last shown dates |
| variations (optional) | All versions of the creative |

### Example input

```json
{
  "queries": ["nike.com", "Shopify", "AR18378488041124659201"],
  "country": "US",
  "maxAdsPerQuery": 50
}
```

### Example output

```json
{
  "query": "nike.com",
  "advertiserId": "AR16735076323512287233",
  "advertiserName": "Nike, Inc.",
  "creativeId": "CR09498838354318327809",
  "format": "text",
  "domain": "nike.com",
  "firstShown": "2023-11-16T21:55:58.000Z",
  "lastShown": "2026-11-10T22:32:56.000Z",
  "imageUrl": "https://tpc.googlesyndication.com/archive/simgad/4545527339295794933",
  "adUrl": "https://adstransparency.google.com/advertiser/AR16735076323512287233/creative/CR09498838354318327809"
}
```

### Common uses

- Competitor research: which ads a rival runs, in which countries, and for how long
- Finding long-running ads, which are usually the profitable ones: sort by firstShown
- Lead generation for agencies: check which companies in a list advertise on Google
- Monitoring: schedule a daily run and compare creativeId values to catch new ads

### Tips

- A domain search returns ads from every advertiser account that points at that domain.
- When you search by name and several legal entities share it, the tool picks the one with the most ads and writes the match to the log. Use the advertiser ID to be exact.
- Text ads are returned as the rendered image Google shows in the Transparency Center.
- If nothing is found the run fails with a clear message instead of returning an empty result.

This tool only reads data that Google publishes for transparency. It is not affiliated with Google.

### Use it from Python, Node.js or the API

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("gbm11/google-ads-transparency-scraper-competitor-ads-by-domain").call(run_input={
  "queries": ["nike.com", "Shopify", "AR18378488041124659201"],
  "country": "US",
  "maxAdsPerQuery": 50
})

for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)
```

More Python and Node.js examples are in the [examples repository](https://github.com/gbmorris1/apify-data-tools-examples).

### Use it with AI agents

Claude, ChatGPT and other AI assistants can run this tool through the Apify MCP server. Add `gbm11/google-ads-transparency-scraper-competitor-ads-by-domain` to the server's tool list and ask in plain words. The input form and the output fields are described for the model, so no extra setup is needed.

### Related tools

| Tool | What it does |
|---|---|
| [Google Autocomplete Scraper](https://apify.com/gbm11/google-autocomplete-scraper-keyword-suggestions) | Hundreds of real search suggestions from each seed keyword. |
| [Google Trending Searches](https://apify.com/gbm11/google-trends-trending-searches-today-by-country) | What people are searching for right now, by country. |
| [Shopify Products Scraper](https://apify.com/gbm11/shopify-products-scraper-any-store-prices-and-variants) | The full catalog of any Shopify store with prices and variants. |
| [Website Contact Finder](https://apify.com/gbm11/website-contact-finder-emails-phones-and-social-links) | Emails, phone numbers and social links from company websites. |

See all tools at [apify.com/gbm11](https://apify.com/gbm11).

### FAQ

#### Is it legal to scrape the Google Ads Transparency Center?

This tool reads only public information that anyone can see without logging in. It does not collect private data. You are responsible for how you use the results, so check the terms of the source and the laws that apply to you.

#### Can I run it on a schedule?

Yes. Save your input as a task, then add a schedule in Apify to run it every hour, day or week.

#### Can I send the results to Google Sheets, Zapier, Make or n8n?

Yes. Apify has ready integrations for all of them, plus webhooks and a REST API.

#### What happens if a run finds nothing?

The run fails with a clear message, so an empty result never looks like a success.

#### Something is not working. What should I do?

Open the Issues tab on this page and describe the input you used. Bugs are fixed there.

# Actor input Schema

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

One per line. A website domain (nike.com), an advertiser name (Nike Retail BV), an advertiser ID (AR18378488041124659201) or a link copied from adstransparency.google.com.

## `country` (type: `string`):

Two-letter country code such as US, GB, DE, IN, BR. Use ANY for all countries.

## `format` (type: `string`):

Keep only one format.

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

Newest ads come first.

## `includeDetails` (type: `boolean`):

One extra request per ad. Adds every country the ad ran in with first and last shown dates, and all creative variations.

## Actor input object example

```json
{
  "queries": [
    "nike.com"
  ],
  "country": "ANY",
  "format": "all",
  "maxAdsPerQuery": 50,
  "includeDetails": false
}
```

# 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": [
        "nike.com"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("gbm11/google-ads-transparency-scraper-competitor-ads-by-domain").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": ["nike.com"] }

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

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,gbm11/google-ads-transparency-scraper-competitor-ads-by-domain"
        }
    }
}
```

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/K8lrBd3Ztr043xvNg/builds/KWTNXB7Mdtzf9yH9u/openapi.json
