# 🚀 Google Political Ads Scraper · 5,000 Free Ads/Month (`omkar-cloud/google-political-ads-scraper`) Actor

Google Political Ads Scraper gets you election ad data ⚡ fast, 🎯 100% accurate and 🔍 ridiculously detailed — amount spent, times shown & regions per ad. 💰 $1 per 1,000 ads, no start fee. Scrape your first 5,000 ads free every month 🚀

- **URL**: https://apify.com/omkar-cloud/google-political-ads-scraper.md
- **Developed by:** [Omkar Cloud](https://apify.com/omkar-cloud) (community)
- **Categories:** News, Developer tools
- **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 political 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

## Google Political Ads Scraper

Google Political Ads Scraper by Omkar Cloud gets you 🎯 accurate, 🔍 detailed Google political ad data — every election ad shown in a country, with how much was spent on it.

Google buries this data behind an undocumented, protobuf-encoded internal API that changes without notice.

Google Political Ads Scraper decodes it for you, so you get the data, and can successfully complete your project.

**$1 per 1,000 ads.** And with Apify's free plan you get $5 of credit every month, so your first **~5,000 ads each month are free**.

This is an excellent Actor made by Omkar Cloud, which is Rated Excellent — [4.7 based on 37 reviews on Trustpilot](https://www.trustpilot.com/review/omkar.cloud).

👉 [**Try Google Political Ads Scraper free**](https://apify.com/omkar-cloud/google-political-ads-scraper) — your first ~5,000 ads are Free.

### What can I get

- 🗳️ **Every election ad in a country** — candidates, parties, PACs and issue groups, newest first, with format, first & last shown and days live
- 💰 **Real money spent per ad** — the spend range Google publishes ($1.5M–$2M on a single ad) and its currency
- 👀 **Times shown per ad** — impression ranges up to "over 10M", per country and per platform (Search, YouTube, Maps, Play, Shopping)
- 🎯 **Who they targeted** — targeted countries, states and districts, plus whether demographic, location and contextual criteria were used, with full ad copy on demand

### Why Google Political Ads Scraper

Most other political ad scrapers fail you in one of four ways:

- 🗄️ **Inaccurate, cached, stale data**
- 🧩 **Low-detail data** — a few fields per ad, never the full picture
- 💸 **Pay more to get the same data**
- 🪦 **Works today, breaks next month** — nobody maintains it

Google Political Ads Scraper is scraped live on every run, priced honestly, and actively maintained.

### Example: A Political Ad

```json
{
  "country": "US",
  "rank": 1,
  "ad_id": "CR17185106750588583937",
  "ad_link": "https://adstransparency.google.com/advertiser/AR15988601180582313985/creative/CR17185106750588583937?region=US&topic=political",
  "advertiser_id": "AR15988601180582313985",
  "advertiser_name": "Democrats for the Illinois House",
  "format": "VIDEO",
  "first_shown": "2026-10-16T19:08:49Z",
  "last_shown": "2026-11-03T14:49:05Z",
  "days_shown": 19,
  "political_regions": ["US"],
  "political_impressions_min": 350000,
  "political_impressions_max": 400000,
  "political_spend_min": 5000,
  "political_spend_max": 6000,
  "political_spend_currency": "USD"
}
```

### Get Started with 5,000 Free Ads

1. [Hit **Try for Free Button**](https://apify.com/omkar-cloud/google-political-ads-scraper) — the input is pre-filled with the United States.
2. Enjoy your data 😎.

### Pricing

High value, Low price.

| What | Price | What you get |
|---|---|---|
| **Standard ads** | **$1 per 1,000** | ad ID & link, advertiser, format, first & last shown, days live, amount spent, times shown, regions |
| **Detailed ads** | $1.50 per 1,000 | Everything above + the ad copy, every variation, targeted locations, audience targeting and times shown per country and platform |

No start fee — you pay only for the rows you get. Control your spend with **Max ads per country**: 1,000 ads ≈ $1.

💡 Apify's free plan includes $5 of credit every month — about **5,000 free ads, every month**.

👉 [**Scrape your first 5,000 ads free**](https://apify.com/omkar-cloud/google-political-ads-scraper)

### Run It from Code

Grab your API token from [Integrations Settings here](https://console.apify.com/settings/integrations) and replace `<YOUR_API_TOKEN>` below.

**Python** (`pip install apify-client`)

```python
from apify_client import ApifyClient

client = ApifyClient("<YOUR_API_TOKEN>")
run = client.actor("omkar-cloud/google-political-ads-scraper").call(run_input={
    "regions": ["US"],
    "startDate": "2026-10-01",
    "maxResultsPerRegion": 500,
})
for ad in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(ad["advertiser_name"], ad["political_spend_min"], ad["political_spend_max"])
```

**Node.js** (`npm install apify-client`)

```javascript
import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: '<YOUR_API_TOKEN>' });
const run = await client.actor('omkar-cloud/google-political-ads-scraper').call({
    regions: ['US'],
    queries: ['actblue.com'],
    onlyNewAds: true,
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);
```

### FAQ

**How much does a run cost?**
100 political ads cost $0.10. With the full copy and targeting they cost $0.15. With Apify's free $5 a month, that's ~5,000 ads free.

**Which countries work?**
Every country where Google publishes election ads. Put one 2-letter code per line (US, GB, IN, BR, DE…).

**Can I follow one campaign?**
Yes — put its website (actblue.com), name or advertiser ID in **Advertisers or domains**, and turn on **Only new ads** to get just the fresh ones on a schedule.

**What are the numbers in `targeting_locations`?**
Countries come as 2-letter codes. States, cities and districts come as Google's own geo-target IDs, the same IDs Google Ads uses.

### 💬 Have Questions? We Have Answers.

You're a business owner — we know how hard completing a project can be. So we offer full support: just message us and we'll reply ✅ with a solution within 1 working day.

[![Message Us on WhatsApp about Google Political Ads Scraper](https://raw.githubusercontent.com/omkarcloud/assets/master/images/whatsapp-us.png)](https://www.omkar.cloud/l/google-ads-scraper-apify-whatsapp)

[![Ask Us on Email about Google Political Ads Scraper](https://raw.githubusercontent.com/omkarcloud/assets/master/images/ask-on-email.png)](mailto:happy.to.help@omkar.cloud?subject=Help%20with%20Google%20Political%20Ads%20Scraper%20Actor\&body=I%20need%20help%20with%20using%20the%20Google%20Political%20Ads%20Scraper%20Actor.)

You are important to us — just message us and we will solve your problem ✅ within 1 working day. 🩷 Pinky Promise 🤙!

### Related Actors

- 📣 [**Google Ads Scraper**](https://apify.com/omkar-cloud/google-ads-scraper) — every ad a brand runs on Google, with the full copy, impressions by country and targeting. $1 per 1,000 ads.
- 🏢 [**Google Ads Advertiser Scraper**](https://apify.com/omkar-cloud/google-ads-advertiser-scraper) — the Google Ads accounts behind any brand or domain. $1 per 1,000 advertisers.

### Popular Actors by Omkar Cloud

- [**G2 Product Scraper**](https://apify.com/omkar-cloud/g2-product-scraper) — G2 product details, ratings & AI-found contacts
- [**Website Email Contact Scraper**](https://apify.com/omkar-cloud/website-email-contact-scraper) — emails, phones & socials from any website
- [**AliExpress Product Scraper**](https://apify.com/omkar-cloud/aliexpress-product-scraper) — live product details, SKU variants, stock & shipping
- [**Booking Scraper**](https://apify.com/omkar-cloud/booking-scraper) — Booking.com hotels: prices, ratings, rooms & amenities
- [**Google Hotels Scraper**](https://apify.com/omkar-cloud/google-hotels-scraper) — live hotel prices from every booking site, details & reviews

👉 [**Scrape your first 5,000 political ads free now**](https://apify.com/omkar-cloud/google-political-ads-scraper)

# Actor input Schema

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

One 2-letter country code per line (US, GB, IN, BR, DE…). Rows carry a `country` field so you can tell them apart.

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

Only the political ads of these advertisers or websites: a domain (actblue.com), an advertiser name, an advertiser ID (AR…) or a Transparency Center advertiser link. Leave empty for every political ad in the country.

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

Only text, image or video ads.

## `platforms` (type: `array`):

Only ads shown on these Google surfaces. Empty = all.

## `startDate` (type: `string`):

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

## `endDate` (type: `string`):

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

## `maxResultsPerRegion` (type: `integer`):

Caps cost per country (and per advertiser filter). Ads come newest first, 100 per page.

## `scrapeDetails` (type: `boolean`):

Adds the ad copy, every variation, the countries the advertiser targeted, audience targeting (age, gender, location) and per-country times shown by platform. Billed as a detailed row.

## `onlyNewAds` (type: `boolean`):

Skip ads this monitor already delivered in earlier runs — schedule it daily to catch every new election ad.

## `monitorName` (type: `string`):

Name this watch so one account can run several "only new" monitors side by side.

## Actor input object example

```json
{
  "regions": [
    "US"
  ],
  "queries": [],
  "format": "all",
  "maxResultsPerRegion": 100,
  "scrapeDetails": false,
  "onlyNewAds": false,
  "monitorName": "default"
}
```

# Actor output Schema

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

Every row with every field.

## `overview` (type: `string`):

Advertiser, format, amount spent, times shown and dates of every political ad.

## `details` (type: `string`):

Ad copy, targeted countries and per-country impressions of detailed ads.

# 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 = {
    "regions": [
        "US"
    ],
    "queries": []
};

// Run the Actor and wait for it to finish
const run = await client.actor("omkar-cloud/google-political-ads-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 = {
    "regions": ["US"],
    "queries": [],
}

# Run the Actor and wait for it to finish
run = client.actor("omkar-cloud/google-political-ads-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 '{
  "regions": [
    "US"
  ],
  "queries": []
}' |
apify call omkar-cloud/google-political-ads-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,omkar-cloud/google-political-ads-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/eqLWveUYIpTab0ZgX/builds/AzWX8c1cAJBml6f4S/openapi.json
