AdsBot-Google
Google's Ads bot for checking web page ad quality
About this crawler
AdsBot-Google is a web crawler identified by the regular-expression pattern AdsBot-Google([^-]|$) in the User-Agent request header. It is categorised as advertising. Use the regex above to detect, log, allow, or block AdsBot-Google traffic in your web server, CDN edge rules, or robots.txt.
Block-rate · top 25k sites
1.2%
Technical details
- Name
- AdsBot-Google
- Pattern
AdsBot-Google([^-]|$)- Tags
- advertising
- Reference
- https://support.google.com/webmasters/answer/1061943?hl=en
- rDNS suffixes
.1e100.net,.googlebot.com,.googleusercontent.com- Instances
- 1 known sample(s)
rDNS verification (FCrDNS)
Verify a request is genuinely AdsBot-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.
.1e100.net.googlebot.com.googleusercontent.com
Sample User-Agent strings
AdsBot-Google (+http://www.google.com/adsbot.html)
Block this crawler
robots.txt — disallow AdsBot-Google:
User-agent: AdsBot-Google
Disallow: /
Apache .htaccess — return 403:
RewriteEngine On
RewriteCond %{HTTP_USER_AGENT} AdsBot-Google([^-]|$) [NC]
RewriteRule .* - [F,L]
Nginx — return 403 inside a server block:
if ($http_user_agent ~* "AdsBot-Google([^-]|$)") {
return 403;
}
← back to all crawlers