ChrisCampbell Posted November 3, 2009 Posted November 3, 2009 I have tried adding the language provided by google and Free Web Directory with no luck. I turn on google AdSense and past in the html, but nothing shows. When I add the html from Free Web Directory in my footer, it comes up as the language written instead of the ad.
knifeman Posted November 3, 2009 Posted November 3, 2009 I have tried adding the language provided by google and Free Web Directory with no luck. I turn on google AdSense and past in the html, but nothing shows. When I add the html from Free Web Directory in my footer, it comes up as the language written instead of the ad. I put this in my footer: <CENTER><?php include(DIR_WS_INCLUDES . 'adsenseban.php'); ?></CENTER> Then create a file named adsenseban.php and upload to the includes folder. <?php if ($request_type == NONSSL) { /* only show adsense in NON SSL else it causes warning */ ?> <tr><td align="center"> <script type="text/javascript"><!-- google_ad_client = "pub-xxxxxxxxxxxx"; google_ad_width = 468; google_ad_height = 60; google_ad_format = "468x60_as"; google_ad_type = "text_image"; google_ad_channel =""; google_color_border = "B4D0DC"; google_color_bg = "ECF8FF"; google_color_link = "0000CC"; google_color_url = "008000"; google_color_text = "6F6F6F"; //--></script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script> </td></tr> <?php } ?>
Recommended Posts
Archived
This topic is now archived and is closed to further replies.