Skip to content
Google

Mediapartners-Google

Reads pages on AdSense and Ad Manager sites so Google can show relevant ads there.

OtherVerified by IPSee the robots.txt note

What it does

This crawler visits sites that run Google's ad products and works out what each page is about. It obeys only robots.txt rules that name it.

User agent

Mediapartners-Google

Requests from this crawler contain this token in the User-Agent header. Version numbers change over time. Match on the token Mediapartners-Google rather than the full string.

How to verify it

Anyone can copy a user agent. A visit is only genuine when the user agent matches and the request comes from an address the provider owns.
  1. Match the tokenThe user agent contains Mediapartners-Google.
  2. Reverse DNSLook up the host name for the request IP. It must end in google.com, and a forward lookup of that name must return the same IP.
  3. Check the published IP rangesThe request IP falls inside one of the ranges listed at developers.google.com/static/crawling/ipranges/special-crawlers.json (opens in a new tab).

These checks come from Google’s own documentation (read it (opens in a new tab)).

Published IP ranges

Verified by IP

Reveata downloads this list every day and checks each request that claims to be Mediapartners-Google: inside the ranges it is verified, outside it is marked spoofed.

How crawler verification works

robots.txt

Ignores the global * group; must be named explicitly.

User-agent: Mediapartners-Google
Disallow: /

Keeps Mediapartners-Google off every page. Changes take effect the next time it reads your robots.txt, usually within a day.

Signed-in website owners can choose allow or block for every crawler on the Bots page and copy one combined robots.txt. How it works

See which bots and AI tools read your site

Reveata separates crawlers from people and shows which AI answers send real visitors and revenue.

Start 7-day free trial