API User Usage Report: Inconsistent Reporting

112 Views Asked by At

I'm using a JVM to perform API calls to the Google Apps Administrator API.

I've noticed with the User Usage Reports, I'm not getting complete data when it comes to a field I'm interested in (num_docs_externally_visible) and the fields which form that fields calculation. I generally request a single day's usage report at a time, across my entire user base (~40k users).

According to the documentation on the developer's, I should be able to see that in a report 2-6 days after; however after running a report for the first 3 weeks of February, I've only gotten it for 60% of the days. The pattern appears to be random (in that I have up to 4 day in a row streaks of the item appearing and 3 days in a row streaks of it not, but there is no consistency to this).

Has anyone else experienced this issue? And if so, were you able to resolve it? Or should I expect this behavior to continue if this is an issue with what the API is returning outside of my control?

1

There are 1 best solutions below

1
On

I think it's only natural that the data you get is not yet complete, it takes a certain day to receive the complete data.

This SO question is not exactly the same of your question, but i think it will help you. Especially the part that you need to use your account time zone.