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

Ad spy tool for the Google Ads Transparency Center: scrape the ads any advertiser or domain runs on Search, YouTube, Maps, Play and Shopping, with format, first and last shown dates, ad creative images, reach by country and text ad copy. Filter by country, format and date. No login.

- **URL**: https://apify.com/pipiagent/google-ads-transparency-scraper.md
- **Developed by:** [Frank0306](https://apify.com/pipiagent) (community)
- **Categories:** Marketing, 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

$1.00 / 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.

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

Get the ads any company runs on Google from the public [Google Ads Transparency Center](https://adstransparency.google.com). Type a competitor's website or name and get its ads on Google Search, YouTube, Maps, Play and Shopping, with format, first and last shown dates, images and links. Use it for competitor research, ad creative inspiration, agency pitches, brand protection and market research.

- **Search the way you think.** Enter a domain (`nike.com`), a brand name (`Nike`), an advertiser ID or any URL copied from the Transparency Center.
- **Filter like the website.** Country, ad format (text, image, video), Google platform and date range.
- **Reach by country.** Optionally add the countries each ad ran in, estimated impressions per country and platform, and the advertiser's legal name.
- **Fast.** One request returns up to 100 ads. 100 ads usually take under 10 seconds.
- **Low price.** $1 per 1,000 results. Extra details cost nothing more.

### What data can you get?

| Mode | One result is | Main fields |
|---|---|---|
| **Ads** | One ad | Advertiser name and ID, ad ID, format, target domain, first and last shown, image URL, preview URL, link to the ad page |
| **Ads + reach by country** | One ad | Everything above plus countries, impressions per country and platform, first and last shown per country, legal name, number of variations |
| **Ads + text ad copy** | One ad | Headline, display URL and description of text ads that Google stores as text |
| **Advertisers** | One advertiser | Name, advertiser ID, country, number of ads, verified status |

### How to use it

1. Click **Try for free**.
2. Enter one or more competitors in **Advertisers, domains or ad URLs**, one per line.
3. Optionally choose a country, format, platform or date range.
4. Click **Start**, then download the results as JSON, CSV or Excel, or read them through the API.

### Input examples

The latest 200 ads of a domain:

```json
{
    "queries": ["nike.com"],
    "maxItems": 200
}
```

YouTube video ads a brand showed in Germany in October:

```json
{
    "queries": ["Adidas"],
    "region": "DE",
    "adFormat": "video",
    "platform": "youtube",
    "dateFrom": "2026-10-01",
    "dateTo": "2026-10-31"
}
```

Compare several competitors, 50 ads each, with reach by country:

```json
{
    "queries": ["apple.com", "samsung.com", "google.com"],
    "maxItemsPerQuery": 50,
    "includeDetails": true
}
```

Find the right advertiser account before scraping:

```json
{
    "mode": "advertisers",
    "queries": ["coca cola"]
}
```

### Output examples

An ad with reach by country and text ad copy:

```json
{
    "type": "ad",
    "advertiserName": "Nike Retail BV",
    "advertiserId": "AR18378488041124659201",
    "creativeId": "CR17623753280947486721",
    "format": "text",
    "targetDomain": "nike.com",
    "firstShown": "2025-10-24T11:00:38Z",
    "lastShown": "2026-11-14T20:11:53Z",
    "imageUrl": null,
    "previewUrl": "https://displayads-formats.googleusercontent.com/ads/preview/content.js?...",
    "adUrl": "https://adstransparency.google.com/advertiser/AR18378488041124659201/creative/CR17623753280947486721",
    "query": "nike.com",
    "regionFilter": null,
    "advertiserLegalName": "Nike Retail BV",
    "impressionsMin": 45000,
    "impressionsMax": 50000,
    "platforms": [
        { "platform": "Google Search", "impressionsMin": 45000, "impressionsMax": 50000 },
        { "platform": "Google Maps", "impressionsMin": 0, "impressionsMax": 1000 }
    ],
    "regionCount": 10,
    "regions": [
        {
            "region": "FR",
            "regionName": "France",
            "impressionsMin": 0,
            "impressionsMax": 1000,
            "firstShown": "2025-10-25",
            "lastShown": "2026-11-14",
            "platforms": [{ "platform": "Google Search", "impressionsMin": 0, "impressionsMax": 1000 }]
        }
    ],
    "variationCount": 2,
    "headline": "Nike Air Force 1 - Shop Nike Air Force 1 - Nike Essentials",
    "displayUrl": "www.nike.com/air_force_1",
    "description": "Discover Nike Air Force 1 Online At Nike.com. Shop The Official Nike Site. Your Path To Victory Starts Here...",
    "scrapedAt": "2026-11-14T20:34:04Z"
}
```

An advertiser:

```json
{
    "type": "advertiser",
    "advertiserName": "Coca-Cola AB",
    "advertiserId": "AR05354394792866349057",
    "country": "NO",
    "adCountMin": 2,
    "adCountMax": 2,
    "verified": false,
    "advertiserUrl": "https://adstransparency.google.com/advertiser/AR05354394792866349057",
    "query": "coca cola",
    "scrapedAt": "2026-11-14T20:34:44Z"
}
```

### How much does it cost?

You pay per saved result: **$1.00 per 1,000 results**. There is no start fee and no monthly rental. **Include reach by country** and **Include text ad copy** do not change the price.

| Run | Results | Cost |
|---|---|---|
| 100 ads of one domain | 100 | $0.10 |
| 50 ads each for 10 competitors | 500 | $0.50 |
| 5,000 ads | 5,000 | $5.00 |

Set a maximum charge per run in the run options and the Actor stops when it is reached.

### Limits you should know

- **Most text ads come as a screenshot.** Google keeps many text ads only as an image. For those you get `imageUrl` and no headline. In our tests about 1 in 10 text ads had their copy available as text.
- **Some image and video ads have no direct image.** They are HTML5 or video ads. Use `previewUrl` or open `adUrl` to see them.
- **Impressions are ranges, not exact numbers,** and Google publishes them only for some countries, mostly in the EU. Other countries show 0 or no reach data.
- **Name search picks the closest advertiser.** Big brands often advertise under several accounts. Raise **Advertisers per name**, or run the Advertisers mode first and paste the right advertiser IDs. A domain search is not limited to one advertiser account.
- **Google does not say exactly how many ads match.** The log shows its estimate.

### Tips

- **Start with the domain.** A domain such as `nike.com` is not tied to one advertiser account, so it is the simplest way to see a competitor's ads.
- **Run it on a schedule.** Scrape your competitors every week and compare `firstShown` to see which new campaigns they launched.
- **Keep the proxy on.** Google often refuses requests from shared cloud servers. The Apify datacenter proxy is on by default and avoids most of these failures. Residential proxy is not needed.

### FAQ

**Is it legal?** The Actor collects only data that Google publishes in its public Ads Transparency Center for everyone, without login. Check that your use complies with Google's terms and the laws that apply to you.

**Do I need a Google account or API key?** No.

**Something is broken or missing?** Open a ticket in the Issues tab. Issues are usually answered within a day.

# Actor input Schema

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

One per line: a website domain (nike.com), an advertiser name (Nike), an advertiser ID (AR16735076323512287233) or a URL copied from adstransparency.google.com (advertiser page, ad page or domain search).

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

Ads returns one result per ad. Advertisers looks up advertiser names and IDs, useful to find the right advertiser before scraping its ads.

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

Only ads shown in this country. Anywhere returns ads from all countries.

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

Only ads of this format.

## `platform` (type: `string`):

Only ads shown on this Google platform.

## `dateFrom` (type: `string`):

Optional. Only ads shown on or after this date (YYYY-MM-DD).

## `dateTo` (type: `string`):

Optional. Only ads shown on or before this date (YYYY-MM-DD).

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

Adds the countries each ad ran in, estimated impressions per country and platform, first and last shown date per country, and the advertiser's legal name. Makes the run slower (one extra request per ad), no extra charge.

## `includeAdText` (type: `boolean`):

Adds the headline, display URL and description of text ads that Google stores as text. Google keeps most older text ads only as a screenshot (see imageUrl), so in our tests about 1 in 10 text ads had copy. No extra charge.

## `maxItems` (type: `integer`):

Maximum number of results to save in this run. You are only charged for saved results.

## `maxItemsPerQuery` (type: `integer`):

Optional. Limits results for each line above, so that one big advertiser does not use up the whole run.

## `advertisersPerName` (type: `integer`):

When you search by advertiser name, how many matching advertisers to scrape (most ads first). Big brands often run ads under several advertiser accounts.

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

Apify datacenter proxy is on by default because Google often refuses requests from shared cloud IPs. Residential proxy is not needed and is switched back to datacenter.

## Actor input object example

```json
{
  "queries": [
    "nike.com"
  ],
  "mode": "ads",
  "region": "anywhere",
  "adFormat": "all",
  "platform": "all",
  "includeDetails": false,
  "includeAdText": false,
  "maxItems": 100,
  "advertisersPerName": 1,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

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

Ads or advertisers saved by the run, one item per result.

# 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"
    ],
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("pipiagent/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": ["nike.com"],
    "proxyConfiguration": { "useApifyProxy": True },
}

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

```

## MCP server setup

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