Morocco ASN Bot Clicks in Google Ads: Root Causes & Fixes
Seeing strange Google Ads search clicks from Moroccan residential ASNs? Learn why residential proxies bypass filters and how to stop invalid traffic fast.
By AdTurbo Team · 2026-11-28
Few things cause more confusion in PPC campaign audits than discovering thousands of search clicks originating from consumer Internet Service Providers (ISPs) in Morocco—especially when targeting local plumbing services in Dallas or SaaS subscriptions across the United States.
When a sudden wave of residential proxy invalid traffic hits Google Ads, account managers often see a surge in daily spend, plummeting conversion rates, and server logs flooded with traffic from Autonomous System Numbers (ASNs) owned by Maroc Telecom, Medi Telecom, or Inwi.
In this technical breakdown, we examine why Moroccan residential ASNs are frequently leveraged in distributed click operations, how automated traffic slips past standard Google Ads protections, and the exact steps required to isolate, neutralize, and claim credits for this invalid traffic.
---
Understanding the Moroccan ASN Bot Phenomenon on Google Search
To troubleshoot this issue, you must understand how routing works at the network infrastructure level. An Autonomous System (AS) is a massive collection of connected IP routing prefixes controlled by one or more network operators on behalf of a single administrative entity. Each AS has a unique identifier known as an Autonomous System Number (ASN).
When legitimate users browse Google from Casablanca or Rabat, their traffic routes through national telecommunications carriers like:
• AS36903 (Maroc Telecom / Itissalat Al-Maghrib)
• AS30982 (Medi Telecom / Orange Maroc)
• AS37274 (Wana Corporate / Inwi)
Why Are Click Farms Routing Through Moroccan Residential ASNs?
Fraud networks do not route automated search scripts through traditional commercial datacenters (like AWS, Hetzner, or DigitalOcean) because Google Ads filters automatically flag and block datacenter IP ranges with near-perfect accuracy. Datacenter traffic carries server-grade metadata that fails Google’s behavioral heuristics immediately.
To bypass these filters, illicit traffic networks use peer-to-peer (P2P) proxy networks, SDK-bundled mobile applications, and compromised home routers to build distributed residential proxy pools. In emerging broadband markets—including Morocco, parts of Eastern Europe, and Southeast Asia—tens of thousands of consumer routers and Android devices are enrolled into commercial proxy pools (such as Bright Data, Oxylabs, or unregulated black-hat proxy networks) without end users realizing their bandwidth is being leased.
Because North African consumer ISPs lease dynamic IPv4 blocks with lax firewall policies, malicious actors acquire residential exit nodes in Morocco at fractions of the cost of tier-one US or European residential proxies. When these residential nodes run automated browser instances (often controlled via Puppeteer-Extra, Playwright, or anti-detect browsers like AdsPower), they present authentic residential network fingerprints, confusing Google's primary automated defenses.
---
Why Default Location Settings Expose Campaigns to Foreign Proxies
The root cause of most Moroccan residential proxy surges on campaigns targeted elsewhere is Google’s default location targeting setting.
When you set up a new campaign in Google Ads, the location option defaults to "Presence or interest: People in, regularly in, or who've shown interest in your targeted locations (recommended)."
[Malicious Script in Morocco]
│
▼ (Residential IP: AS36903)
[Searches: "emergency roof repair dallas tx"]
│
▼ (Carries Location Intent: Dallas, TX)
[Google Ads Location Match: Matches 'Interest']
│
▼
[Ad Serves to Moroccan Residential Proxy Exit Node]
When a bot located in Casablanca routes a query through AS36903 for "best commercial litigation attorney in los angeles", Google's engine evaluates the user's intent. Because the query mentions an exact city within your target area, the algorithm determines that the foreign IP has shown "interest" in your location. The ad serves, the bot executes a click to register a landing page load, and your account is debited.
The Shift to Strict Physical Presence
To eliminate this exposure immediately, every search campaign must be shifted away from interest-based matching:
1. Navigate to your Google Ads campaign settings.
2. Expand the Locations dropdown.
3. Click Location options.
4. Under Target, switch from Presence or interest to Presence: People in or regularly in your targeted locations.
5. Under Exclude, ensure the setting is set to Presence: People in your excluded locations.
While this single setting stops queries that rely purely on explicit location keywords from outside your boundary, highly sophisticated botnets running GPS spoofing or location-matching residential proxies can still occasionally spoof geo-coordinates. You can run through our comprehensive PPC audit checklist to ensure no location leaks remain active.
---
How Google Ads Detects (and Misses) Residential Invalid Traffic
Google categorizes non-human or illegitimate clicks under Invalid Traffic (IVT). Google deploys a multi-layered defense architecture, but residential botnets are explicitly engineered to exploit the boundary between pre-bid and post-click detection.
| Detection Layer | Mechanism | Effectiveness Against Moroccan Residential ASNs | Response Time |
| :--- | :--- | :--- | :--- |
| Pre-Bid Filtering | Analyzes user-agent, IP blacklists, known datacenter subnets, and query patterns before the ad auction executes. | Low: Fails against clean, dynamic residential IPs with residential ASN headers. | Real-time (Milliseconds) |
| Post-Click Automated Filters | Evaluates user interaction signals: mouse jitter, scroll depth, click velocity, repeated queries, and referrer anomalies. | Moderate: Detects basic bot scripts, but misses advanced anti-detect headless browsers. | Hours to 24 Hours |
| Manual / Offline Analysis | Google engineers and algorithmic post-audits identify systemic patterns across network tiers over long timelines. | High: Catches widespread proxy pools, issuing retroactive billing credits. | Weeks to Monthly Invoice |
Where Automated Filters Fail
Sophisticated botnets simulate authentic human interaction profiles:
• They load common browser extensions via Chromium automation.
• They randomize viewport sizes, canvas fingerprints, and WebGL renderers.
• They emulate human micro-movements, smooth scrolling, and delayed click events.
• They cycle dynamic Moroccan residential IPs after 1-2 impressions, staying well below single-IP frequency thresholds.
Because the traffic originates from an ISP that houses millions of genuine internet subscribers (AS36903 or AS30982), Google’s pre-bid filters cannot simply blacklist the ASN without potentially dropping legitimate consumer traffic across North Africa. If your targeting settings still permit foreign interest or display network expansion, these clicks slip directly onto your bill.
---
Diagnosing the Infection: Server Logs and Search Terms
Before taking remediation measures, you must verify whether your traffic surge is genuinely tied to residential proxy networks or simply poorly matched search queries.
Step 1: Add Invalid Click Columns to Google Ads
To inspect what Google is catching automatically:
1. Log into your Google Ads dashboard and select Campaigns.
2. Click the Columns icon above the reporting table and select Modify columns.
3. Expand the Performance section.
4. Check the boxes for:
• Invalid clicks
• Invalid click rate
• Invalid clicks (pre-filtered)
5. Click Apply.
If your Invalid Click Rate spikes to 25–40% on specific days, Google is actively filtering portions of the Moroccan proxy surge. However, whatever remains in your standard "Clicks" column was billed directly to your account.
Step 2: Audit Matched Locations
Review the Locations report inside Google Ads to see where Google thinks these clicks occurred:
1. In the left navigation menu, go to Audiences, keywords, and content Locations.
2. Select the Matched locations tab at the top of the table.
3. Filter by conversions and cost.
If you see clicks allocated to "Morocco" or "Unknown" locations accompanied by zero conversions and extremely high click-through rates (CTR), your location settings were either misconfigured or bypassed by network proxying.
Step 3: Analyze Web Server Access Logs
Your Google Ads dashboard only tells you what Google wants you to see. Your web server logs (NGINX, Apache, Cloudflare, or AWS CloudWatch) reveal the raw technical reality. Extract a sample of visits generated from your Google Ads clicks by filtering your logs for gclid= (Google Click Identifier) parameters.
Look for the following technical signatures:
text
Sample NGINX log entry indicating Moroccan ASN Proxy Bot
196.115.x.x - - [24/Feb/2026:14:22:11 +0000] "GET /landing-page/?gclid=Cj0KCQiA... HTTP/2.0" 200 4521
"https://www.google.com/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36
(KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36" ASN:36903 Country:MA Duration:0.42s
Key warning indicators in these access entries include:
• Session Duration: 0-1 seconds total page dwell time.
• Asset Loading: High rates of omitted assets (the script requests the raw HTML page to register the click, but cancels secondary requests for CSS, images, and analytics tags).
• ISP Allocation: ASN lookups resolving directly to Maroc Telecom or Wana Corporate.
• User-Agent Inconsistencies: Outdated browser versions running on modern Windows NT architectures.
If you find your campaign budgets being eroded by irregular click floods, read our breakdown on Google Ads not working for systematic diagnostics.
---
5 Steps to Stop Moroccan Residential Bot Traffic in Google Ads
If your account is actively being drained by residential proxy invalid traffic, follow this step-by-step remediation framework immediately.
[Step 1: Exclude Entire Country (Morocco)]
│
▼
[Step 2: Turn Off Search Partners & Display Network]
│
▼
[Step 3: Audit & Prune Broad Match Keywords]
│
▼
[Step 4: Deploy WAF IP/ASN Blocking at CDN Level]
│
▼
[Step 5: Apply Script-Based Click Anomaly Defense]
1. Add Explicit Exclusions for Morocco (and Neighboring Regions)
Even with your location targeting set to "Presence," add Morocco to your explicit exclusions list across all campaigns:
1. Select your target campaigns or go to Tools and Settings Location Exclusion Lists.
2. Add Morocco (Country) to your exclusions.
3. Add frequently paired proxy exit nations: Algeria, Tunisia, Egypt, and Vietnam.
4. Save changes.
Explicit exclusions hard-code a zero-bid modifier over any query carrying IP or metadata connections to those jurisdictions.
2. Disable Google Search Partners and Display Network Expansion
A massive percentage of residential proxy invalid traffic hits campaigns via the Google Search Network Partners and Display Expansion.
Search partner sites frequently host obscure, uncurated search widgets that pay out per-click revenues. Unscrupulous site owners deploy botnets across cheap Moroccan residential IP pools to query their own syndication inventory, which inadvertently serves your Search ad through partner networks.
• In Campaign Settings, expand Networks.
• Uncheck Include Google search partners.
• Uncheck Include Google display network.
This single adjustment frequently stops up to 80% of distributed proxy clicks overnight.
3. Tighten Keyword Match Types and Review Search Terms
Unrestricted broad match keywords act as open invitations for distributed search bots. A broad match keyword like attorney can trigger searches for completely irrelevant foreign queries that mention tangential terminology.
Inspect your search query logs via the search terms report guide to identify bizarre query patterns, and aggressively populate your negative keyword lists using proven strategies from our guide on how to find negative keywords.
4. Implement Edge-Level Firewall Rules (Cloudflare/AWS WAF)
Do not rely entirely on Google Ads to catch malicious users after your budget has been spent. Intercept them at your Content Delivery Network (CDN) or Web Application Firewall (WAF) before your landing page loads.
If you use Cloudflare, deploy a Custom WAF Rule:
• Field: ASN
• Operator: equals
• Value: AS36903 (Maroc Telecom), AS30982 (Orange Maroc), AS37274 (Inwi)
• Action: Managed Challenge (forces the bot to solve a computational cryptographic puzzle) or Block.
By forcing incoming traffic from these specific residential ASNs to pass a Managed Challenge, non-headless bot scripts immediately terminate the request without registering landing page engagement. While Google still debits the click if the redirect executes, terminating the connection prevents subsequent invalid lead form spam.
5. Automated PPC Anomaly Detection
Monitoring sudden traffic anomalies manually across dozens of ad groups is inefficient. Manual oversight cannot keep up with multi-node proxy rotations that execute bursts of 50 clicks in three minutes.
Modern automated systems—such as Google Ads automation engines and AI-driven platforms—monitor impression-to-click ratios and geographic dispersion around the clock. By leveraging a real-time Google Ads AI agent, campaigns can automatically pause compromised keywords or bid down affected ad groups the moment unexpected traffic patterns arise, preserving capital before human managers even wake up to review the account.
---
How to Request Google Ads Refunds for Invalid Traffic
When Moroccan residential proxies slip past Google's automated systems, you can request an account investigation for billing credits.
Preparing Your Evidence File
Google's Click Quality Team will reject any investigation request that merely claims "I got a lot of weird clicks." You must build a clean, data-backed evidence dossier:
1. Date and Time Windows: Isolate the exact UTC timestamps when the spike occurred.
2. Affected Campaigns and Ad Groups: List IDs and campaign names.
3. Network Evidence: Export your server logs showing:
• Timestamp (UTC)
• GCLID value
• Connecting IP address
• Connecting ASN (e.g., AS36903)
• Referrer URL
• Time spent on site (0.00s)
4. Conversion Discrepancy: Highlight instances where 500+ clicks generated a 0.00% interaction rate, zero conversions, and average bounce rates of 100% on landing pages with standard historical conversion baselines of 3-5%.
Submitting the Invalid Traffic Investigation Request
Once your data is assembled:
1. Go to the official Google Ads Click Quality Investigation Request Form.
2. Enter your Customer ID.
3. Specify the affected date range (investigations are limited to traffic occurring within the past 60 days).
4. Select the primary networks affected (Search Network).
5. Upload your sanitized server logs containing the IP addresses, ASNs, and GCLIDs.
6. Under the technical explanation, state clearly:
"Our account experienced an abnormal surge of non-converting clicks originating from Moroccan consumer ASNs (specifically AS36903 / AS30982) routing through residential proxy pools. The ad traffic shows sub-second bounce times, no secondary resource fetching, and patterns consistent with automated headless browsers executing queries to trigger partner network arbitrage. Requesting invalid traffic review and corresponding billing credits."
Understanding Billing Credits vs. Campaign Data
If Google grants your claim, the compensation is applied as an Invalid Traffic Credit on your billing invoice (accessible under Billing Transactions).
Keep in mind: Google Ads campaign performance tables do NOT retroactively adjust historical metrics. Your campaign dashboard will still show the historical click volume and high Cost-Per-Click (CPC). The reimbursement appears solely as a monetary credit against existing or future invoice balances.
---
Long-Term Defensive Architecture for Search Campaigns
To safeguard your PPC investment against ongoing distributed proxy attacks across the globe, adopt this resilient architectural checklist for all current and future campaigns:
CAMPAIGN LEVEL DEFENSE
┌───────────────────────────────────┬───────────────────────────────────┐
│ │ │
▼ ▼ ▼
[Hard Location Exclusions], [Network Confinement], [Smart Bidding Data Hygiene]
• Exclude non-target nations - Disable Search Partners - Value-based bidding only
• Set targeting to Presence - Disable Display Network - Offline conversion tracking
1. Hard Location Exclusions
Never rely on omission. If you only operate in the United States, exclude the top 20 source countries for commercial proxy infrastructure (Morocco, Vietnam, Russia, India, China, Ukraine, Brazil, etc.) at the account level using a shared Location Exclusion List.
2. Confine Search Ad Inventory
Keep Search on Search. Disabling Search Partners and Display Expansion prevents ad placement on programmatic arbitrage networks where bot operators generate payout yields.
3. Transition to Value-Based Bidding and Offline Conversions
Bots thrive on micro-conversions. If your campaign bids toward page visits, file downloads, or generic button clicks, residential bots will trigger those conversions, signaling to Google's bidding algorithm that the Moroccan proxy clicks were "successful." This trains Smart Bidding to hunt for more invalid traffic.
Instead:
• Remove soft micro-conversions from your primary bidding goals.
• Implement Offline Conversion Tracking (OCT) via your CRM.
• Train Google’s Smart Bidding models only on qualified leads or settled revenue transactions.
When the algorithm sees zero qualified pipeline generated from residential proxy exit nodes, automated bidding naturally bids down on the query and network profiles associated with those signatures.
Managing these intricate account settings and traffic audits across multiple campaigns requires constant diligence. Using dedicated PPC management software can help teams detect anomalies in cost, identify suspicious geographic leaks, and keep campaigns optimized against invalid spend automatically.
---
Related Guides
• 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
• Google Ads Not Working? 11 Things to Check Before You Panic
---
Frequently Asked Questions
Do bots click on Google Ads?
Yes, bots routinely click on Google Ads. Automated scripts, scrapers, and click farm operations frequently target paid search results to inflate competitor costs, scrape ad copy and pricing, or generate ad revenue for disreputable third-party websites participating in the Google Search Partner network.
Are click bots illegal?
Click bots are illegal in many jurisdictions under computer fraud and cybercrime statutes, including the Computer Fraud and Abuse Act (CFAA) in the United States. Engaging in automated click fraud constitutes intentional interference with contractual relations, deceptive business practices, and wire fraud when done to siphon ad spend or defraud networks.
How do I stop fake clicks on Google Ads?
To stop fake clicks, switch campaign location targeting from "Presence or interest" to "Presence: People in or regularly in your targeted locations," and disable the Search Partner and Display networks. Additionally, add explicit country-level exclusions for high-risk proxy locations, deploy edge firewalls like Cloudflare to challenge suspicious ASNs, and feed offline conversion data back to Google to train bidding algorithms away from non-converting traffic.
Does invalid traffic exhaust my Google Ads budget?
Invalid traffic can exhaust your daily campaign budget if Google's real-time filters fail to identify the bot clicks as they occur. Although Google may later issue an invoice credit for detected invalid activity, an unmitigated midday click surge can cause your campaign to hit its daily budget cap prematurely, pausing your ads and causing you to lose legitimate prospective customers.