Mediapartners Googlebot

advertising Mediapartners \(Googlebot\)

Google's Mediapartners bot variant for AdSense and AdMob crawling

About this crawler

Mediapartners Googlebot is a web crawler identified by the regular-expression pattern Mediapartners \(Googlebot\) in the User-Agent request header. It is categorised as advertising. Use the regex above to detect, log, allow, or block Mediapartners Googlebot 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 Googlebot
Pattern
Mediapartners \(Googlebot\)
Tags
advertising
Reference
https://support.google.com/webmasters/answer/1061943?hl=en
Added
2017/08/08
Instances
0 known sample(s)

Sample User-Agent strings

no public sample user-agents recorded.

Block this crawler

robots.txt — disallow Mediapartners Googlebot:

User-agent: Mediapartners Googlebot Disallow: /

Apache .htaccess — return 403:

RewriteEngine On RewriteCond %{HTTP_USER_AGENT} Mediapartners \(Googlebot\) [NC] RewriteRule .* - [F,L]

Nginx — return 403 inside a server block:

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