How to access new YouTube Analytics Metrics (Impressions, Impressions CTR) from the API - youtube

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.

Related

Can we access YouTube Analytics Metrics (Impressions, Impressions CTR) from API

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/

Get rental price from YouTube Data API

I'm currently using the YouTube Data API v3 for videos and I'd like to get pricing information from the API. I couldn't find anything regarding that in the API. Is there another API for this kind of information that I'm not aware of or some undocumented parameter?
Here's an example request to get information about a movie that can be rented and bought on YouTube:
https://www.googleapis.com/youtube/v3/videos?key=API_KEY_HERE&part=snippet&id=wz43PZMOrAM
There's a price visible on the site itself but no trace of it in the API:
https://www.youtube.com/watch?v=wz43PZMOrAM&app=desktop
Thanks!
This is beyond the Youtube Data API's scope. You can't fetch that information using the Youtube API yet.

YouTube Analytics API Quota Extension Application?

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.

How to use the Youtube Analytics API to get the metric "earnings"?

I am a Youtube Partner and I have monetized videos on Youtube. Already receive a small monthly amount through some channels that have associated with my Google Adsense account.
Now, I would like to generate a report gathering the monetary values and views received from each channel.
I did the following question on Google Code, because I thought there was some problem in the API, but it happened that I was using the API incorrectly. See the link below.
http://code.google.com/p/gdata-issues/issues/detail?id=4826#makechanges
Now, I still could not make it work because I do not know where to find the requested data in the response I got from the link above.
Where do I find this CMS_ID? I have more than one channel, so I need to have each accepted as a Youtube Content Manager to use the API and retrieve the gains?
Someone here on Stack Overflow already managed to use the Youtube Analytics API using the metric "earnings"?
My code is in Python based on the example from Google here:
https://developers.google.com/youtube/analytics/v1/code_samples/python
I'm using the following scopes:
YOUTUBE_SCOPES = ["https://www.googleapis.com/auth/youtube.readonly",
"https://www.googleapis.com/auth/yt-analytics.readonly",
"https://www.googleapis.com/auth/youtubepartner",
"https://www.googleapis.com/auth/yt-analytics-monetary.readonly"]
As of right now, it's only possible to retrieve monetary information in YouTube Analytics API reports when those reports are run via the context of a content owner, as described in the documentation.
It is possible to have a monetized channel that is opted in for Google AdSense ads without having that channel managed by a content owner, in which case you would not be able to get those metrics via the YouTube Analytics API.
Let's use the issue you previously opened to track the request to open up this type of report to non-content owners as well, as that's a more appropriate place for feature requests than Stack Overflow.

Is minutes watched time of a video available in youtube analytics api ?

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

Resources