![]() |
Google AdSense Insertion I have the Classified site up and running almost. How do I insert my Google Adsense Code into the templates (.tmpl) ? Google gives me <script type="text/javascript"> <!-- google_ad_client = "pub-02688962xxxx"; /* 120x600, created 9/24/08 */ google_ad_slot = "5394xxxx"; google_ad_width = 120; google_ad_height = 600; //--> </script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script> This is the code in the template custom2pal.tmpl which is where I want the code to appear. I have cut and pasted the google code where is says, put the code here. The code appears in the source, that page takes a lot longer to load and nothing appears. Any suggestions? <?php echo<<<PPPRINT $ppopenside <tr> <td align="center" class="{$Style['menubar']}"> <span class="{$Style['medium']}"><b>Google Ads</b></span> </td> </tr> <tr> <td class="{$Style['tddetails']}" align="left"> <span class="{$Style['small']}">Put the code here.</span> </td> </tr> $ppcloseside PPPRINT; ?> |
Code: Content visible to verified customers only. |
Ok, I got it working finally. The real issue appears to be that the HOST file that I was using included 5 links to google related sites that are necessary to display google ads. Once I commented those lines out I was able to see the ads on my site. Thank you for your help. |
Not a problem glad you got it working |
| All times are GMT -5. The time now is 12:11 PM. |
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0