I am currently using the analytics reporting API to retrieve data for a given day with a segment applied.
A sample request currently looks like this ;
{
"reportDescription":{
"reportSuiteID":"myReportSuiteId",
"date":"2017-06-16",
"elementDataEncoding": "utf8",
"currentData": "false",
"locale": "en_US",
"metrics": [{"id":"visits"}],
"elements" : [
{"id" : "evar1"}
],
"segments":[
{"id":"s_mySegmentId"}
]
}
}
If I queue the report at frequent intervals, I see that data as and when it becomes available. However, I am not sure how to tell whether or not further data is still processing through the latency checkpoints. Is there a way to queue a report that is only available when all data requested for a day and a segment has been finalised?