generic cialis
Home » Archive

Articles in the AdSense Category

AdSense »

[6 Dec 2008 | No Comment | ]

Problem
Anyone that runs AdSense knows that YOU MUST NEVER CLICK ON YOUR OWN ADS. Now there’s a very slim chance you might one day accidentally click on an ad, which – if they are in a bad mood – might cause Google to suspend your account, or even remove it.
Solution
This is where the ‘google_adtest’ variable comes in handy. If you add this PHP code to your AdSense block…
<?php
if ($_SERVER["REMOTE_ADDR"]==”XXX.XXX.XXX.XXX”) {
echo “google_adtest=’on’;\n”;
}
?>
…just above the ‘google_ad_client’ variable, substituting ‘XXX.XXX.XXX.XXX’ for your home/workplace IP address, whenever you view pages with these …