# 🟢 Google Ads Scraper (2X Faster · More Data) (`api-empire/google-ads-scraper-2x-faster-more-data`) Actor

🚀 Google Ads Scraper pulls more ad data 2× faster—capturing creatives, keywords, landing pages & performance insights. 📈 Great for competitor research, PPC strategy, lead gen & market analysis. ⚡ Save time, boost results!

- **URL**: https://apify.com/api-empire/google-ads-scraper-2x-faster-more-data.md
- **Developed by:** [API Empire](https://apify.com/api-empire) (community)
- **Categories:** Automation, Developer tools, Lead generation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $4.99 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).


# README

## 🟢 Google Ads Scraper (2X Faster · More Data)

Scrape **any company's current and past Google ads** straight from the [Google Ads Transparency Center](https://adstransparency.google.com) — faster than the competition, with extra fields they don't give you. Get ad copy, media (images & videos), shown dates, per-country impression stats, full ad links, and more. **No login, no API key, no cookies required.** ⚡

---

### ✨ Why Choose This Actor?

- **🏎️ 2X faster** — concurrent enrichment with a smart, self-healing proxy ladder.
- **📊 More data** — full ad text per variant, hosted image URLs, per-country first/last shown dates, shown-country lists, and direct ad links.
- **🔁 Bulletproof** — automatic retries with exponential backoff and proxy escalation (direct → datacenter → residential) so blocks don't end your run.
- **💾 Live results** — every ad lands in your dataset the moment it's scraped; a crash never loses collected work.
- **🌍 Self-healing country names** — region reference data is refreshed live on every run.
- **🖼️ Optional media download** — save preview & variant images straight into the Key-Value Store.

---

### 🔑 Key Features

| Feature | Description |
|--------|-------------|
| Bulk URLs | Paste any mix of advertiser and creative URLs. |
| Ad variants | Headline/description text + hosted image URLs per variant. |
| Country stats | Per-country first/last shown dates and impression bounds. |
| Proxy ladder | Direct → datacenter → sticky residential, logged clearly. |
| Live saving | `push_data` per ad — partial results always survive. |
| Media download | Optional — store images in the Key-Value Store. |

---

### 📥 Input

| Field | Type | Description |
|-------|------|-------------|
| `startUrls` *(required)* | array | Advertiser and/or creative Transparency Center URLs. |
| `maxItems` | integer | Max ad creatives to collect (default `100`). |
| `fetchVariants` | boolean | Pull full ad text & media per variant (default `true`). |
| `downloadMedia` | boolean | Download images into the Key-Value Store (default `false`). |
| `cookies` | array | Optional Cookie-Editor JSON export for a logged-in session. |
| `concurrency` | integer | Parallel ad enrichment (default `5`). |
| `maxRetries` | integer | Retries per request before giving up (default `3`). |
| `proxyConfiguration` | object | Apify proxy config — keep enabled for fallback. |

#### Example input

```json
{
  "startUrls": [
    { "url": "https://adstransparency.google.com/advertiser/AR18135649662495883265?region=anywhere" }
  ],
  "maxItems": 100,
  "fetchVariants": true,
  "downloadMedia": false,
  "proxyConfiguration": { "useApifyProxy": true }
}
````

***

### 📤 Output

Each ad creative is one dataset record:

```json
{
  "id": "CR16227055806351147009",
  "advertiserId": "AR18135649662495883265",
  "creativeId": "CR16227055806351147009",
  "advertiserName": "SociallyUP",
  "format": "TEXT",
  "url": "https://adstransparency.google.com/advertiser/AR18135649662495883265/creative/CR16227055806351147009?region=anywhere",
  "previewUrl": "https://tpc.googlesyndication.com/archive/simgad/663936852374402128",
  "previewStoreKey": "CR16227055806351147009_preview_0.png",
  "firstShownAt": "1695106800",
  "lastShownAt": "1772498816",
  "impressions": null,
  "shownCountries": ["United States"],
  "countryStats": [
    {
      "code": "US",
      "name": "United States",
      "firstShownAt": null,
      "lastShownAt": "2026-03-02T00:00:00.000Z",
      "impressions": { "lowerBound": null, "upperBound": null },
      "platformStats": []
    }
  ],
  "audienceSelections": [],
  "variants": [
    {
      "textContent": "[Houses & Apartments for Rent - ... - pavprop.com",
      "images": ["https://lh3.googleusercontent.com/p/AF1Qip..."],
      "imageStoreKeys": ["CR16227055806351147009_v1_0.jpg"]
    }
  ],
  "originUrl": "https://adstransparency.google.com/advertiser/AR18135649662495883265?region=anywhere"
}
```

The **Output** tab shows three ready-made views: **📋 Overview**, **🎨 Ad Variants**, and **🌍 Country Stats**.

***

### 🚀 How to Use (Apify Console)

1. Log in at [console.apify.com](https://console.apify.com) → **Actors**.
2. Open **Google Ads Scraper (2X Faster · More Data)**.
3. Paste one or more Transparency Center URLs into **Start URLs**.
4. Set **Max Items** and toggle **Fetch variants / Download media** as needed.
5. Click **Start** and watch the ads roll in live in the run log.
6. Open the **Output** tab and export to JSON / CSV / XLSX.

### 🤖 Use via API

```bash
curl -X POST "https://api.apify.com/v2/acts/<ACTOR_ID>/run-sync-get-dataset-items?token=$APIFY_TOKEN" \
     -H "Content-Type: application/json" \
     -d '{"startUrls":[{"url":"https://adstransparency.google.com/advertiser/AR18135649662495883265?region=anywhere"}],"maxItems":50}'
```

***

### 🎯 Best Use Cases

- **Competitor research** — see exactly which ads a rival is running and where.
- **Ad creative inspiration** — collect headlines, descriptions, and visuals at scale.
- **Market & trend analysis** — track when and in which countries ads run.
- **Compliance & brand monitoring** — audit ad messaging across regions.

***

### 💳 Pricing

This Actor uses **Pay-Per-Event** billing. You are charged once per **ad result** (`ad-result`) successfully scraped and saved to your dataset. Platform compute and proxy usage are covered by the per-event price — no surprises.

***

### ❓ FAQ

**Do I need to log in or provide cookies?** No. The Actor works fully anonymously. Cookies are optional and only needed if you want to ride a logged-in session.

**Why did my run switch to a residential proxy?** Google throttles heavy traffic by IP. The Actor automatically escalates direct → datacenter → residential and sticks with residential once reached, so your run keeps going.

**Can I scrape a single ad?** Yes — paste a creative URL (`.../creative/CR...`) instead of an advertiser URL.

**Where are downloaded images?** When `downloadMedia` is on, images are saved in the run's Key-Value Store under the `*StoreKey` names in each record.

***

### 🛟 Support & Feedback

Found a bug or want a new field? Open an issue on the Actor's **Issues** tab. Data is collected only from publicly available sources; you are responsible for compliant use (GDPR, CCPA, target ToS).

# Actor input Schema

## `startUrls` (type: `array`):

Google Ads Transparency Center URLs. Add advertiser pages to grab every ad an advertiser is running, and/or single creative URLs for a specific ad. Bulk input is fully supported — paste as many as you like.

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

Maximum number of ad creatives to collect across all start URLs.

## `fetchVariants` (type: `boolean`):

ON = pull each ad's full headline/description text and hosted image URLs (richest data). OFF = faster, but variants carry only the preview image.

## `downloadMedia` (type: `boolean`):

If ON, every preview and variant image is downloaded into the run's Key-Value Store and the stored keys are returned with each ad.

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

The scraper starts with a direct connection and automatically escalates to a datacenter proxy, then a sticky residential proxy, if Google throttles the run. Keep Apify Proxy enabled so these fallbacks are available.

## Actor input object example

```json
{
  "startUrls": [
    "https://adstransparency.google.com/advertiser/AR18135649662495883265?region=anywhere"
  ],
  "maxItems": 10,
  "fetchVariants": false,
  "downloadMedia": false,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# 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 = {
    "startUrls": [
        "https://adstransparency.google.com/advertiser/AR18135649662495883265?region=anywhere"
    ],
    "maxItems": 10,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("api-empire/google-ads-scraper-2x-faster-more-data").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 = {
    "startUrls": ["https://adstransparency.google.com/advertiser/AR18135649662495883265?region=anywhere"],
    "maxItems": 10,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("api-empire/google-ads-scraper-2x-faster-more-data").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "startUrls": [
    "https://adstransparency.google.com/advertiser/AR18135649662495883265?region=anywhere"
  ],
  "maxItems": 10,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call api-empire/google-ads-scraper-2x-faster-more-data --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=api-empire/google-ads-scraper-2x-faster-more-data",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "🟢 Google Ads Scraper (2X Faster · More Data)",
        "description": "🚀 Google Ads Scraper pulls more ad data 2× faster—capturing creatives, keywords, landing pages & performance insights. 📈 Great for competitor research, PPC strategy, lead gen & market analysis. ⚡ Save time, boost results!",
        "version": "0.1",
        "x-build-id": "FSxD6Ya9CUrOf1gmC"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/api-empire~google-ads-scraper-2x-faster-more-data/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-api-empire-google-ads-scraper-2x-faster-more-data",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/api-empire~google-ads-scraper-2x-faster-more-data/runs": {
            "post": {
                "operationId": "runs-sync-api-empire-google-ads-scraper-2x-faster-more-data",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/api-empire~google-ads-scraper-2x-faster-more-data/run-sync": {
            "post": {
                "operationId": "run-sync-api-empire-google-ads-scraper-2x-faster-more-data",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "required": [
                    "startUrls"
                ],
                "properties": {
                    "startUrls": {
                        "title": "🔗 Start URLs",
                        "type": "array",
                        "description": "Google Ads Transparency Center URLs. Add advertiser pages to grab every ad an advertiser is running, and/or single creative URLs for a specific ad. Bulk input is fully supported — paste as many as you like.",
                        "items": {
                            "type": "string"
                        }
                    },
                    "maxItems": {
                        "title": "🔢 Max Items",
                        "minimum": 1,
                        "type": "integer",
                        "description": "Maximum number of ad creatives to collect across all start URLs.",
                        "default": 10
                    },
                    "fetchVariants": {
                        "title": "🎨 Fetch ad text & media (variants)",
                        "type": "boolean",
                        "description": "ON = pull each ad's full headline/description text and hosted image URLs (richest data). OFF = faster, but variants carry only the preview image.",
                        "default": false
                    },
                    "downloadMedia": {
                        "title": "🖼️ Download media to Key-Value Store",
                        "type": "boolean",
                        "description": "If ON, every preview and variant image is downloaded into the run's Key-Value Store and the stored keys are returned with each ad.",
                        "default": false
                    },
                    "proxyConfiguration": {
                        "title": "🛡️ Proxy Configuration",
                        "type": "object",
                        "description": "The scraper starts with a direct connection and automatically escalates to a datacenter proxy, then a sticky residential proxy, if Google throttles the run. Keep Apify Proxy enabled so these fallbacks are available.",
                        "default": {
                            "useApifyProxy": true
                        }
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
