Google's Publisher-AdSense-ID Verification
In this demo:
pub-0000000000000000 is valid
pub-0000000000000001 is invalid
Copy&Paste pub-0000000000000000 (16 digits) and
click Scan
Copy&Paste the fake pub-ID
|
Scan pages for valid and invalid ID's: |
|
Use as is. No warranty implied. Installation Rename gpasid.txt -> gpasid.php Upload the gpasid.php to the dir you wish to start the scanning. If at the root type: http://www.yoursite.com/gpasid.php Enter your pub-nnnnnnnnnnnnnnnn (pub- plus sixteen digits) See results. ============================================ Customizing (not really necessary): 1. At around line 35 find: /* Uncomment line to exclude files */ Replace IgnoreThisFile# by a file name you wish to exclude. -------------------------- 2. At around line 42 find: /* Uncomment this line to exclude dirs */ Replace/add folder names you wish to exclude. -------------------------- 3. If you wish to skip any file: place <!-- SKIPTHIS --> anywhere on the top of the file. -------------------------- Testing I have tested the script in a shared Linux server, scanning 6000 pages
in 20 seconds at any time, even peak hours. -------------------------- Known issues: Timeout error. By default the PHP's timeout is set to 30 sec. Your site is too large, too slow, lacks of enough memory, is overcrowded etc. Solution Ask your provider to increase the timeout parameter at php.ini. They are so nice... Recommendation Do not run GPASID too often in a slow server For security purposes, delete the script from the server after using it. Will respond quetions as time permits That's all. |