AdSensePHP Test Mode
Version 0.7 of the AdSensePHP Lite script introduces a test mode, which is on by default. When test mode is enabled, AdSensePHP doesn’t generate any AdSense code. Instead, it generates a block of HTML that is the exact width and height of the link or ad unit that would normally be generated and that uses the same color palette the unit would use. Here’s an example of a half-banner in test mode:
|
AdSensePHP Test Mode |
Click the link and you’ll be sent to this page.
Turning Off Test Mode
Once you’re happy with the layout of your site/blog, turn test mode off by editing the adsensephp-lite.php file. Find this line:
$adsensephp_testmode = true;
And change it to:
$adsensephp_testmode = false;
That’s all you need to do!
For more information about why you’d want to use AdSensePHP’s test mode, see How Test Your AdSense Layouts.
