Topic on Extension talk:Google AdSense

Can't get Adsense Extension to work.

7
Gomez Adams 67 (talkcontribs)

I can not get this to work at all. Brand new install of 1.35.

The Version page shows the extension installed and working. Here are my entries in the LocalSettings.php file:

$wgGoogleAdSenseClient = "ca-pub-xxxxxxxxxxxxxxxxxxxxx";

$wgGoogleAdSenseSlot = 'WikiSidebar';

$wgGoogleAdSenseWidth = 120;

$wgGoogleAdSenseHeight = 240;

$wgGoogleAdSenseSrc = '//pagead2.googlesyndication.com/pagead/show_ads.js';

$wgGoogleAdSenseID = 'none';

$wgGoogleAdSenseEncoding = "utf8";

$wgGoogleAdSenseLang = "en";


Absolutely nothing happens. I've tried the different skins installed and nothing shows up, not even the 'Adsense' title in the side bar.


Any help would be greatly appreciated.

WikiForMen (talkcontribs)

May be you configured your browser to block ads?!?? In this case absolutely nothing will happen. ;-) --WikiForMen (talk) 21:06, 17 May 2021 (UTC)

WikiForMen (talkcontribs)
Gomez Adams 67 (talkcontribs)

Of course my browser isn't set to block ads.

I tried your WimaAdvertising plugin and it works for top and bottom but not the sidebar. Is there any way to get rid of the "advertising" word and the black box outline? I'd rather just have the ads there without that.

Thanks!

WikiForMen (talkcontribs)

Using WimaAdvertising you should add AD1 into the MediaWiki:Sidebar! Please read the "Use" part! You can set your own CSS style specifications at $wgBannerTopStyle. --WikiForMen (talk) 11:09, 19 May 2021 (UTC)

Gomez Adams 67 (talkcontribs)

Thanks! I'm new to this and learning as I go. That did the trick!

WikiForMen (talkcontribs)
Reply to "Can't get Adsense Extension to work."