Welcome to WebmasterWorld Guest from

Forum Moderators: incrediBILL & martinibuster

Message Too Old, No Replies

Editting the Adsense Code



1:51 am on Jan 23, 2005 (gmt 0)

10+ Year Member

I know it is against the TOS to edit the code. However, the " <!-- " and " //--> " parts of the script are causing it not to play in firefox when I paste it into my CMS's templates.

<script type="text/javascript"><!--
google_ad_client = "XXXXXXXXXXXXX";
google_ad_width = 160;
google_ad_height = 600;
google_ad_format = "160x600_as";
google_ad_channel ="";
google_color_border = "FFFFFF";
google_color_bg = "FFFFFF";
google_color_link = "000000";
google_color_url = "666666";
google_color_text = "3466A5";
<script type="text/javascript"

I was wondering if anyone else have had this problem and if they had gotten any permission from google to make this trivial change to make the script work.


3:39 am on Jan 23, 2005 (gmt 0)

10+ Year Member

The standard answer will be, "Email Google and ask".

But I imagine the issue is coming from your CMS not wanting to put that stuff in the database. I seem to remember the *Nukes not wanting to do this.

Is there a way to put the AdSense code in a file and just include the file where you want AdSense displayed?


5:06 am on Jan 23, 2005 (gmt 0)

10+ Year Member

Thanks, I emailed google.

I guess it just gives me chance to play with adsonar. :-)


Featured Threads

Hot Threads This Week

Hot Threads This Month