This is a rather simple script that will create an RSS feed with your daily Adsense earnings, making it easy to track them via your regular feed reader.
Current version: 1.1 (24 april 2006)
Features
Multiply your income by 10 ! Become a 6 figure blogger ! No, just kidding :) There are no feature this time, except that you can specify how many feed items (i.e. days) you want to have.
Download
Get the script :
- rss-adsense.php (colorized html, copy & paste into a blank file but don’t download it : it’s colorized html, not code :)
- rss-adsense.txt (right click & save as .php)
Configure
Edit the script, and modify 4 lines at its beginning to suit your needs. Basically, you have to enter your Adsense login, password, the range of days you want to aggregate and a path to a temporary cookie file you shouldn’t even need to modify.
Upload
Upload the script to some secret location on your server, or rename it to some secret filename. Why secret ? Just because you don’t want anybody to see how much (or how few) you earn, and also because it is against Adsense Terms of Use to publicly display your Adsense results.
If you add it on a web-based RSS reader (Bloglines for example), be sure to mark it private.
FAQ
Q: Is it secure to enter my Adsense password in a script ?
A: It is, as long as no one can access the source of the script on your server (i.e. download the source file via FTP for example)
Q: Is it a malicious script that will send my password to you ?
A: Well of course. It will also guess your credit card number and post it on random forums all over the internet.
Q: What does Google think about this ?
A: They don’t care. Read the disclaimer below.
Q: What does the author of PHP Curl extension think about this ?
A: He thinks it’s way cool.
Disclaimer
Adsense Terms of Use regarding disclosure of your earnings vary from time to time. As of today, you cannot publicly reveal your daily income, Click Through Ratios and eCPM. If anyone else ever discovers and reads your feed, it will be your fault. Not mine :)
Adsense reports are not update real time, so there is no need to refresh your feed every 5 minutes. Set up a reasonnable refresh delay such as one hour minimum in your feed reader.
Release history
- 10/05/2005 : 1.0, initial release
- 04/24/2006 : 1.1, update by Chris Gibson when Google changed their query parameters. Thanks Chris !
Pages: « 1 [2] Show All
replied, on 29/Aug/06 at 2:44 pm # :
My email hast two dot : me.test@gmail.com
I get error. it do’t login in adsense.
wrote, on 31/Aug/06 at 5:02 am # :
Can you please make it display your total earnings? Thanks
thought, on 05/Oct/06 at 4:17 am # :
Great script, thank you!
I wonder if in the future we’ll see Reports for Personalized AdSense Criteria in the feed?
And, as Felix asked before me, total earnings?
Thank you again, and keep up the good work ;)
pingback on 30/Oct/06 at 5:28 pm # :
[...] Adsense earnings RSS feed - a simple script that will create an RSS feed with your daily Adsense earnings to track via your regular feed reader. [...]
commented, on 30/Oct/06 at 9:29 pm # :
Hi! The script seems to be great, however, it doesn´t seem to work for me. The output is just empty. Is it possible that Google changed the login process again?
Thanks for your help!
trackback on 05/Nov/06 at 2:03 pm # :
AdSense Verdienst RSS Feed
Dieses AdSense Earnings RSS Feed ist ein einfaches Script, das ein tägliches RSS Feed mit Ihren AdSense Einnahmen erstellt, um sie so einfacher nachverfolgen zu können:
http://planetozh.com/blog//my-projects/track-adsense-earnings-in-rss-fe...
pingback on 23/Nov/06 at 8:09 pm # :
[...] Editor Comment: I tested it, and here is mine version For RSS Feeds of Google Adsense earning, try Adsense Earnings RSS Feed [...]
pingback on 06/Dec/06 at 11:10 pm # :
[...] Adsense earnings RSS feed - Script qui crée un flux RSS vous permettant de suivre vos revenus dans votre lecteur de news préféré. [...]
pingback on 18/Dec/06 at 1:59 pm # :
[...] Adsense earnings RSS feed - a simple script that will create an RSS feed with your daily Adsense earnings to track via your regular feed reader. [...]
wrote, on 27/Apr/07 at 1:31 am # :
is there a way to run this script in safe mode since curl_setopt is blocked in safe mode?
commented, on 11/May/07 at 10:37 pm # :
I’ve been using this feed for a while now and love it. I’m also using the Sparklines hack. However, since Google has started changing the login page as well as some of the layout of the report, the RSS feed (and Sparkline) have been acting weird (like giving the wrong values. Is anyone else notice this or have a work around? Thanks!!!
thought, on 16/May/07 at 11:36 am # :
This has been a great plugin, thanks for developing it! Unfortunately, I moved to a new host last month and now the script is broken. :(
I get this error:
Warning: curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set in /home/rtatum/public_html/blog/bras.php on line 77
I have other tools that use CURL, such as TanTanNoodles, which grabs stats from Google Analytics, or the BDPRSS Aggregator, which grabs feeds. They work fine, but this one doesn’t any more. My host provider says:
I know you’re not supporting this plugin, but I’m hoping somebody out there has already experienced this problem and figured out a workaround.
Rich
Contact
BlogRodent
said, on 10/Jun/07 at 7:39 am # :
:: thump, thump, thump ::
Anybody there?
Rich
BlogRodent
replied, on 10/Jun/07 at 9:57 am # :
Rich » I guess you’re stuck…
pingback on 29/Jul/07 at 2:56 am # :
[...] Click here to visit Adsense Earnings RSS Feed site [...]
pingback on 12/Oct/07 at 1:03 am # :
[...] PHP Adsense RSS feed generator [...]
commented, on 15/Nov/07 at 1:17 am # :
Does this script still work? I got parse errors on line 117, about mktime() needing a long for args 4 and 5.
Debugging, it looks like it’s not accepting my login credentials at the AdSense site — I get the login page again (with the message “Invalid email address or password”) as the $result of the curl retrieval. Thoughts?
said, on 13/Jan/08 at 4:08 am # :
is there any support available for buggs? Please shoot me an email. Thanks in advance.
commented, on 16/Feb/08 at 10:18 pm # :
Looks like Google changed their login for Adsense and this no longer works.
replied, on 25/Mar/08 at 9:54 am # :
Any plans to get it working again with the new Adsense?