I'm trying to retrieve information from Youtube Analytics API v3.
The API allows us to retrieve two metrics about audience retention: audienceWatchRatio and relativeRetentionPerformance.
The audienceWatchRatio datas perfectly match the absolute audience retention chart that is displayed on the Youtube Analytics website.
Unfortunately, the relativeRetentionPerformance datas don't match at all the relative audience retention chart that is displayed on the Youtube Analytics website. You will find a comparison between both charts on the image below.
Does anyone knows how to retrieve the relative audience retention datas that are displayed on the Youtube Analytics website?
Thank you a lot for reading and maybe for answering!
Related
Hi guys i'm pretty new to Azure Data Factory and i'm implementing a pipeline to retrieve stats about a YouTube channel through API and storing them in a SQL Database in order to connect it to some BI services.
Using Youtube DATA API i was able to:
retrieve all the videos uploaded in the channel - API Data - PlaylistItems
some summarized stats for each one API Data - Videos - with part:statistics
The next thing i'd like to do is retrieve detailed stats for each video on a monthly basis, i was able to do this with Google Apps Script on a Google Sheets using the Youtube Analytics and Reporting API API Call Reference
In Azure Data Factory i'm struggling with the Google OAuth, the Youtube DATA API supported the API Key authentication and that was pretty easy.
Instead the Youtube Analytics and Reporting API requires the OAuth and do not support services account so the only option i believe is the server-side flow Google OAuth server side flow
I believe is possible to do, in this link a user struggled with the JSON output of these API in Data Factory - 5
Do you think it is feasible and i'm going in the right direction?
Really appreciate any help!
Thanks
We have been running GA4 and Google Ads on our website for a while now. However, the GA4 data appears not to be available in Google Ads even though the accounts are linked. For example, we can see 'All user' data in GA4, but the automatically imported GA4 audience 'All users' is not being filled (it does have some users, but that is probably from when we use UA). I have installed the GA4 tag through GTM, and it is working as GA4 data gets filled.
GA4: Linked account
GA4: All users
GAds: GA4 All users in Ads
I have cross checked all links, property codes etc and all do match with the corresponding account, but unfortunately the data is not being imported. Also, when I create a new audience in GA4, the data is not available in Google Ads. When I configure the Google Ads remarketing/conversion tag in our GTM, the audience does get filled.
Am I missing something?
I had the same issue. I fixed it.
You have to login to your google analytics.
Click on Admin at the bottom left hand corner, you will then see Data settings. Under Data settings, you will see data collection. In that page, you will have to activate Google signals data collection and also Acknowledge the User Data Collection Acknowledgement.
I have attached a screen shot for your reference.
Once you do this, you will be able to see the data for audiences in google ads from your google analytics property. It can take upto 24 hours for the data to be visible in your google ads audiences.
I hope my answer helps you!
Best Regards,
Shoaib Hussain
Images are below
Data collection
Google signals data collection
User Data Collection Acknowledgement
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/
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.
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.