Quote:
Originally Posted by chuckroast I'm guessing you are all getting this error beceause you didn't move the adsense_function.php file into the /plugins folder as per the instructions in the readme. |
This is my code in httpdocs/templates/yget/show_ads.tpl
but show in my website this id pub-7688534628068296 ads...
<center>
<br />
{adsense assign=users_adsense}
{if $users_adsense}
{* this part shows the users adsense id *}
<script type="text/javascript"><!--
google_ad_client = "{$google_adsense_id}"; {* dont change this line *}
google_alternate_ad_url = "";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text";
google_ad_channel ="{$google_adsense_channel}"; {* dont change this line *}
google_color_border = "ffffff";
google_color_bg = "ffffff";
google_color_link = "330066";
google_color_text = "000000";
google_color_url = "330066";
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
{else}
{* this part shows your adsense id *}
<script type="text/javascript"><!--
google_ad_client = "pub-8333014526344824"; {* be sure to put your adsense id here *}
//OnlineEquityCalls.com : Google-Adsense 468x60
google_ad_slot = "8824235956";
google_ad_width = 468;
google_ad_height = 60;
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
{/if}
</center>