Questions tagged [youtube-analytics-api]

The YouTube Reporting and YouTube Analytics APIs let you retrieve YouTube Analytics data to automate complex reporting tasks, build custom dashboards, and much more.

The YouTube Reporting and YouTube Analytics APIs let you retrieve YouTube Analytics data to automate complex reporting tasks, build custom dashboards, and much more.

  • The Reporting API supports applications that can retrieve and store bulk reports, then provide tools to filter, sort, and mine the data.
  • The Analytics API supports targeted, real-time queries to generate custom reports in response to user interaction.
254 questions
21
votes
2 answers

Error: "message": "Login Required" when use Youtube Analytics API

I am working with youtube api. when I hit this url "https://www.googleapis.com/youtube/analytics/v1/reports?ids=channel%3D%3DMINE&start-date=2015-01-01&end-date=2016-01-31&metrics=likes%2Cdislikes&key={API Key}" it gives 401 { "error": { …
15
votes
4 answers

YouTube APIs - Access mutiple youtube channels (Brand Accounts) using Google Admin account

I need to extract information from videos using YouTube Analytics and Reporting Api. I have access to multiple YouTube Brand Accounts, when I log into YouTube with my Google Account. Using the "Try it" for testing the API, I'm only able to retrieve…
bmvr
  • 817
  • 2
  • 9
  • 25
15
votes
1 answer

Getting 'Forbidden error' when trying to execute youtube analytic API

I am receiving an error message when trying to execute youtube analytics API. A service error occurred: Error calling GET …
Rahul
  • 440
  • 7
  • 24
10
votes
1 answer

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

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…
9
votes
0 answers

Youtube unique views data available via API?

I'm aware the "uniques" metric has been deprecated in the Youtube analytics API. However, the new youtube studio beta shows some sort of derived "unique viewers" metric, as per https://support.google.com/youtube/answer/7577916?hl=en Indeed, I can…
jczarn
  • 101
  • 3
8
votes
1 answer

Can I get authorization for Youtube's Reporting API from a non UI application?

I want to run an application (on AWS Lambda) periodically that fetches reports using Youtube's reporting API and stores the reports in a database. I'm the owner of the Youtube channel. However, I'm facing issues setting up the authorization. The…
7
votes
2 answers

Youtube Analytics API returns 403 forbidden even if token is valid

I have an issue with access to Youtube Analytics API for random youtube channels. After a successful authorization with following scopes: https://www.googleapis.com/auth/youtube.readonly https://www.googleapis.com/auth/yt-analytics.readonly I'm…
7
votes
0 answers

How fresh is data from the YouTube Analytics API?

According to Latency with Youtube Analytics API, data from the YouTube Analytics API should update daily. I'm trying to pull over time data for videos using the https://www.googleapis.com/youtube/analytics/v1/reports endpoint. To do this I'm sending…
Nat Dempkowski
  • 2,331
  • 1
  • 19
  • 36
6
votes
1 answer

Youtube Analytics API - Get Thumbnail-Impression Click-Through-Rate

One of the most important KPIs doesn't seem to be available via Youtube-Analytics-API. I can't get the total of thumbnail-impressions that have been shown to users. With that I could aggregate the impression-CTR using the views from certain…
AndyW
  • 482
  • 7
  • 19
5
votes
3 answers

How to load client credentials from json file for YouTube Analytics api?

I want to retrieve monetization data from a friend's YouTube channel. I've used the python code below to get the authentication credentials from him, which I then saved to a JSON file. In that process, he has to click a link and send me the key. I…
Anders Lunde
  • 121
  • 1
  • 11
5
votes
2 answers

Is there a way to get historical youtube subscriber information?

Currently I am retrieving daily subscriber information with the following request: var videoOptions = { 'part': 'snippet,contentDetails,statistics', 'id': videoIds }; // Send request youtube.videos.list(videoOptions,…
mortey
  • 179
  • 1
  • 4
  • 15
4
votes
1 answer

Does YouTube Data API V3 work with YouTube Music?

I would like to extract playlist data from Youtube Music, as well as metadata related to the songs in the said playlist. Is this possible with the Youtube Data V3 API, or YouTube Analytics API? If so, where can I find documentation about calls and…
4
votes
1 answer

Youtube Analytics API - How to get all the video stats for a given channel and date?

We got to build our own reporting database for our Youtube channel to measure the channel and video performance. To support this, we implemented an ETL job to extract using Youtube Analytics API and used below python code to get the data. def…
Guna M
  • 41
  • 2
4
votes
1 answer

ERROR 409: Requested entity already exists

I am using the sample code in this site https://developers.google.com/youtube/reporting/v1/reference/rest/v1/reportTypes/list After setting-up successfully libraries and importing CLIENT_SECRETS_FILE into the code. When I run the code. It…
4
votes
1 answer

Connecting to Youtube Analytics API using R

I am trying to pull data from Youtube Analytics API using R and have hit a wall. I'm getting a Status 403 error. I can confirm that: I have tried logging out of all accounts, rebooting, re-authenticating and then logging into 1 account and it…
Duke
  • 163
  • 8
1
2 3
16 17