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
4
votes
0 answers

YouTube Analytics API Access Now Forbidden

I have a few reports using the YouTube Analytics API in a Google Spreadsheet. I have made no changes recently. These reports do have a trigger that run daily. On 1/10. they stopped working. Usage Report: https://i.stack.imgur.com/C2rUL.png I see…
anormb
  • 61
  • 2
4
votes
0 answers

Using two-legged OAuth2 with Youtube Analytics API

I'm trying to connect to the Youtube analytics api using the node.js client library for Google apis. I managed to get access to my Google analytics data using JWT and a service account but unfortunately the YouTube analytics API doesn't support…
3
votes
0 answers

Youtube Reporting API returns video data but Youtube Data API does not for specific channel

I have this issue where a specific channel is not returning any videos on the Data-API (see response from API below): { "kind": "youtube#videoListResponse", "etag": "YIUPVpqNjppyCWOZfL-19bLb7uk", "items": [], "pageInfo": { …
3
votes
1 answer

How to get metrics from YouTube Analytics API for every video which belongs to current user?

I want to get metrics (such as likes, views and subscribers gained) for every video in my youtube channel (or about 10 latest video) , how can I do it correctly? I'm using such API call from Youtube Analytics API, but it turns out that it returns…
Lucky_girl
  • 4,543
  • 6
  • 42
  • 82
3
votes
1 answer

Unable to redirect the user to auth_uri while using google flow 2.0

I am working on an application to pull the YouTube metrics using the YouTube analytics API. This is the first time I am working with google auth flow to authenticate my app so that it can silently pull the report. I am following the below Google…
3
votes
1 answer

Getting 403 forbidden error while requesting YouTube Analytics API

I'm calling the below end point https://youtubeanalytics.googleapis.com/v2/reports? The API was working fine till yesterday. I linked a new YouTube account to fetch data using the API and I'm getting 403 forbidden error. I have 2 accessTokens, one…
Anirudh
  • 2,767
  • 5
  • 69
  • 119
3
votes
3 answers

YouTube analytics API rows empty

I know this question has been answered before, but I seem to have a different problem. Up until a few days ago, my querying of YouTube never had a problem. Now, however, every time I query data on any video the rows of actual video data come back as…
3
votes
1 answer

Error Code 400 when trying to filter "insightTrafficSourceDetail" in YouTube Analytics API

Trying to use the Reports Query API and used the example "Top 10 – YouTube search terms that generate the most traffic for a video": Here is a screenshot of the API Explorer: Unfortunately I get the following response: Are the samples out of…
3
votes
0 answers

Youtube Analytics API 403 Forbidden

I tried to get views count of videos in channel. Following is my Ruby code. client.authorization.access_token = access_token analytics_response = client.execute( :api_method => youtube_analytics.reports.query, :parameters => { :metrics…
NeK
  • 846
  • 5
  • 13
3
votes
0 answers

Are there any mock Youtube accounts that can be used to test the youtube analytics api?

I've been looking at using the Youtube Analytics API to create a web app for Youtube users to find out their channel trends, forecasts, etc. I do not have a Youtube account, and if I made one, it would have no content. Are there any mock accounts…
thegmo
  • 31
  • 2
3
votes
1 answer

403 Forbidden Error returned when querying YouTube Analytics API .NET

I have read most of the developer console references. I've created an installed project in the Google Developers Console under the "YouTube Manager Google account" of the YouTube site. I've enabled YouTube Data API v3 and YouTube Analytics…
2
votes
0 answers

YouTube Content Owner video metadata report - no reports for reporting job

I'm using a BigQuery Data Transfer to load YouTube Content Owner data into BigQuery. The transfers run daily. Even though transfers have been successful, there is no new data arriving for content owner video metadata reports…
2
votes
0 answers

Redirect URI mismatch, why?

Following the directions here using latest/last python 2.7: https://github.com/youtube/api-samples/tree/master/python For the https://github.com/youtube/api-samples/blob/master/python/retrieve_reports.py script Google oAuth explorer tests seem to…
2
votes
1 answer

Get Youtube Analytics without OAuth and just API key

I am trying to use google cloud to get the stats of my youtube channel, but I don't want to have to complete an OAuth every time and enter key into console.. I have an API key and am wondering if its possible to just get the Stats using the API key…
2
votes
1 answer

YouTube Analytics API - Total views grouped by channels for a content owner

I'm trying to get total views of each channel owned by a content owner. I could get total views of all channels, but I want to get each channel's views. The following is the code I tried. I set a dimensions=channel to do it, but it returned a 400…
1
2
3
16 17