Stop Google Ads Hetzner Datacenter Clicks & Ghost Visits

Uncover why Google Ads reports Hetzner datacenter clicks in Germany, how scrapers exploit Search Partners, and how to stop zero-duration bot traffic today.

By AdTurbo Team · 2026-12-03

You open your web server logs or analytics real-time dashboard and see an unsettling trend: dozens or even hundreds of search clicks consuming your daily ad spend, tracing straight back to Autonomous System Number AS24940—Hetzner Online GmbH in Germany. These visits hit your target landing pages with identical behavioral footprints: single-second or zero-duration sessions, generic user-agents, non-existent mouse tracking, and zero conversions.

Yet inside your campaign dashboard, Google charges you full price for these clicks. If you are noticing persistent google ads hetzner datacenter clicks, your ad budget is leaking into an automated infrastructure web that Google's default invalid click filters frequently miss. This guide dissects the exact technical architecture driving this phenomenon, explains why German hosting subnets dominate automated ad clicks, and outlines the precise steps required to stop the drain.

---

The Technical Reality Behind Hetzner Datacenter Traffic in Google Ads

Hetzner is one of the world's most popular, cost-effective cloud infrastructure and dedicated server providers, with massive facilities in Falkenstein and Nuremberg, Germany, as well as Helsinki, Finland. Because Hetzner offers extremely low-cost unmetered gigabit bandwidth and high-performance compute, it has become the backbone for European web scrapers, automated testing frameworks, residential proxy relay nodes, and malicious click farms.

When you see datacenter IPs draining your ad budget, your ads are rarely being clicked by a human user sitting in a German office. Instead, your campaign has intersected with an automated crawler pipeline.

Datacenter IPs vs. Residential Proxies

Click fraud operators and automated data mining companies execute ad clicks through two primary mechanisms:

1. Direct Headless Automation: Bots running headless browsers (Puppeteer, Playwright, or Selenium) hosted directly on Hetzner virtual private servers (VPS). These scripts scrape Google search result pages (SERPs) or Search Partner networks to map pricing, monitor affiliate links, or exhaust competitor budgets.

2. Reverse Proxy & VPN Gateways: Datacenter instances running open-source proxy daemons (Squid, Shadowsocks, WireGuard). Commercial VPN providers and scraper networks rent IP subnets from Hetzner. A bot operator routing requests through an exit node hosted on Hetzner will present an IP registered directly to Hetzner Online GmbH, even if the payload originated elsewhere.

The Anatomy of an Automated Hetzner Ad Visit

When a Hetzner-originated click hits your server, your raw NGINX, Apache, or cloud edge logs (such as Cloudflare Ray logs) display distinct signatures compared to legitimate consumer traffic:

text

188.40.xxx.xxx - - [14/Mar/2026:10:14:22 +0000] "GET /landing-page/?gclid=EAIaIQobChMI... HTTP/2.0" 200 4521 "https://www.google.de/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36"

While the HTTP User-Agent string mimics a real consumer browser, examining the TCP connection reveals anomalies:

• Zero Second Time-on-Page: The client requests the initial HTML document, downloads zero subsequent assets (no CSS, JavaScript bundles, or image requests), and terminates the connection immediately.

• Missing WebGL / Canvas Fingerprints: If client-side telemetry is configured via tools like Microsoft Clarity or Google Tag Manager, the browser execution environment lacks realistic hardware rendering profiles.

• No GTM / GA4 Hit Dispatches: The pageview or sessionstart event may trigger via a server-side proxy, but no interactive events (scroll, click, mousemove) follow.

If you have been wondering why is Google Ads so expensive, these silent bot clicks are often an invisible factor, inflating your cost per acquisition without triggering baseline fraud alarms.

---

Why Google's Automated Fraud Detection Misses These Clicks

Advertisers frequently ask: If Hetzner is a well-known commercial datacenter with public ASN allocations, why doesn't Google Ads automatically classify all clicks from AS24940 as Invalid Clicks and credit my account?

The answer lies in how Google categorizes invalid traffic (IVT) and the architectural compromises built into modern programmatic ad delivery.

General Invalid Traffic (GIVT) vs. Sophisticated Invalid Traffic (SIVT)

Google categorizes invalid clicks into two distinct tiers:

| Attribute | General Invalid Traffic (GIVT) | Sophisticated Invalid Traffic (SIVT) |

| :--- | :--- | :--- |

| Detection Method | Routine list-based checks, known crawler user-agents, basic IP blacklists | Advanced behavioral analysis, device fingerprinting, machine learning models |

| Hetzner Classification | Only applied if the bot explicitly identifies as a bot (e.g., Googlebot, Bingbot) | Requires continuous behavioral analysis to separate scrapers from legitimate VPN users |

| Filtering Point | Real-time pre-bid or pre-charge filtering | Post-click statistical analysis, often taking up to 30 days to refund |

| Refund Reliability | Automatic and immediate | Highly inconsistent; frequently missed entirely by Google's systems |

Because Hetzner hosts millions of legitimate enterprise workloads—including private VPNs used by real people, corporate web gateways, and server-side tracking containers (such as server-side GA4 setups)—Google does not issue blanket bans on Hetzner IP ranges. Blanket bans on major datacenter ASNs would inadvertently block legitimate commercial proxy users, corporate networks, and emerging server-side tracking pipelines.

The Search Partner Blindspot

Datacenter bots do not spend all day browsing google.com. The vast majority of these visits hit advertisers via the Google Search Partners network.

Third-party search sites and syndication feeds monetize their traffic using custom search engines (Google AdSense for Search). These partner platforms have vastly lower fraud filtering thresholds than Google's own core properties. Rogue publishers or automated traffic arbitrageurs use Hetzner servers to programmatically query syndicated search portals, triggering and clicking ad units to harvest payouts through affiliate schemes or ad networks.

By the time that click registers in your Google Ads account, it appears as a legitimate search click originating from an EU user. Routine checks with a ppc audit checklist will show that campaigns running on Search Partners without tight exclusions absorb 3x to 10x more datacenter hits than campaigns restricted purely to Google Search.

---

The Role of Search Partners in Datacenter Scraping

Understanding the mechanics of Search Partners explains why German hosting providers like Hetzner, Contabo, and Netcup frequently appear in search campaign click trails.

[ Scraper Bot on Hetzner VPS ]

│

▼

[ Syndicated Search Partner / Arbitrage Engine ]

│

▼

[ Google Search Ads Feed Triggered ]

│

▼

[ Bot Simulates Click on Your Ad Unit ]

│

▼

[ Your Landing Page (Budget Consumed) ]

How Arbitrageurs Exploit Syndicated Feeds

1. Arbitrage Portals: An operator builds a network of pseudo-search engines offering obscure directory lookups, file converters, or domain lookups. They apply for a Google Search Partner feed.

2. Automated Keyword Queries: Using lightweight scripts running on Hetzner servers, the operator submits thousands of high-CPC search queries to their own portals.

3. Dynamic Ad Placement: Google's ad auction dynamically fills those queries with ads from your Search campaigns.

4. Automated Click-Through: The script randomly selects one or more ad links, sending the payload to your website with a valid gclid (Google Click Identifier). The arbitrageur receives a revenue share for the search partner impression/click, while you are billed the full CPC.

Because Hetzner offers server nodes with high transfer speeds at modest monthly rates, bad actors can deploy thousands of distributed headless requests across dozens of /24 subnets without incurring high hosting bills.

---

Diagnosing the Infection: Zero-Duration Clicks and Server Signatures

Before taking remediation steps, you need empirical evidence showing that your account is bleeding cash to German hosting providers. Here is how to diagnose and quantify the issue using your existing tracking stack.

Step 1: Querying Your Web Server Logs for AS24940

If you have access to raw access logs (NGINX, Apache, AWS CloudFront, or Cloudflare), run an automated check to isolate inbound Google Ads traffic coming from Hetzner.

For NGINX logs formatted with upstream IP addresses, use the following bash script to filter for gclid parameters arriving from known Hetzner subnets (such as 188.40.0.0/16, 78.46.0.0/15, 88.198.0.0/16, 148.251.0.0/16, and 159.69.0.0/16):

bash

Filter access logs for Google Ads clicks matching Hetzner IP blocks

zgrep -E 'gclid=' /var/log/nginx/access.log | grep -E '(188\.40\.|78\.4[6-7]\.|88\.198\.|148\.251\.|159\.69\.)' | awk '{print $1, $4, $7}' | sort | uniq -c | head -n 30

If this command returns consistent hits, you are actively paying for datacenter-originated traffic.

Step 2: Isolating Zero-Duration Sessions in Google Analytics 4

In GA4, create an Exploration report to measure the behavior of traffic originating from Germany against other regions:

1. Go to Explore Free Form.

2. Add the following Dimensions:

• Session Google Ads campaign

• Country

• City

• Session default channel group

3. Add the following Metrics:

• Sessions

• Engaged sessions

• Average engagement time per session

• Key events (Conversions)

4. Add a Filter: Country exactly matches Germany AND Session default channel group equals Paid Search.

If you notice that cities like Falkenstein, Nuremberg, or Frankfurt account for hundreds of sessions with an Average Engagement Time of 0m 00s and an Engagement Rate below 3%, you have uncovered automated hosting provider traffic.

text

+-----------------------+----------+------------------+-----------------------+

| City (Germany) | Sessions | Engagement Rate | Avg Engagement Time |

+-----------------------+----------+------------------+-----------------------+

| Falkenstein | 412 | 1.2% | 0.4s |

| Nuremberg | 389 | 2.1% | 0.8s |

| Berlin (Normal user) | 245 | 58.4% | 64.2s |

| Munich (Normal user) | 198 | 62.1% | 71.0s |

+-----------------------+----------+------------------+-----------------------+

The contrast between organic consumer cities (Berlin, Munich) and datacenter hosting hubs (Falkenstein, Nuremberg) is immediately visible.

---

Step-by-Step Guide: How to Block Hetzner Bot Clicks

Eliminating these clicks requires a multi-layered defense strategy spanning Google Ads campaign settings, placement exclusions, edge-firewall rules, and continuous monitoring.

1. Disable Search Partners Across All Search Campaigns

The fastest and most effective step to stop the influx of bot traffic from secondary networks is disabling Search Partners. In our testing across active accounts, turning off Search Partners eliminates over 85% of German datacenter clicks within 24 hours.

1. Sign in to your Google Ads account.

2. Select your Campaign and click Settings.

3. Expand the Networks tab.

4. Uncheck "Include Google search partners".

Networks

[X] Google Search Network

[ ] Include Google search partners <-- UNCHECK THIS BOX

[ ] Include Google Display Network

5. Click Save.

Note: You must audit this setting for every active Search campaign. If your campaigns are structured around aggressive automation or Smart Bidding, evaluate our guide to ppc campaign management to understand how network segmentation impacts bidding algorithms.

2. Tighten Location Targeting Options

By default, Google Ads sets location targeting to "Presence or interest: People in, regularly in, or who've shown interest in your targeted locations". This setting lets a scraper hosted in a Hetzner datacenter in Germany trigger your US- or UK-only campaigns simply by querying keywords containing your target location (e.g., "personal injury lawyer dallas").

To lock down your geographical parameters:

1. In your campaign settings, expand Locations.

2. Click Location options.

3. Under Target, change the selection from Presence or interest to "Presence: People in or regularly in your targeted locations".

Target

( ) Presence or interest: People in, regularly in, or who've shown interest...

(•) Presence: People in or regularly in your targeted locations <-- SELECT THIS

4. Under Exclude, ensure "Presence: People in your excluded locations" is active.

5. If your business does not operate in Germany, navigate to Locations Excluded and explicitly add Germany (country) to your account-level exclusion list.

3. Deploy Edge-Level ASN & Subnet Blocking via Cloudflare

Google Ads lets you exclude IP addresses at the campaign level (up to 500 IPs per campaign), but it does not support CIDR ranges or ASN exclusions directly. Attempting to add hundreds of single Hetzner IPs via Google Ads UI is ineffective because Hetzner controls hundreds of thousands of dynamic IPs.

The real fix happens at your DNS or Content Delivery Network (CDN) edge layer before your web server serves the landing page. Using Cloudflare (Free or Pro tier), you can intercept and challenge datacenter traffic:

1. Log into your Cloudflare Dashboard.

2. Navigate to Security WAF (Web Application Firewall) Custom Rules.

3. Click Create Rule.

4. Configure the rule expression:

text

(ip.geoip.asnum eq 24940 and http.request.uri.query contains "gclid=")

5. Choose the Action: Managed Challenge (or Interactive Challenge).

Rule Name: Challenge Hetzner Google Ads Traffic

If incoming requests match:

• AS Num equals: 24940 (Hetzner Online GmbH)

AND

• URI Query contains: "gclid="

Then Action:

• Managed Challenge

Why Issue a Challenge Instead of a Hard Block?

Issuing a Managed Challenge (such as Cloudflare Turnstile) forces headless scripts and datacenter scrapers to solve a non-interactive cryptographic proof. Headless bots cannot execute the challenge and will immediately drop the session.

More importantly: automated crawlers hitting a challenge page will fail to load your full application code, preventing them from firing conversion goals or draining compute resources. While Google will still bill you for the initial ad click, making your page unreachable to automation forces scraping operators to drop your domain from their targets.

4. Server-Side Scripting to Drop Click-IDs from Datacenter ASNs

If you do not run Cloudflare, deploy server-side middleware (Node.js, PHP, or Python) to neutralize incoming sessions from known datacenter ASNs:

php

<?php

// Inspect incoming IP against MaxMind GeoIP2 or local ASN database

$clientIp = $SERVER['REMOTEADDR'];

$asn = geoipasnumbyname($clientIp);

// AS24940 = Hetzner Online GmbH

if ($asn === 'AS24940' && isset($GET['gclid'])) {

// Terminate automated request with a 403 Forbidden

header('HTTP/1.1 403 Forbidden');

exit('Automated access detected from datacenter subnet.');

}

?

By dropping the connection before executing heavy database calls or third-party tracking scripts, you stop bot traffic from polluting your analytics attribution datasets.

---

How to Request Refunds from Google Ads for Datacenter Bot Traffic

If you have lost thousands of dollars to zero duration clicks german hosting providers, you can file an official Click Quality Dispute with Google Ads support to request a credit adjustments voucher.

Preparing the Click Quality Dispute Document

Google requires strict, verifiable proof before issuing refunds for invalid traffic that bypassed their automated filters. Submit your request using the following structured protocol:

1. Compile Web Server Logs: Export a CSV containing all clicks over the past 30–60 days featuring:

• Date and timestamp (UTC)

• Client IP address

• Complete gclid string

• Complete User-Agent header

• ASN and ISP data showing ownership by Hetzner Online GmbH / AS24940

2. Isolate Zero-Duration Behavioral Metrics: Export a matching report from GA4 or your analytics platform showing that 95%+ of these sessions terminated within 0–1 seconds without loading assets.

3. Calculate Total Financial Impact: Cross-reference the timestamps with your Google Ads Click Reports to calculate the exact dollar amount billed across those specific interactions.

Submitting the Dispute Form

1. Open the Google Ads Click Quality Dispute Form.

2. Enter your 10-digit Customer ID.

3. Under Affected Campaigns, list all campaigns impacted by the Hetzner traffic.

4. In the dispute explanation box, use objective, technical language:

"We have identified a significant volume of Sophisticated Invalid Traffic (SIVT) originating from commercial datacenter infrastructure (AS24940 - Hetzner Online GmbH). Over the period of [Date] to [Date], our campaigns received [Number] clicks originating directly from datacenter IP subnets, exhibiting identical automated behavior (0-second session duration, absence of secondary asset requests, and non-existent interaction metrics). As these clicks represent automated scripts traversing the Search Partners network rather than legitimate search users, we request a manual review by the Click Quality Team and an invalid traffic adjustment credit for the affected clicks detailed in the attached server logs."

5. Attach your CSV file and submit the request.

Google's review team generally investigates within 7–14 business days. While they rarely issue full 100% refunds for every flagged click, accounts presenting clear edge-log documentation commonly secure credits covering 40% to 70% of the disputed datacenter spend.

---

Negative Keywords and Pattern Matching to Block Scraper Queries

Scraper bots and arbitrage bots operating out of German datacenters often trigger search ads using automated query templates. You can limit your exposure by conducting aggressive negative keyword maintenance.

Auditing Search Terms for Automated Queries

When scrapers query Google or Search Partners, they frequently concatenate dynamic parameters, search operators, or unnatural long-tail combinations. Navigate to your search terms report guide workflow and review low-intent queries displaying high CPCs and zero conversions.

Look for queries containing:

• Arbitrage strings: "free download online", "converter tool", "search directory", "login portal"

• Competitor harvesting: repeated systematic searches of your brand name combined with every possible service permutation

• Foreign language modifiers: German words appended to English searches (e.g., "preis", "kosten", "testbericht") when running global campaigns

To prevent programmatic keyword bleeding, build out dedicated lists using negative keywords examples and establish standard negative keyword lists across all account entities.

text

+-------------------------------------------------------+

| Recommended Account-Level Negative Keywords to Filter |

| Datacenter Arbitrage Clicks |

+-------------------------------------------------------+

| [proxy] |

| [vpn] |

| "free download" |

| "server status" |

| "hosting" |

| "api endpoint" |

+-------------------------------------------------------+

If you need a systematic method for catching these phrases before they spend your budget, follow our step-by-step tutorial on how to find negative keywords.

---

Comparison: Strategies for Blocking Hetzner Clicks

Different tactics offer varying degrees of control, technical complexity, and overall effectiveness. Here is how the primary remediation options stack up:

| Defense Strategy | Implementation Effort | Technical Difficulty | Fraud Elimination Efficacy | Secondary Side Effects |

| :--- | :--- | :--- | :--- | :--- |

| Disable Search Partners | 2 minutes | Low | High (80–90%) | May slightly reduce aggregate impression volume |

| Switch to 'Presence' Targeting | 2 minutes | Low | Moderate (30–50%) | Prevents foreign bots querying local keywords |

| Cloudflare WAF / Managed Challenge | 15 minutes | Moderate | Very High (95%+) | Challenges legitimate VPN users on Hetzner |

| Server-Side Subnet Blocking | 1 hour | High | Very High (95%+) | Requires developer upkeep as IP ranges shift |

| Manual IP Exclusions in Google Ads | Continuous | Low | Extremely Low (<5%) | Ineffective; manual IP limits cap at 500 IPs |

| Click Quality Disputes | 2 hours | Moderate | Varies (Post-spend only) | Recovers capital but doesn't prevent future spend |

For most businesses, combining Search Partner deactivation, Presence location targeting, and a Cloudflare Managed Challenge on AS24940 solves the problem permanently.

---

Automating Your Click Quality Monitoring

Manually downloading server logs and cross-referencing IP subnets every week is unsustainable for growing businesses. Bot networks rotate IP blocks rapidly; as soon as one /24 subnet on Hetzner gets heavily challenged, bot operators spin up new nodes on OVH, Contabo, or DigitalOcean.

Maintaining clean campaigns requires continuous anomaly detection across your traffic feeds. If your team cannot dedicate hours each week to monitoring edge metrics, using modern google ads automation tools can automate this oversight. Platforms like AdTurbo monitor search term anomalies, sudden engagement rate collapses, and irregular spend surges in real-time, helping you catch uncharacteristic traffic leaks before they consume your budget.

To keep your campaigns protected from recurring bot spikes, follow a reliable google ads optimization checklist every week:

• Audit Geo-Performance Weekly: Sort campaigns by Country/Territory and verify whether un-targeted regions (like Germany, if you only serve domestic markets) are registering impressions or clicks.

• Track Engagement Discrepancies: If an ad group's engagement rate drops precipitously while spend spikes, examine the Search Partners network breakdown.

• Keep ASN Rules Updated: If you manage an edge firewall, check Cloudflare Analytics once a month to see how many requests triggered your AS24940 rule and whether new datacenter ASNs need to be added to the challenge list.

---

Related Guides

• Google Ads Not Working? 11 Things to Check Before You Panic

• PPC Audit Checklist: 12 Steps to Fix a Leaking Google Ads Account

• How to Use the Google Ads Search Terms Report to Cut Wasted Spend

---

Frequently Asked Questions

Why are Hetzner IP addresses clicking on my Google Ads?

Hetzner is a low-cost cloud hosting provider whose servers are frequently rented by data-scraping firms, click arbitrageurs, and proxy services. When these automated systems scrape search engines or interact with low-quality Google Search Partner sites, their scripts trigger and click on your ads, routing datacenter traffic directly to your landing pages.

Can I block Hetzner IP addresses directly inside Google Ads?

Google Ads only allows you to block individual IP addresses up to a limit of 500 per campaign, making it impossible to block entire datacenter subnets or Autonomous System Numbers (ASNs) like AS24940. To block Hetzner traffic effectively, you must disable Google Search Partners and deploy edge-level WAF rules (such as Cloudflare Managed Challenges) at your DNS or server level.

Will Google Ads automatically refund clicks from Hetzner datacenters?

Google's automated systems catch some General Invalid Traffic (GIVT), but they routinely fail to detect sophisticated headless browsers originating from datacenter IPs on the Search Partner network. If you notice significant spend from these IPs, you must compile your server logs and submit a manual Click Quality Dispute through Google Ads support to seek an account credit.

Does turning off Google Search Partners hurt campaign performance?

For the vast majority of lead generation and e-commerce campaigns, turning off Search Partners actually improves overall performance and return on ad spend. Search Partners historically converts at a lower rate than Google Search while carrying a significantly higher share of automated bot traffic, making its removal one of the quickest ways to reduce wasted budget.