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   97750   1142  1.17%   120.00  0.11  1.23
20040314   91387   1172  1.28%   150.00  0.13  1.64
20040315   92847    947  1.02%   226.00  0.24  2.43
20040316   99360   1073  1.08%   218.00  0.20  2.19
20040317   96734   1040  1.08%   290.00  0.28  3.00
20040318   90200   1197  1.33%   165.00  0.14  1.83
20040319   96835   1184  1.22%   198.00  0.17  2.04

Hope you find it useful!

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