我無法在https://developers.google.com/youtube/analytics/sample-requests#channel-audience-retention-reports從YouTube Analytics(分析)API沒有觀衆保留數據,但columnHeaders
得到從樣本請求的任何數據我在做什麼錯 - 我下面的API瀏覽器https://developers.google.com/apis-explorer/#p/youtubeAnalytics/v1/youtubeAnalytics.reports.query?metrics=audienceWatchRatio%252CrelativeRetentionPerformance&dimensions=elapsedVideoTimeRatio&filters=video%253D%253DMY_VIDEO_ID%253BaudienceType%253D%253DORGANIC&start-date=2014-05-01&end-date=2014-06-30&&ids=channel%253D%253DMY_CHANNEL_ID樣品,要求對我的頻道和過濾特定的視頻。我確實得到了成功的迴應,但它基本上只有columnHeaders
:
{
"kind": "youtubeAnalytics#resultTable",
"columnHeaders": [
{
"name": "elapsedVideoTimeRatio",
"columnType": "DIMENSION",
"dataType": "FLOAT"
},
{
"name": "audienceWatchRatio",
"columnType": "METRIC",
"dataType": "FLOAT"
},
{
"name": "relativeRetentionPerformance",
"columnType": "METRIC",
"dataType": "FLOAT"
}
]
}
謝謝@noogui,這是日期。 –
很高興我可以幫忙;-) – noogui