I couldnt find from the documentation (https://developers.google.com/youtube/analytics/v1/available_reports) if the minutes watched metric can be obtained from the youtube analytics api. If it can be retrieved can you give the endpoint to query as ?
Timed watched is not a current metric provided by the api.
Under v2 of the Analytics API there is a metric called estimatedMinutesWatched that can provide that information now. There's more info at developers.google.com/youtube/analytics/metrics
Related
I'm using the YouTube Data API v3 to insert videos from my website to my youtube channel. It is all working fine. Youtube gives 10000 queries per day limit and I requested to extend the quota as one video upload takes about 1607 queries and hence my limit for uploading videos is 6.
The response I received from YouTube is that my API Client is in violation of Youtube's policy fo storing data. They have mentioned that
store_youtube_api_length: twelve months
and they want it to be set to under 30 days.
I have searched the google console for this setting but I'm unable to find it. I have asked Youtube and they have brushed off the request saying they are part of YT compliance team.
Can somebody here help me find it.
Responding to the YouTube API Services confirming our data retention policy was under the month limit fixed this for us. It was just an internal policy agreement, no setting to update.
I am trying to get the impressions data using the API. Are these available yet through APIs?
I don't see these in the metrics as well. https://developers.google.com/youtube/v3/docs/
I want to fetch Youtube channel information e.g. total number of subscribers, language, info tab etc. What's the endpoint to do so if I have only my API key and channel id.
Figured out the answer, following is the API call to fetch channel information.
https://www.googleapis.com/youtube/v3/channels?part=snippet,statistics&id=UCSJ4gkVC6NrvII8umztf0Ow&key=[API_KEY]
Google's API Doc
https://developers.google.com/apis-explorer/#search/youtube.channels.list/m/youtube/v3/youtube.channels.list
using of below link which i shared might be useful for your problem
https://developers.google.com/youtube/v3/docs/channels/list
Can I already access Impressions and Impressions click-through rate from YouTube Analytics API?
These metrics are new. I saw the following document:
https://productforums.google.com/forum/#!topic/youtube/huFTZ7HzePE.
But I could not find these metrics in YouTube Analytics API.
Please teach me about how to access Impressions and Impressions CTR from API.
There is a thread in Google's issue-tracker that clearly states that (for now) it is NOT possible and in fact it is intended behavior (won't fix)!
I'll keep checking the API's revision history and try to keep this answer up to date.
In the past I've been able to access an online application for a quota extension to the YouTube Analytics API. Has this link been removed? I can no longer get to the application page.
https://console.cloud.google.com/iam-admin/quotas?project=iq-default&authuser=1
You're right. There seems no way on to increase YouTube Analytics API quota (someone correct me if I'm wrong). Unlike any other Google APIs, YouTube Analytics API doesn't have an option to request for more quota in the Quota tab of your project in the Google APIs Console.
However, as stated in this thread, if you get an error and thought that it is related to quota limit, start an exponential backoff and keep trying again until the call succeeds.