Why is My Adsense Publisher Code Displayed Instead of Ads

  • 1
  • Problem
  • Updated 8 years ago
I published my website over two days ago. The site has Google Adsense modules but only the Adsense publisher code is showing up on the live site. I have submitted my site to Google Webmaster along with a sitemap but have not been indexed yet. When can I expect to have my Google ads live?
my site is http://mcdonaldstoysburgerkingtoys.yo...
Photo of bookwise

bookwise

  • 1 Post
  • 0 Reply Likes
  • frustrated

Posted 8 years ago

  • 1
Photo of Emmy

Emmy

  • 5892 Posts
  • 299 Reply Likes
Hello bookwise,
I took a look and it looks like you have not added the right code for your Google AdSense units. The code should look something like this:

<!--

<script type="text/javascript"><!--
google_ad_client = "pub-858473737930596626";
/* 300x250, created 9/10/10 */
google_ad_slot = "1541464731";
google_ad_width = 300;
google_ad_height = 250;
//-->

-->

Can you go into your Google AdSense account and click on the "AdSense Setup" tab and go through the few screens to set up the Ads and you will get to a page that has your AdSense unit code on it that looks like the code above.

I hope this information is helpful. Let me know if you continue to have trouble with this.

Emmy