According to the Delay with the Youtube Analytics API , data from the YouTube Analytics API must be updated daily. I am trying to pull time data for a video using an endpoint https://www.googleapis.com/youtube/analytics/v1/reports. To do this, I send 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 set start-dateto the date the video is uploaded end-dateuntil today, but I only receive data a couple of days ago. For example, the above query returns 2015-05-31as the last date on which the data exists. I tried to set end-datean extra day in the future if the range was exceptional. According to Delay with the Youtube Analytics API , I have to receive data before 2015-06-01.
API Google Analytics? - ? -, , Adwords answer?