Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Google Adsense Block


Recommended Posts

Has anyone added a Google Adsense block to their store?


I would like to add it to the right column, but the javascript that it calls returns a php error. Here is sample Google code.

<script type="text/javascript"><!--

google_ad_client = "pub-0528940242xxxxx";

google_ad_width = 120;

google_ad_height = 600;

google_ad_format = "120x600_as";

google_color_border = "CACFCB";

google_color_bg = "FFFFFF";

google_color_link = "333333";

google_color_url = "000099";

google_color_text = "333333";


<script type="text/javascript"



Any idea how this snippet might be included?

Link to comment
Share on other sites

I don't have an error page because I am running a production site.


I receive a PHP Parse error at the first line that the snippet appears. Remember, this is goibg in the right column. The include file for the right column is wrapped in a PHP block. I think the issue has to do with the <javascript> inside the PHP block.


The effect I would like achieve is to have the "shopping cart" block on top, then display the GOOGLE skyscrapper banner vertically down the column...


Thank you in advance for any pointers!

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...