Newbie questions for Google Adsense Setup

If you are having problems with my MediaWiki Extensions, post here.
User avatar
coolgreany
Rank 1
Rank 1
Posts: 9
Joined: February 22nd, 2009, 10:01 am

Re: Newbie questions for Google Adsense Setup

Post by coolgreany »

Paul wrote:If you just setup the Adsense in Google, don't expect it appear right away, sometime, it takes days to show up ...
The Adsense was setup a year ago and has been/is working on other pages - just not the Wiki page.

Have I copied the code (pasted above) correctly? Is there any other ID (CLIENT, CHANNEL or otherwise) that I should be using?
User avatar
Paul
Development Team Leader
Development Team Leader
Posts: 1132
Joined: October 20th, 2007, 2:23 pm

Re: Newbie questions for Google Adsense Setup

Post by Paul »

No other IDs are needed...

To verify, view the source code of the page to verify if the Google Adsense script gets generated?
User avatar
coolgreany
Rank 1
Rank 1
Posts: 9
Joined: February 22nd, 2009, 10:01 am

Re: Newbie questions for Google Adsense Setup

Post by coolgreany »

Ok, so I just did some experimentation and tried the AdSense unit instead of the "Channel ID" (as the script requires) and it works!!!!

How are you guys getting it to work using the Channel ID? If it's really the AdSense unit ID I recommend the code be changed to make this clearer - just took me a week to figure it out!
User avatar
Paul
Development Team Leader
Development Team Leader
Posts: 1132
Joined: October 20th, 2007, 2:23 pm

Re: Newbie questions for Google Adsense Setup

Post by Paul »

Thanks for feedback, I will review the extension and fix them if needed... :D

Plus I will add other type of ads too...
User avatar
coolgreany
Rank 1
Rank 1
Posts: 9
Joined: February 22nd, 2009, 10:01 am

Re: Newbie questions for Google Adsense Setup

Post by coolgreany »

Thanks, still curious to know how fols are getting the "Channel ID" to work in the php file!
User avatar
azahar
Rank 1
Rank 1
Posts: 7
Joined: February 23rd, 2009, 12:58 pm

Re: Newbie questions for Google Adsense Setup

Post by azahar »

coolgreany, Please can you eloborate on what you did to get it your working?
many thanks
User avatar
azahar
Rank 1
Rank 1
Posts: 7
Joined: February 23rd, 2009, 12:58 pm

Re: Newbie questions for Google Adsense Setup

Post by azahar »

OK finally working, mostly. In the GoogleAdSense.php file, you need to use the AdSense Unit IDs in the config, and NOT the Channel ID. This is what is confusing and the code needs to be re-written to reflect this.
User avatar
Paul
Development Team Leader
Development Team Leader
Posts: 1132
Joined: October 20th, 2007, 2:23 pm

Re: Newbie questions for Google Adsense Setup

Post by Paul »

I'm working on the fix now and the new release will cover this, also I will include the new Google custom search as well.

Thanks everyone for comments.
User avatar
coolgreany
Rank 1
Rank 1
Posts: 9
Joined: February 22nd, 2009, 10:01 am

Re: Newbie questions for Google Adsense Setup

Post by coolgreany »

azahar,

Yes, that was the fix. Seems like it's an easy/quick fix to be made to the down loadable php file so others can avoid the same problem in future.

Paul,

please let us know when you get the other improvements!
User avatar
Paul
Development Team Leader
Development Team Leader
Posts: 1132
Joined: October 20th, 2007, 2:23 pm

Re: Newbie questions for Google Adsense Setup

Post by Paul »

Sure, I will let you know if I release the new version.

Also, please feel free to continue commenting on it or reporting any bug, this will give me an excuse to upgrade it :lol:
Post Reply