Answer the question
In order to leave comments, you need to log in
Adsence crawls into other people's iframes
The situation is simple - on the site a couple of frames and a couple of AdSense blocks are
the first manifestation - Adsense ads are shown in another Adsense block.
the second manifestation - advertising is shown in my iframe, spoiling all my raspberries :P
How can this be - I don't know, it appears relatively rarely, every 10-20 "F5".
Appears on various sites.
Google showed that I'm not the only one, nor did I find any solution or justification for the problem.
Who faced it?
Answer the question
In order to leave comments, you need to log in
1- open the Adsence code, most likely it does some kind of unsuccessful document.write
2- write to them, let them pick themselves
I had the same problem with disqus + Adsence. AdSense inserted ads into the disqus input field (there is an iframe). I cured it this way: I moved the disqus scripts to the end of the page for all AdSense calls. Try replacing the standard Google code (via document.write) with
<script type="text/javascript" src="http://www.google-analytics.com/ga.js"></script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-XXXXXX-X");
pageTracker._trackPageview();
} catch(err) {}</script>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question