Home Android Apps Web Projects Webmaster Tools Software Andrew's Blog  
Perl script to download and parse AdSense statistics

This is a standalone perl script based on the code used in the AdSense extended reporting on this site. Shows reports on standard output or generates a .CSV file with PPC, EPM and impressions per $100 calculations.

The script is distributed for free, use at your own risk, no support is provided. Redistribute freely in original unmodified form. If you build a web accessible service based on the code or ideas of this script, please link back to this page. Please contact the author if not sure.

Download the script:

adsense-reports.pl

Sample output (not real data, some randomly generated values):

bash# perl adsense-reports.pl --random
Date       Impr. Clicks    CTR Earnings   PPC   EPM
20040313   94366   1014  1.07%   306.00  0.30  3.24
20040314   94513   1095  1.16%   372.00  0.34  3.94
20040315   91908    914  0.99%   234.00  0.26  2.55
20040316   94954    994  1.05%   392.00  0.39  4.13
20040317   93033   1074  1.15%   113.00  0.11  1.21
20040318   93577    950  1.02%   336.00  0.35  3.59
20040319   96038   1180  1.23%   334.00  0.28  3.48

Hope you find it useful!

Copyright © 2003-2017 Ejelta.com
Contact Ejelta.com