Page 1 of 1

Adsense 2.0 problem!

Posted: December 23rd, 2008, 5:43 am
by gordons11
thnx for this great extension
i've installed Adsense 2.0 but it don't work on my site adsense for search and you tube works fine but AdSense for Content don't appear on my site. . i get only this message
>>>[img]res://ieframe.dll/info_48.png[/img] The webpage cannot be found<<<
i've seen the other posts here in forum and done everything but it still dont work :(
i've changed client ID and channel id
$CLIENTID = "pub-xxxxxxxxxxxxxxxx"; // Your Client ID

$CHANNELS = array( // Your Channel ID
'CH01' => 'xxxxxxxxxx',
'CH02' => 'xxxxxxxxxx',
'CH03' => 'xxxxxxxxxx'

includet this in LocalSettings.php:
include_once('extensions/GoogleAdSense/GoogleAdSense.php');


What should I have done wrong?

Re: Adsense 2.0 problem!

Posted: December 27th, 2008, 8:18 pm
by Paul
Did you setup Adsense in Google properly?

Re: Adsense 2.0 problem!

Posted: December 29th, 2008, 2:45 pm
by gordons11
I think i have done correctly cuuse I have other sites and know to use it but I m new in wiki.
Maybe I should quit :cry: :cry: :cry: :cry:
.

Re: Adsense 2.0 problem!

Posted: December 29th, 2008, 11:45 pm
by Paul
IMO, this is more like setup problem ...

Re: Adsense 2.0 problem!

Posted: December 30th, 2008, 4:12 am
by gordons11
I fixed it
I think the right thing should be
$CHANNELS = array( // Your slot ID not
$CHANNELS = array( // Your Channel ID

When I entered the slot Id instead of channel ID it worked.
This will confuse people.

Any way thanx for this nice extansion. :)

Re: Adsense 2.0 problem!

Posted: January 1st, 2009, 10:37 pm
by Paul
No problem, I will change the variable name to avoid the confusion.

Re: Adsense 2.0 problem!

Posted: October 9th, 2009, 6:35 am
by vantheo
Hello,

There is a problem in a channel try to get the code again look for the error, It will work try it.