I'm trying to use the Youtube Analytics API to gather daily view counts for all the videos in my channel. It seems like the video dimension throttles the result at top 10 only. Is there anyway I could get daily view count for all my videos?
Get daily view counts for all video of a given channel on Youtube Analytics
1.3k Views Asked by user3131162 At
1
There are 1 best solutions below
Related Questions in YOUTUBE
- Extracting viewCount & SubscriberCount from YouTube API V3 for a given channel, where channelID does not equal userID
- Get youtube video information using javascript and Youtube-API
- YouTube views not counting on Wordpress embed
- youtube api v3 insert comments
- How to track multiple youtube videos in google analytics
- Youtube api v3 duration
- Convert youtube video to mp3 using Quick MP3 API
- Grabbing color palette from YouTube thumbnail
- YouTube API - Getting current time in a global variable
- Unable to Full Screen Youtube Video Inside Custom Webview
- Youtube embed display at one time start at beginning
- Youtube API - Listing hidden videos of my channel using OAuth
- How to get data of a youtube playlist in JSON format using JavaScript API V3
- Google Developer API V3 for video upload in YouTube C#.net
- How to use YouTube iOS player helper with use_frameworks! with CocoaPods
Related Questions in YOUTUBE-ANALYTICS
- differing numbers between YouTube Analytics API and what I see on the screen
- Getting 403 error while making a youtube analytics api call
- Youtube API event distinguish pause from seek/buffer
- Getting exact time with YouTube Analytics: estimatedMinutesWatched
- YouTube Analytics API php Samples
- How to retrieve data from YouTube Analytics API without user action?
- How can I build or use chart exactly similar to YoutubeStudio analytics chart in my website ? I have provided the image of the chart
- Get daily view counts for all video of a given channel on Youtube Analytics
- Youtube Analytics Reports updated Timestamp
- Error while executing YouTube Analytics Api sample
- Get Channel ID from username Java using YouTube API v3
- YouTube Analytics API PHP: usageLimits accessNotConfigured
- YT retention when clicking on an ad
- Which metrics will be used in the code for below requirements
- Does YouTube Data API V3 work with YouTube Music?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
At the moment you cannot get metrics for all videos via Analytics API directly. First you need to fetch the ids of all your videos and then request Analytic's data for each. I managed it this way:
{ "kind": "youtube#channelListResponse", "etag": "\"F9iA7pnxqNgrkOutjQAa9F2k8HY/SAGx1pv6myGXge51dmywGW81h8o\"", "pageInfo": { "totalResults": 1, "resultsPerPage": 1 }, "items": [ { "kind": "youtube#channel", "etag": "\"F9iA7pnxqNgrkOutjQAa9F2k8HY/g5zJtodBJms3CAfwF_ar2nVgJjU\"", "id": "[id]", "contentDetails": { "relatedPlaylists": { "likes": "[id]", "favorites": "[id]", "uploads": "[id]", "watchHistory": "[id]", "watchLater": "[id]" }, "googlePlusUserId": "[id]" } } ] }Get all ids of your uploaded videos with the upload playlist id via Data API: https://www.googleapis.com/youtube/v3/playlistItems?part=id&pageToken=&playlistId=[UPLOADID]&maxResults=50&access_token=[TOKEN]. Note: You have to page through the results with nextPageToken.
With the collected video ids you can make a batch request to the Analytics API https://www.googleapis.com/youtube/analytics/v1/reports?ids=channel==mine&start-date=2014-12-29&end-date=2015-01-05&metrics=views,likes&dimensions=video,day&filters=video==[videoId],[videoId],[videoId],[...]&sort=video&access_token=[TOKEN] Note: You can batch up to 200 Video Ids.