Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

banner not working for google ads?


henryq

Recommended Posts

Hi,

I have Google Adsense account, and would like to change the banner at the bottom of every page to the Google ad code. However, when I put those code (see below) in the Banner Manager -> HTML Text field, the ads won't show at the bottom of page. In fact, there is nothing at all. But when I use the "View Banner" icon beside the banner listing, I can see the ad showing fine in the small pop-up window. So what's going on? I appreciate any help!

Henry

 

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

google_ad_client = "pub-xxxx";

google_ad_width = 728;

google_ad_height = 90;

google_ad_format = "728x90_as";

google_ad_type = "text_image";

google_ad_channel ="";

//--></script>

<script type="text/javascript"

src="http://pagead2.googlesyndication.com/pagead/show_ads.js">

</script>

Link to comment
Share on other sites

I just got it!!! It's in the footer.php. It's set to the original banner group, which is called "528x50". It doesn't change automatically to whatever banner group you create. So just change this name, and it will display!

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...