Sunday, 31 October 2010

If Google Adsense doesn't display in templates ,here is the tip for you

Some of you complaint that Google Adsense can't display in my templates (especially Simplex Newspaper 2) . The reason is in the ad code ,with less than 1 minute ,you can make ad show as normal .
google adsense tip


Here is the code you receive from Google Adsense
<script type="text/javascript"><!--
google_ad_client = "xxxxxx";
/*xxxxxxxxxxxxxx */
google_ad_slot = "xxxxxxxx";
google_ad_width = xxxxxx;
google_ad_height = xxxxxxx;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>

To make Ads show up , just remove <!-- and //--> from the code above , like this one
<script type="text/javascript">
google_ad_client = "xxxxxx";
/*xxxxxxxxxxxxxx */
google_ad_slot = "xxxxxxxx";
google_ad_width = xxxxxx;
google_ad_height = xxxxxxx;

</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
Save template and the ad will show as normal .

-With template Simplex Transcript ,if you add three adsense in home page ,the ads in single page will not displayed .To fixed this problem ,you can remove one adsense block in home page .And the ads will show in single page .The reason is in the way how Simplex Transcript work .When you entered a single page ( a specific post ) ,the home page is still loaded first and then hidden by CSS code, after that ,single post is loaded .So it will load 3 adsense code in homepage first and then load adsense code in single page . Because Google allow only 3 Adsense code in one page only ,but in this case ,you have 4 adsense code in line . So the 4th adsense code in Single page will not be displayed ^^
If you followed my instruction ,but the ads doesn't show up , I'm sorry , I can't help you further because this problem is not in my templates .This is what I said to Spluch before and now I want to write it down again : It's Google Adsense issue .
Many people are facing this error when Adsense show only blank frame ,no ads ,no PSAs ...
You can follow topics on this problem on SEORoundtable, webmasterworld, DigitalPoint and Google Group discussions thread here ,here , here ,and here the latest.
There are many reason given by users,but none of them are true ,I think .Search and contact Google support are the best solution I have for you if you are in this case .

5 comments:

  1. There are problems with the Simplex Photography2 template, the images will not load and stays on "Loading". It does nothing more.

    Please update your files.

    Thanks!

    ReplyDelete
  2. I`am Using friend connect to show adsense, it worked find until today it does not appears anymore...

    ReplyDelete
  3. Boa Tarde, eu sou do Brasil. Gostei muito do seu trabalho. Estou com dificuldades para exibir os anúncios do Adsense no Post único, os espaços ficam em branco, já fiz o que você ensina no post acima, mas mesmo assim não dar certo.
    meu blog é www.conexaobrasilhiphop.com

    ReplyDelete
  4. thanks for sharing, let me try this ;)

    ReplyDelete
  5. hello changing the Google ad code is against the Google Adsense TOS?

    ReplyDelete