Extension talk:GoogleAdSense

extension is not very customizable for google adsense.. i.e. you can't easily change the client id and channel. It appears that the author has embedded his own information

Not very easy to use or flexible
I must say this is a horrible extension. Not very flexible or easy to use. Neither much documentation given. -- Kirjapan 19:59, 1 March 2007 (UTC)

I have no problems at all with this extension, it works perfectly and is easily customisable. There is only one request - how can i modify my theme to include an ad at the top of each page? - Coyoteboy


 * I've just started using this on my wiki. I was wanting to put the search in a template and use so that the search bar would automatically offer to search on the page's subject. The problem is that the google tags will not take functions or template parameters: they show up as unparsed text. Is there any way around this behaviour? — Garzo 21:59, 23 August 2007 (UTC)

I cant understand the whole channel thing
someone please can explain to me what's the channel id? and from where i take it?

and i tried to put some ads the i customize in adsense and i cant get to work with my perefences. and another thing is that i created in the adsense a custom search and i couldnt connet to that specific search? i mean the search you create with google adsense.

thanks

--Goan 19:26, 11 May 2008 (UTC)


 * You create a channel on Google's Adsense website. It will generate an ID for you.  If you are using v1.7 of the extension, you then put that ID into the file settings.php.  For example:


 * // Your Client ID, which is from Google Adsense
 * $clientID = "pub-999999999999999"; <======= Replace with your ClientID here


 * // Your Channel ID, which is from Google Adsense
 * $channels = array(
 * 'REF' => '9999999999',  <========= Replace with any Referral ID you have
 * 'WIKI' => '9999999999'  <========= Replace with your channel name and ID


 * Lastly, be sure that in the GoogleAdSense.php file, that the line that looks like this $output = gAdSenseforContent728($clientID, $channelID ); is referencing the size-type of ad you are using.


 * Version 2.0 seems to work differently. There is no settings.php file needed. When I tried this version, it did not seem to populate the channels array with the one that I had created at the Google AdSense website (ie. the one named WIKI).  I found a way around this by adding and additional else/if statement like this after line #73 in GoogleAdSense.php:


 * } else if ($input == "WIKI") {
 * $output .= gAdSenseforContent728($input);

search in customize adsense search
so i tried to add to my site the costumize search thing which googlr provides and couldnt do it on the regular way which says to put:

the search does appear but not the costumize search that i configured in adsense. so i wirked it out that you need to change the adsense PHP file in order to make it work. you need to change the function which refer the search to the code that provided to you by google.

so the develpments need to work it out or i can add a little addtion to the project by explaining it.

--Goan 16:41, 26 May 2008 (UTC)

how to show the results of the adsense search in wiki page?
how to show the results of the adsense search in wiki page?