Data not fetched using reporting api
Latest data is reflecting in google analytics report, but while using analytics reporting api https://developers.google.com/analytics/devguides/reporting/core/v4/quickstart/installed-java from java, data is not fetched. We are able to fetch old data (1 week old). Is there any delay to reflect when the API is used to get the results. How can we reduce the delay.