How to Get the Ad Code of Problematic Ads on Mobile Phones

Ad Optimization
Last updated: August 23, 2019 | by son_m2

Here is a step-by-step guide on how to capture the live ad code of problematic ads on mobile phones using Google Chrome and a JS bookmarklet.

Step 1: On your mobile phone, download, and Install

Step 2: Go to one site, then save it as a bookmark

How to Get the Ad Code of Problematic Ads on Mobile Phones MonitizeMore

Step 3: Edit the bookmark you just saved

  • Use a short name (i.e ‘Problem Ad’)
  • The paste this JS code in the URL field:

javascript:(function(){var xmlHttp = null;xmlHttp = new XMLHttpRequest();xmlHttp.open(“POST”, “http://optimization.revex.co/bookmarklet-callback”, true );xmlHttp.setRequestHeader(‘Content-Type’, ‘application/x-www-form-urlencoded’);xmlHttp.send(“url=” + encodeURIComponent(location.href) + “&source=” + encodeURIComponent(document.documentElement.outerHTML));})();

How to Get the Ad Code of Problematic Ads on Mobile Phones MonitizeMore

Step 4: Now, go to the page where you saw the problematic ad

(example below)

How to Get the Ad Code of Problematic Ads on Mobile Phones MonitizeMore

  • Now, go to your bookmarks and click on the ‘Problem Ad’ bookmark you saved earlier.
  • It will send that page to the MonetizeMore system and we should be able to replicate the problem and advise how to fix it.

How to Get the Ad Code of Problematic Ads on Mobile Phones MonitizeMore

How to Get the Ad Code of Problematic Ads on Mobile Phones MonitizeMore

If you want to fix a problematic ad on your site, contact MonetizeMore and we can help you fix, manage,  and optimize ads on your site for monetization.

You may also sign-up for FREE to Google Ad Exchange here.


Related Reads:

Source: http://www.idownloadblog.com/2012/06/30/how-to-easily-use-bookmarklets-in-google-chrome-for-ios/

Recommended Reading

performance-publishers-en
Ad Fraud & Invalid Traffic
April 13, 2026

The Future of LATAM Performance Marketing Publishers: Why Legacy Solutions Are Failing and What Was Built to Fix It

Read More
privacy-sandbox-update
Blog
March 26, 2026

Google has moved third-party cookie deprecation from Q4 2026 to Q2 2026

Read More
DSP-Transparency
Blog
March 24, 2026

Is Your DSP Pocketing 30% of Every Bid? How to Audit Your Stack for the April Deadline

Read More

Trusted by 1,500+ publishers worldwide

10X your ad revenue with our award-winning solutions.

Let's Talk

Close

Ready to 10X your ad revenue with the #1 ad management partner?

Start Now