Extension talk:Google AdSense/LQT Archive 1

Different placement for ads
Is it possible to add the option to show the ads like this? (above & below page content).--Alnokta 18:37, 14 October 2008 (UTC)
 * I think other Google AdSense extensions allow that type of behaviour. This extension however, was specifically designed to add AdSense but do it as unobtrusive as possible. Siebrand 00:26, 17 November 2008 (UTC)

Usergroups
Can this extension be restricted to only show ads to guests? --Resplendent 17:22, 29 October 2008 (UTC)
 * Not without a change in the code. I'd be happy to apply a patch if you make it configurable with a global like $wgGoogleAdSenseAnonOnly, default set to false. Siebrand 00:24, 17 November 2008 (UTC)
 * hi, im another user and I would really love that sort of feature. 203.122.240.118 10:17, 24 November 2008 (UTC)
 * Can now  to only show it to anonymous users. Siebrand 01:19, 27 November 2008 (UTC)

Sample Data Request
I am new to Google Adsense. Sorry if this is a dumb question. For the client name, is that my name? For the AdSense Slot, I am assume that is the number associated with the ad and the AdSenseID starts with pub-?

Thanks.
 * See example config below as we use it on translatewiki.net. siebrand 22:17, 5 January 2009 (UTC)

require_once( "$IP/extensions/GoogleAdSense/GoogleAdSense.php" ); $wgGoogleAdSenseClient = 'pub-8440046403419693'; $wgGoogleAdSenseSlot = '9240280893'; $wgGoogleAdSenseID = 'translatewiki-2';

AdSense Client and AdSense ID
This extension currently isn't working for me. I logged out, cleared my cache and refreshed but the ads don't show up. I'm not entirely sure if I have the AdSense Client and AdSense id correct. Your AdSense client should be pub-XXXXXXXXXXXXXXXX, but what should your id be? The same format? Or where can I find this number?
 * In your adsense account you can find the HTML/JS to add to your page. You can extract the required text from there. See above for a working config example. siebrand 19:01, 3 February 2009 (UTC)