Forum Moderators: martinibuster

Message Too Old, No Replies

All ads went missing today

google ads gone missing suddenly

         

ak4life

12:13 am on Jun 16, 2007 (gmt 0)

10+ Year Member



I signed with Adsense a few weeks ago, published the ads and everything was fine until I discovered today that there are no ads. Looking at the html source of the pages, I see that my Adsense modules are published, but no ads.

I tried three different web browsers and even called my friend to check if it's just my IP that's affected.

Logged into adsense, but don't see any errors or messages there regarding me banned, etc.

[edited by: martinibuster at 12:49 am (utc) on June 16, 2007]
[edit reason] Removed URL. See TOS [webmasterworld.com] [/edit]

timwestla

12:28 am on Jun 16, 2007 (gmt 0)

10+ Year Member



Your AdSense code is all smashed together on one line. Most of it will work that way, but you need to change your code

from this:
<script type="text/javascript"><!--google_ad_client = etc

to this:
<script type="text/javascript"><!--
google_ad_client = etc

Add a line break betwen the HTML comment and "google_ad_client"

ak4life

12:56 am on Jun 16, 2007 (gmt 0)

10+ Year Member



Thanks a lot for replying.

I went ahead and added a line break after every semicolon in the code for the module published on the front page, but that didn't make any difference, the ad is still not showing up..

timwestla

1:02 am on Jun 16, 2007 (gmt 0)

10+ Year Member



Your code is like this:
<script type="text/javascript">
<!--google_ad_client = etc

it needs to be like this:
<script type="text/javascript"><!--
google_ad_client = etc

ak4life

1:10 am on Jun 16, 2007 (gmt 0)

10+ Year Member



Wow, man, you're good. 8-]

That was it. Gee, I thought line breaks were just for human convenience.. I stand corrected.

thanks again for your help..