2014-12-05 2 views
0
내가 아래

YouTube 웹 로그 분석

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} 

하지만 결과 같은 요청을 전달 이익

https://developers.google.com/youtube/analytics/sample-requests#Content_Owner_Reports

나는 내가 얻을 URL을 아래에 다음 유튜브

에서 사용자에 대한 실적 정보를 얻을 필요가

is

{ 
"error": { 
    "errors": [ 
    { 
    "domain": "global", 
    "reason": "unauthorized", 
    "message": "Insufficient permission to access this report." 
    } 
    ], 
    "code": 401, 
    "message": "Insufficient permission to access this report." 
} 
} 

내 질문은 :

  1. 나의 요청은 맞습니까?
  2. YouTube API에서 수익을 얻으려면 어떻게해야합니까?
  3. contentOwner==OWNER_NAME YouTube CMS에서 OWNER_NAME을 (를) 얻으려면 어떻게해야하나요?
  4. YouTube CMS 란 무엇입니까? 당신이 게시 된 링크에서 직접 나에게

답변

0

도와주세요 : Sample API Requests

또한 API를 탐색기 를 사용하여 API 요청을 승인 할 수 있도록 지정된 채널 또는 콘텐츠 소유자로 인증을 받아야

OAuth 2.0.

첫 번째 질문에 대한 답변은 : 귀하의 요청이 올바르지 않습니다. 데이터에 액세스하려면 먼저 인증을 받아야합니다. Implementing OAuth 2.0 Authorization

기타 : YouTube 콘텐츠 관리자 (CMS)