# Google Ads Transparency Scraper - GCC & MENA (`sahm_ai/google-ads-transparency-scraper`) Actor

Pull competitors' ads from Google's public Ads Transparency Center for many domains, brands or advertiser IDs in one run, per country, with GCC and MENA presets, new-ads-only monitoring and optional per-country impression ranges.

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

## Pricing

from $0.60 / 1,000 ad returneds

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 - GCC & MENA

Pull competitors' ads from Google's public [Ads Transparency Center](https://adstransparency.google.com) for many domains, brands or advertiser IDs in one run, country by country, with one-click Gulf (GCC) and MENA presets.

### What it does

Give it a list of domains (`noon.com`), brand names (`Noon`), Google advertiser IDs (`AR0123...`) or Transparency Center advertiser links. For each one, it lists the ads Google has on record and returns one row per ad:

- who ran it (advertiser name, ID and domain)
- the format (text, image or video)
- when it was first and last shown, and how many days it has been running
- which of your chosen countries it ran in
- links to Google's preview of the creative and to its Transparency Center page

Countries are searched one by one, so with the `GCC` preset you can see which ads run in Saudi Arabia but not in Oman, for example. The same ad found in several countries is returned once, with all of those countries in `regions_shown`, and you pay for it once.

### Who it is for

- Marketers and agencies in the Gulf and MENA who track what competitors advertise, and where.
- Anyone who wants a weekly "new ads only" feed: set `new_since` to the date of your last run.
- Analysts who need the ad records in a spreadsheet or a pipeline instead of clicking through the Transparency Center one advertiser at a time.

### Input

| Field | What it does |
|---|---|
| `queries` | Domains, brand names, advertiser IDs or Transparency Center links. Up to 100. A brand name matches the top 3 advertisers Google suggests for it. |
| `regions` | ISO country codes (`SA`, `AE`, `OM`, `US`...) or the presets `GCC` (6 countries) and `MENA` (22). Empty means anywhere. |
| `max_ads_per_query` | Upper limit of ads per query (default 200, max 5,000). |
| `date_from`, `date_to` | Keep ads whose shown period overlaps this window (YYYY-MM-DD). |
| `new_since` | Keep only ads first shown on or after this date. |
| `formats` | `text`, `image`, `video`. Empty means all. |
| `include_region_stats` | One extra lookup per ad (up to 500 per run): every country the ad ran in, with Google's impression range and dates per country where Google publishes them. Slower, same price. |
| `proxy` | Apify Proxy is used by default; the actor switches IPs automatically when Google rate-limits. |

Example:

```json
{
  "queries": ["noon.com", "talabat.com", "Amazon"],
  "regions": ["GCC"],
  "max_ads_per_query": 300,
  "new_since": "2026-11-01"
}
```

### Output

```json
{
  "query": "noon.com",
  "query_type": "domain",
  "advertiser_id": "AR14886482404578426881",
  "advertiser_name": "Noon E Commerce SAE",
  "advertiser_domain": "noon.com",
  "creative_id": "CR18136185133248544769",
  "ad_format": "text",
  "first_shown": "2026-10-22",
  "last_shown": "2026-11-19",
  "days_running": 29,
  "regions_shown": ["SA", "AE"],
  "preview_image_url": "https://tpc.googlesyndication.com/archive/simgad/4458942522683047440",
  "preview_script_url": "",
  "ad_url": "https://adstransparency.google.com/advertiser/AR14886482404578426881/creative/CR18136185133248544769",
  "scraped_at": "2026-11-19T18:15:27+00:00"
}
```

- `preview_image_url` is Google's archived image of the ad (text ads are archived as rendered images). `preview_script_url` is Google's preview script for image and video ads; open `ad_url` to view those in the browser.
- With `include_region_stats`, each row also has `region_stats` (country, impression range, first and last shown there) and `variants`.
- The actor returns links only. It does not download or re-host ad images or videos.

### Pricing

Pay per result: **$0.60 per 1,000 ads** returned (`ad-returned` event), plus a $0.00005 start charge per run. Ads found in several countries are charged once. Set a maximum charge on the run and the actor stops cleanly when it is reached.

### Tips

- Use domains when you can: they are the most precise query. Brand names can match unrelated advertisers with similar names; the log shows which advertisers were matched.
- Weekly monitoring: schedule the actor, set `new_since` to last week's date and send the dataset to Google Sheets or a webhook.
- Large regional sweeps (for example `MENA` with 5,000 ads per query) make many requests; expect a few minutes per query.

### FAQ

**Is this data public?**
Yes. The Ads Transparency Center is Google's public library of ads. The actor reads what anyone can see there without logging in.

**Why is there no ad text?**
Google does not publish ad text as text in the Transparency Center; text ads are archived as images. Use `preview_image_url` to see them.

**Why do impression ranges only appear for some countries?**
Google publishes impression ranges only for some regions and ad types (mainly political ads and EU countries). Where Google has none, the fields are empty.

**Something broke.**
Open an issue on the actor's Issues tab with the run link. Google changes this site from time to time; the actor fails loudly instead of returning empty results when that happens.

# Actor input Schema

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

Domains (noon.com), advertiser names (Noon), Google advertiser IDs (AR0123...) or Ads Transparency Center advertiser URLs. Up to 100 per run. Names match the top 3 advertisers Google suggests.

## `regions` (type: `array`):

ISO country codes (SA, AE, OM, US...) or the presets GCC and MENA. Each country is searched separately, so regions_shown tells you which of them each ad ran in. Empty = anywhere.

## `max_ads_per_query` (type: `integer`):

Upper limit of ads returned per query, across all chosen countries. You pay only for ads returned.

## `date_from` (type: `string`):

Keep ads whose shown period overlaps this window. Optional.

## `date_to` (type: `string`):

Optional.

## `new_since` (type: `string`):

For weekly monitoring - set to last run's date to pay only for new ads. Optional.

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

Leave empty for all formats.

## `include_region_stats` (type: `boolean`):

One extra lookup per ad (up to 500 per run): every country the ad ran in, Google's impression range and first/last date per country. Slower; same price.

## `proxy` (type: `object`):

Google rate-limits each IP after about 60 requests; the actor rotates Apify Proxy IPs automatically.

## Actor input object example

```json
{
  "queries": [
    "noon.com",
    "talabat.com"
  ],
  "regions": [
    "GCC"
  ],
  "max_ads_per_query": 200,
  "include_region_stats": false,
  "proxy": {
    "useApifyProxy": true
  }
}
```

# 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": [
        "noon.com",
        "talabat.com"
    ],
    "regions": [
        "GCC"
    ],
    "proxy": {
        "useApifyProxy": true
    }
};

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

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

```

## MCP server setup

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