YouTube 분석 서비스
YouTube 분석 서비스를 사용하면 Apps Script에서 YouTube Analytics API를 사용할 수 있습니다. 이 API를 사용하면 YouTube 동영상 및 채널의 시청 통계, 인기도 측정항목, 인구통계 정보를 가져올 수 있습니다.
참조
이 서비스에 관한 자세한 내용은 YouTube Analytics API의 참조 문서를 참고하세요. Apps Script의 모든 고급 서비스와 마찬가지로 YouTube 분석 서비스는 공개 API와 동일한 객체, 메서드, 매개변수를 사용합니다. 자세한 내용은 메서드 서명 결정 방법을 참고하세요.
샘플 코드
아래 샘플 코드는 YouTube Analytics API의 버전 2와 YouTube Data API의 버전 3을 사용합니다. YouTube Data API는 Apps Script의 YouTube 서비스를 통해 액세스할 수 있습니다.
문제를 신고하고 다른 지원을 확인하려면 YouTube API 지원 가이드를 참고하세요.
보고서 작성
이 함수는 채널 동영상의 일일 조회수, 시청 시간 측정항목, 신규 구독자 수를 포함하는 스프레드시트를 만듭니다.
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2024-12-21(UTC)
[null,null,["최종 업데이트: 2024-12-21(UTC)"],[[["The YouTube Analytics API allows you to access viewing statistics, popularity metrics, and demographic data for YouTube videos and channels within Apps Script."],["This is an advanced service that requires enabling before use."],["The provided sample code demonstrates how to create a spreadsheet report containing daily view counts, watch time, and subscriber data for a YouTube channel using the API."],["The API utilizes the same objects, methods, and parameters as the public YouTube Analytics API, ensuring consistency and familiarity for developers."],["For further support and issue reporting, refer to the YouTube API support guide."]]],[]]