Adsense 2.0 problem!

Use this forum to ask questions about how to do things with my MediaWiki Extensions.
Post Reply
User avatar
gordons11
Rank 0
Rank 0
Posts: 3
Joined: December 23rd, 2008, 5:26 am

Adsense 2.0 problem!

Post 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?
User avatar
Paul
Development Team Leader
Development Team Leader
Posts: 1132
Joined: October 20th, 2007, 2:23 pm

Re: Adsense 2.0 problem!

Post by Paul »

Did you setup Adsense in Google properly?
User avatar
gordons11
Rank 0
Rank 0
Posts: 3
Joined: December 23rd, 2008, 5:26 am

Re: Adsense 2.0 problem!

Post 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:
.
User avatar
Paul
Development Team Leader
Development Team Leader
Posts: 1132
Joined: October 20th, 2007, 2:23 pm

Re: Adsense 2.0 problem!

Post by Paul »

IMO, this is more like setup problem ...
User avatar
gordons11
Rank 0
Rank 0
Posts: 3
Joined: December 23rd, 2008, 5:26 am

Re: Adsense 2.0 problem!

Post 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. :)
User avatar
Paul
Development Team Leader
Development Team Leader
Posts: 1132
Joined: October 20th, 2007, 2:23 pm

Re: Adsense 2.0 problem!

Post by Paul »

No problem, I will change the variable name to avoid the confusion.
User avatar
vantheo
Rank 0
Rank 0
Posts: 1
Joined: October 9th, 2009, 6:23 am

Re: Adsense 2.0 problem!

Post 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.
Post Reply