A

AdSense / Mediapartners-Google

Visit Bot Homepage

Verify AdSense / Mediapartners-Google IP Address

Verify if an IP address truly belongs to Google, using official verification methods. Enter both IP address and User-Agent from your logs for the most accurate bot verification.

Mediapartners-Google is Google’s crawler dedicated to evaluating webpages for Google AdSense. It scans pages to understand content, layout, and context so Google can deliver relevant ads and optimize revenue for publishers. Unlike Googlebot, this crawler does not index content for Search - its role is purely advertising-related. Blocking it may prevent AdSense from analyzing pages and serving targeted ads effectively. Crawl activity is generally light and focused on pages where AdSense code is present, helping Google match ad inventory with page themes and user interests. It ignores the global user agent (*) rule. RobotSense.io verifies AdSense / Mediapartners-Google using Google’s official validation methods, ensuring only genuine AdSense / Mediapartners-Google traffic is identified.

This bot does not honor Crawl-Delay rule.

User Agent Examples

Contains: Mediapartners-Google

(Various mobile device types) (compatible; Mediapartners-Google/2.1; +http://www.google.com/bot.html)
Example user agent strings for AdSense / Mediapartners-Google

Robots.txt Configuration for AdSense / Mediapartners-Google

Robots.txt User-Agent:Mediapartners-Google

Use this identifier in your robots.txt User-agent directive to target AdSense / Mediapartners-Google.

Recommended Configuration

Our recommended robots.txt configuration for AdSense / Mediapartners-Google:

User-agent: Mediapartners-Google
Allow: /

Completely Block AdSense / Mediapartners-Google

Prevent this bot from crawling your entire site:

User-agent: Mediapartners-Google
Disallow: /

Completely Allow AdSense / Mediapartners-Google

Allow this bot to crawl your entire site:

User-agent: Mediapartners-Google
Allow: /

Block Specific Paths

Block this bot from specific directories or pages:

User-agent: Mediapartners-Google
Disallow: /private/
Disallow: /admin/
Disallow: /api/

Allow Only Specific Paths

Block everything but allow specific directories:

User-agent: Mediapartners-Google
Disallow: /
Allow: /public/
Allow: /blog/

Set Crawl Delay

Limit how frequently AdSense / Mediapartners-Google can request pages (in seconds):

User-agent: Mediapartners-Google
Allow: /
Crawl-delay: 10

Note: This bot does not officially mention about honoring Crawl-Delay rule.

Frequently Asked Questions

What is Mediapartners-Google, and why is it visiting my website?
Mediapartners-Google is a crawler operated by Google for evaluating webpages that use Google AdSense. Its primary purpose is to analyze page content, structure, and context so relevant ads can be served. Visits are typically triggered when AdSense code is detected on a page, and crawl behavior is targeted rather than broad. For websites using AdSense, this bot traffic is expected and necessary for ad optimization.
Is Mediapartners-Google a legitimate bot, or is it commonly spoofed?
Mediapartners-Google is an official Google crawler and is considered legitimate. However, its user-agent may be spoofed by malicious actors attempting to disguise scraping or bypass filtering rules. Attackers may impersonate it because many sites allow Google-related bots by default. As a result, User-Agent strings alone are not sufficient to verify authenticity in server logs. You can use Google's recommended methods mentioned below to verify a legitimate visit, or use RobotSense.io API to easily verify Mediapartners-Google bot visits.
How can I verify that a request is really coming from Mediapartners-Google bot?
You can use Google's recommended official methods to verify APIs-Google bot visits, these include: - IP range checks - Reverse DNS → forward DNS Do not use User-Agent based detection as that can be easily spoofed. Alternatively, you can use RobotSense.io API to easily verify Mediapartners-Google bot and all other bots from Google and other operators.
Should I allow or block Mediapartners-Google bot on my website?
Allowing Mediapartners-Google is generally recommended if you use Google AdSense, as it directly affects ad targeting and revenue optimization. The crawler is purpose-specific and typically lightweight. Blocking may be appropriate if: - You do not use AdSense or Google advertising services - You want to restrict content analysis for advertising purposes - You are managing strict resource constraints or sensitive content
How can I control or block Mediapartners-Google using robots.txt or other methods?
You can add a rule in your robots.txt, as given above to control (crawl-delay) or disallow Mediapartners-Google bot. Also, you can use further controls in your WAF, or in RobotSense enforcement settings to manage the bot behavior.
How often does Mediapartners-Google crawl websites, and can it impact server performance?
Mediapartners-Google uses event-driven and periodic crawling, primarily focused on pages with AdSense integration. Crawl frequency depends on content updates and ad-serving needs rather than full-site indexing cycles. Impact is typically low: Bandwidth usage: minimal Request rates: limited and targeted Dynamic pages: slight load if uncached
What happens if I block Mediapartners-Google? SEO, visibility, and feature impact explained.
Blocking this crawler does not affect search rankings, but it can impact advertising performance. Potential effects include: - Reduced accuracy of ad targeting on your pages - Lower AdSense revenue potential due to less contextual understanding - Limited functionality for AdSense-related analysis and optimization It will not have any direct SEO performance impact.
Does Mediapartners-Google collect, scrape, or use my content for training or reuse?
Mediapartners-Google analyzes page content to determine ad relevance and placement. It processes HTML, text, and contextual signals but is not designed for general web indexing or public dataset creation. Usage typically includes: - Contextual ad targeting - Content classification for advertising - Optimization of ad delivery systems It does not publicly store full-page content or contribute to open datasets, and there is no documented use of this crawler for AI training purposes.