0
我需要得到的收入明細的用戶從YouTube的YouTube Analytics(分析)
我跟着以下網址獲得收益
https://developers.google.com/youtube/analytics/sample-requests#Content_Owner_Reports
我通過要求如下面
GET https://www.googleapis.com/youtube/analytics/v1/reports?ids=channel%3D%3D*******************&start-date=2014-05-01&end-date=2014-06-30&metrics=earnings&key={YOUR_API_KEY}
但結果是
{
"error": {
"errors": [
{
"domain": "global",
"reason": "unauthorized",
"message": "Insufficient permission to access this report."
}
],
"code": 401,
"message": "Insufficient permission to access this report."
}
}
我的問題是:
- 我的查詢是否正確?
- 如何在YouTube API中獲得收入?
contentOwner==OWNER_NAME
如何獲取YouTube CMS的OWNER_NAME?- 什麼是YouTube CMS? 請幫我