Other bots
Mediapartners-Google
Reads pages that show AdSense or Ad Manager ads so the ads match the content.
Follows robots.txt- User agent token
- Mediapartners-Google
- Operator
- Verification
- Published IP list
- Source
- Google documentation
What a bot for ads, link previews or SEO tools does
These bots work for a specific product: checking an ad's landing page, drawing the preview when a link is shared, or collecting data for an SEO tool. Some only visit because the site owner asked them to.
It ignores rules for "User-agent: *"; name it directly to block it.
Block or allow Mediapartners-Google in robots.txt
Add one of these to the robots.txt file at the root of your domain. Crawlers read it before they fetch anything else.
Block Mediapartners-Google
User-agent: Mediapartners-Google
Disallow: /
Allow Mediapartners-Google
User-agent: Mediapartners-Google
Allow: /
More from Google
Questions, answered.
Mediapartners-Google is a bot for ads, link previews or SEO tools run by Google. Reads pages that show AdSense or Ad Manager ads so the ads match the content.
Yes. Google says Mediapartners-Google follows robots.txt. It ignores rules for "User-agent: *"; name it directly to block it.
Add "User-agent: Mediapartners-Google" and "Disallow: /" to your robots.txt.
Check the request's IP address against the list Google publishes. A user agent alone proves nothing, since any script can copy it.
No. Mediapartners-Google works for one product, such as ad checks, link previews or SEO data, rather than bringing visitors.
Only if you don't use the product it works for. Blocking Mediapartners-Google is safe for your search rankings.
In its own documentation at https://developers.google.com/search/docs/crawling-indexing/google-special-case-crawlers. Every fact on this page comes from there.
Still have questions? We're happy to help.
See which bots really read your site.
NoirTrack counts Mediapartners-Google and every other bot apart from real visitors, and its firewall can block them before they reach your pages.
Start free trialFree 14-day trial, no credit card. The server SDK also sees bots that never run JavaScript.