According to Latency with Youtube Analytics API, data from the YouTube Analytics API should update daily. I'm trying to pull over time data for videos using the https://www.googleapis.com/youtube/analytics/v1/reports
endpoint. To do this I'm sending parameters like the ones below:
{
'dimensions': 'day',
'end-date': '2015-06-02',
'filters': 'video==MY_VIDEO_ID',
'ids': 'channel==MINE',
'metrics': 'views,uniques,averageViewDuration,averageViewPercentage,comments,likes,dislikes,shares,subscribersGained,subscribersLost',
'prettyPrint': 'false',
'start-date': u'2013-03-18'
}
I'm setting the start-date
to the upload date of the video and the end-date
to today, but I'm only getting data up to a couple days ago. For example that request above returns 2015-05-31
as the last date that data exists for. I have tried setting the end-date
an additional day in the future in case the range was exclusive. According to Latency with Youtube Analytics API I should be getting data up to 2015-06-01
.
Is there an additional delay of an extra day now on the Analytics API? Is something wrong with my query? Is there a canonical page somewhere that has numbers for these delays similar to this Adwords answer?