Mediapartners-Google

advertising Mediapartners-Google

Google's Mediapartners bot for AdSense and AdMob crawling

About this crawler

Mediapartners-Google is a web crawler identified by the regular-expression pattern Mediapartners-Google in the User-Agent request header. It is categorised as advertising. Use the regex above to detect, log, allow, or block Mediapartners-Google traffic in your web server, CDN edge rules, or robots.txt.

Block-rate · top 25k sites

0.78%
latest snapshot
2026-06-04
matched key: Mediapartners-Google
2026-05-012026-06-040.98%

Technical details

Name
Mediapartners-Google
Pattern
Mediapartners-Google
Tags
advertising
Reference
https://support.google.com/webmasters/answer/1061943?hl=en
rDNS suffixes
.1e100.net, .googlebot.com, .googleusercontent.com
Instances
4 known sample(s)

rDNS verification (FCrDNS)

Verify a request is genuinely Mediapartners-Google with forward-confirmed reverse DNS: the client IP's PTR record must end in one of the suffixes below and a forward A/AAAA lookup of that hostname must return the same IP. UA strings alone are spoofable; FCrDNS is not.

Sample User-Agent strings

Mediapartners-Google
Mozilla/5.0 (compatible; MSIE or Firefox mutant; not on Windows server;) Daumoa/4.0 (Following Mediapartners-Google)
Mozilla/5.0 (iPhone; U; CPU iPhone OS 10_0 like Mac OS X; en-us) AppleWebKit/602.1.38 (KHTML, like Gecko) Version/10.0 Mobile/14A5297c Safari/602.1 (compatible; Mediapartners-Google/2.1; +http://www.google.com/bot.html)
Mozilla/5.0 (iPhone; U; CPU iPhone OS 4_1 like Mac OS X; en-us) AppleWebKit/532.9 (KHTML, like Gecko) Version/4.0.5 Mobile/8B117 Safari/6531.22.7 (compatible; Mediapartners-Google/2.1; +http://www.google.com/bot.html)

Block this crawler

robots.txt — disallow Mediapartners-Google:

User-agent: Mediapartners-Google Disallow: /

Apache .htaccess — return 403:

RewriteEngine On RewriteCond %{HTTP_USER_AGENT} Mediapartners-Google [NC] RewriteRule .* - [F,L]

Nginx — return 403 inside a server block:

if ($http_user_agent ~* "Mediapartners-Google") { return 403; }
← back to all crawlers