Quick summary report

29 views
Skip to first unread message

Toruk Makhto

unread,
Jun 28, 2012, 6:35:04 AM6/28/12
to adsen...@googlegroups.com
Hi,

Is there a way to get a quick summary of the details such as

1. Today's earnings
2. Last 7 days earnings
3. Last 30 days earnings
4. All time earnings, cpc etc
etc

like the ones shown in the adsense homepage. I'm currently downloading the entire
data of an account and this takes up a lot of bandwidth. Also, I get values that are slightly
off between the months and days(due to invalid clicks taken into account, I think) from the ones in the adsense website.
For example, the total earnings from the individual months does not match all time totals. It is off by one cent.

I can reduce the bandwidth and also get exact results as in the adsense site by splitting it into 3 requests for the day, week and month but
since my application will run every hour and will have many users(hopefully), I could
exhaust my quotas. So this isn't feasible.

Thanks in advance.

Sérgio Gomes

unread,
Jun 28, 2012, 10:52:27 AM6/28/12
to adsen...@googlegroups.com
Hi Toruk,

I'm afraid there's no way to aggregate all those reports into a single request.

Is there any way you can reduce the frequency at which you run reports? Since the earnings you're getting seem to be on a daily basis at most, perhaps you can try running it just once a day.

In case that's not possible, you can at least reduce the number of requests by not running the longer period reports every hour.

As for invalid clicks, yes, these are things that are calculated up to a day or two after the click event, so you'll need to periodically update your data to make sure you get correct values.

Cheers,
Sérgio

---
Sérgio Gomes
Developer Relations

Google UK Limited
Registered Office: Belgrave House, 76 Buckingham Palace Road, London SW1W 9TQ
Registered in England Number: 3977902


---

Toruk Makhto

unread,
Jun 28, 2012, 12:35:18 PM6/28/12
to adsen...@googlegroups.com
Hi Sérgio,

I'll try and reduce the requests that I make and ensure that it runs in longer durations. The reason I
wanted to run it hourly was so that it would automatically show notifications periodically without
users having to refresh their stats(which can become an addiction if unchecked :) ).

It'd be great if you could consider adding the quick stats api call feature for the next version of the Adsense API.

Thanks for the fast reply.

Sérgio Gomes

unread,
Jun 29, 2012, 11:05:51 AM6/29/12
to adsen...@googlegroups.com
Thanks, Toruk, I'll talk to the engineering team about a "quick report" feature!

Cheers,
Sérgio

---
Sérgio Gomes
Developer Relations

Google UK Limited
Registered Office: Belgrave House, 76 Buckingham Palace Road, London SW1W 9TQ
Registered in England Number: 3977902


---
On Thursday, June 28, 2012 11:35:04 AM UTC+1, Toruk Makhto wrote:
Reply all
Reply to author
Forward
0 new messages