I have added the info into the localsettings file (include_once('extensions/GoogleAdSense/GoogleAdSense.php');). And have added my info into the ID area:
Code: Select all
$PUBLISHER_ID = "pub-NOT TELLING";
Code: Select all
$ADSENSE_UNITS = array(
// Text and image ads - 728x90
'C01' => array('unitID' => 'xxx', 'width' => '728', 'height' => '90', 'position' => 'none'),
// Text and image ads - 728x90
'C02' => array('unitID' => 'xxx', 'width' => '728', 'height' => '90', 'position' => 'none'),
// Text and image ads - 728x90
'C03' => array('unitID' => 'xxx', 'width' => '728', 'height' => '90', 'position' => 'none'),
// Text ads - 728x90
'C04' => array('unitID' => 'xxx', 'width' => '728', 'height' => '90', 'position' => 'none'),
// Ad links - 728x90
'C05' => array('unitID' => 'xxx', 'width' => '728', 'height' => '90', 'position' => 'none'),
// Text and image ads - 234x60
'C06' => array('unitID' => 'xxx', 'width' => '234', 'height' => '60', 'position' => 'none'),
// Text and image ads - 120x600
'C07' => array('unitID' => 'I PUT THE 10-DIGIT NUMBER HERE]', 'width' => '120', 'height' => '600', 'position' => 'right'),
// Search your domain - 400x29
'S01' => array('unitID' => 'xxx', 'width' => '400', 'height' => '29', 'position' => 'none'),
// Search web - 400x29
'S02' => array('unitID' => 'xxx', 'width' => '400', 'height' => '29', 'position' => 'none'),
// Video Unit - Auto - 488x485
'V01' => array('unitID' => 'xxx', 'width' => '488', 'height' => '485', 'position' => 'none'),
// Video Unit - Entertainment - 488x485
'V02' => array('unitID' => 'xxx', 'width' => '488', 'height' => '485', 'position' => 'none'),
// Video Unit - Sports - 488x485
'V03' => array('unitID' => 'xxx', 'width' => '488', 'height' => '485', 'position' => 'none'),
);
Oh, I also tried renaming the ad in google ad management to "C07".
I am running MediaWiki version 1.14.0, could that be the issue?