Wrote a small Perl script, which logs in to AdSense account, reads "today" earnings, and emails it to specified address. The amount is in subject and in body. This can be used to send SMS reports to (your) cellphone via email2sms services which all US mobile carriers offer for free. I wrote it because I wanted such notifications, but then found out that because incoming text messages are free here (im not in US), mobile carriers don't provide this service. I can't use it for what I wanted, but I figured it should collect "dust" on my hard drive.. The script with install notes is attached. It's Perl script intended to be run from Cron. If you can find a use for it - enjoy!
Thanks for the script, why dont you upload it to softpedia so that it will increase the scripts reliability.
In short, because I don't want to support it (because, as described above, I can't use it myself for what I wanted). In long: (a) there's no reliable, in terms of lifetime, way to login to AdSense - the API provided only available to accounts with over 100,000 daily pageviews. i have 3000 on my good days so the script relies on current login URL, which will change in the future (b) the script also relies on current web page elements to find earnings, and also on the fact that the site is not much AJAXified. when this changes, the script will have to change. Those are the reasons I stopped at simply getting today's earnings and emailing it. Otherwise some useful analytic scripts could be built for adsense. Bad thing - all this eventually will change and script will have to be updated. Good thing is all this stayed consistent for a long time.
That is good, reliability i mean by that your code dont have any malware (users will suspect always ) But your job is fantastic and thanks for giving it generously.
thanks., The message you have entered is too short. Please lengthen your message to at least 10 characters.