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   90612   1147  1.27%   368.00  0.32  4.06
20040314   94348   1091  1.16%   343.00  0.31  3.64
20040315   96948    987  1.02%   180.00  0.18  1.86
20040316   96512   1120  1.16%   260.00  0.23  2.69
20040317   97518    909  0.93%   353.00  0.39  3.62
20040318   93996    923  0.98%   161.00  0.17  1.71
20040319   93499   1010  1.08%   186.00  0.18  1.99

Hope you find it useful!

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