Adsense 2.0 Text and image ads problems.

Use this forum to ask questions about how to do things with my MediaWiki Extensions.
User avatar
ChevronX
Rank 1
Rank 1
Posts: 7
Joined: September 2nd, 2008, 8:53 am

Adsense 2.0 Text and image ads problems.

Post by ChevronX »

Hey guys.

I am currently setting up Adsense 2.0 (Thanks alot Paul for your hardwork with this plugin. other alternatives I tried did not work)

But I am running into problem that are probably very easy to fix.

I am wanting to have a Adsense Unit in my Navigation bar. However I cannot seem to get it to work (Although the Youtube/Google Search parts seem to be working fine.

The page I am currently trying it all out on is:

http://www.techdrive.co.nz/index.php?ti ... ki:Sidebar

In Google Adsense Control panel I have made a 125x125 ad with colors and rounded buttons matching my wiki's design(Adsense no of 1333804702). However I cannot seem to get this to work properly and need your help. Thinking it was a content probably like it couldn't scan the content of the page for relevant ads I posted this on an actual content page and after half an hour still did not work.

This is the code I currently have in the page to test:

<google>WIKI</google>
<google>REF</google>
<google>Techdrive.co.nz</google>
<google>CH04</google>
<google>CH03</google>
<google>CH02</google>
<google>YOUTUBE</google>

As you can see the WIKI Google Search one is working. However the REF one which I believe is the content ad I am trying to get working is just blank. Also CH03 and CH02 seem to not be working. Yet the YOUTUBE one seems to work fine.

Any thoughts?
User avatar
Paul
Development Team Leader
Development Team Leader
Posts: 1132
Joined: October 20th, 2007, 2:23 pm

Re: Adsense 2.0 Text and image ads problems.

Post by Paul »

Have you defined the REF, CH02, CH03... in the extension, also you need to setup these channel in Google Adsense site as well ...

You are the first one who put ads on sidebar page ... have you tried this in regular article?
User avatar
ChevronX
Rank 1
Rank 1
Posts: 7
Joined: September 2nd, 2008, 8:53 am

Re: Adsense 2.0 Text and image ads problems.

Post by ChevronX »

Well I wanted it in the sidebar to be unobtrusive to the rest of the site.

I have tried it in some content pages.

At the moment I have the following in GoogleAdsense.php:

$CHANNELS = array( // Your Channel ID
'CH01' => 'TechDrive.co.nz',
'CH02' => 'TechDrive.co.nz',
'CH03' => 'TechDrive.co.nz'
);


Do you think this is a problem?
User avatar
Paul
Development Team Leader
Development Team Leader
Posts: 1132
Joined: October 20th, 2007, 2:23 pm

Re: Adsense 2.0 Text and image ads problems.

Post by Paul »

The "TechDrive.co.nz" is not channel ID, which is generated by Google Adsense ...
User avatar
ChevronX
Rank 1
Rank 1
Posts: 7
Joined: September 2nd, 2008, 8:53 am

Re: Adsense 2.0 Text and image ads problems.

Post by ChevronX »

Im sorry but I am having trouble getting this. I went into Google Adsense control panel and found the channel id no is 5808790896.

I went into GoogleAdSense.php and changed too:

'CH01' => '5808790896',

I then went into my Mediawiki page and set it as:

<google>CH01</google>

Still doesn't seem to be working for me.

Thanks for the help too. I know its probably something simple I just cant figure it out.
User avatar
ChevronX
Rank 1
Rank 1
Posts: 7
Joined: September 2nd, 2008, 8:53 am

Re: Adsense 2.0 Text and image ads problems.

Post by ChevronX »

Any ideas?
User avatar
Paul
Development Team Leader
Development Team Leader
Posts: 1132
Joined: October 20th, 2007, 2:23 pm

Re: Adsense 2.0 Text and image ads problems.

Post by Paul »

Try to edit the page with the extension to reload the updated extension, make sure you clean the browser cache.
User avatar
Hoiol
Rank 0
Rank 0
Posts: 3
Joined: November 23rd, 2008, 5:35 pm

Re: Adsense 2.0 Text and image ads problems.

Post by Hoiol »

I have exactly the same problem!

How did you solve it?


Apreciate your help! Thanks!
User avatar
ChevronX
Rank 1
Rank 1
Posts: 7
Joined: September 2nd, 2008, 8:53 am

Re: Adsense 2.0 Text and image ads problems.

Post by ChevronX »

I didn't sorry.

Im sure it is something simple but can't figure it out.
User avatar
Paul
Development Team Leader
Development Team Leader
Posts: 1132
Joined: October 20th, 2007, 2:23 pm

Re: Adsense 2.0 Text and image ads problems.

Post by Paul »

Use IE to test this ...
Post Reply