Kindly request a new set of async calls to generate
reports that give a 200 OK response as well as a token to be used for
retrieval of the data when it is completed. Doing this would also
allow me to batch the reports in GA. When finished there could either
be a callback or I could just used some sort of polling to see if the
report is ready.
What steps will reproduce the problem?
1. Create instances of AnalyticsService as and DataFeed df
2. Call as.getFeed(url, DataFeed.class, "ASYNC")
3. Receive 200 response and token(id of report)
4) call as.getFeed(url, DataFeed.class, "ASYNC", token) to retreive
completed feed
What is the expected output? What do you see instead?
After step 2 200 response with a token value
After step 4 DataFeed with the report data
Please provide any additional information below.
I am trying to create apps in Java App Engine that use the Analytics API.
However, many requests for getFeed timeout because Analytics takes a while
to crunch a lot of numbers depending on the query. Simliar to AdWords,
Analytics should have some sort of async report generation/retrieval to
avoid timouts for big reports and better manage open connections.
Original issue reported on code.google.com by freeman...@gmail.com on 3 Sep 2009 at 1:20
Original issue reported on code.google.com by
freeman...@gmail.com
on 3 Sep 2009 at 1:20