I have plugin for community builder for joomla. And that plugin allow me to show users adsense on their page. I looked at that script code and I found this <script type="text/javascript"> google_ad_client = \"". $user->cb_publisherid ."\"; google_ad_slot = \"". $user->cb_googleadslot ."\"; google_ad_width = 468; google_ad_height = 60; </script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script> PHP: But this doesnt work. Can you help me?
make sure you put the correct user publisher id and ad slot in your plugin config. Because it is expecting the value of those. Otherwise, just copy and paste your adsense code directly into your template.