Adsense Code Problem.
-
Hi. I’m trying to get my adsense code to appear at the beginning of every post with the text wrapped around it to the left. I’m using this code:
<div style=”display:block;float:left;”>
<script type=”text/javascript”><!–
google_ad_client = “-excluded-“;
google_ad_width = 300;
google_ad_height = 250;
google_ad_format = “300x250_as”;
google_ad_type = “text_image”;
//2007-04-17: Lifecrafting Main Post Ad
google_ad_channel = “-excluded-“;
//–>
</script>
<script type=”text/javascript”
src=”https://pagead2.googlesyndication.com/pagead/show_ads.js”>
</script>
</div>My problem is that for some of my posts, for what reason I don’t know, the ad appears twice on the page, one below the other. I’ve tried placing the ads in the single page and index files.
You can see this happening here
and not happening here
. Anyone know what’s going on? How do I get one ad to appear on the main blog page and on every single page?Thanks for your time.
- The topic ‘Adsense Code Problem.’ is closed to new replies.