Override User-Agent with Chrome DevTools

Why this matters

Your webpage may work normally for users but fail for certain bots. This can lead to issues like “Destination Not Working” in Google Ads.

By overriding the user-agent in Chrome DevTools, you can test how your site behaves for different crawlers.


Steps (as per Google’s official documentation)

https://support.google.com/adspolicy/answer/16431325

  1. Open your website in Chrome
  2. Right-click and select Inspect
  3. Open the Network Conditions tab
  4. Uncheck “Use browser default”
  5. Choose or enter a custom user-agent
  6. Reload the page

Example: Testing Google Ads bot

You can set the user-agent to:

  • AdsBot-Google
  • AdsBot-Google-Mobile

This helps you verify whether your page is accessible and working correctly for Google Ads crawlers.


Reference: Google user-agents

https://developers.google.com/crawling/docs/crawlers-fetchers/overview-google-crawlers


Summary

Use Chrome DevTools to override the user-agent and quickly check if your webpage is accessible to bots like AdsBot-Google. This is useful for diagnosing ad disapproval issues related to page accessibility.