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
1
vote
1 answer

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…
Ted
  • 123
  • 1
  • 2
  • 6
1
vote
1 answer

403 response when trying to pull Youtube content owner reports using Reporting API

I have been granted 'owner' rights to a YouTube content owner account and I have created oauth credentials for the account trying to access content owner reports with all the scopes described here:…
kodeWithKT
  • 73
  • 1
  • 1
  • 5
1
vote
0 answers

Youtube Analytics API v3 - retrieving relative audience retention

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…
1
vote
0 answers

No data for audienceRetention metric in Youtube analytics API

I have a similar problem with YouTube API, that have been answered here, but even if I request data with start date when I uploaded the video, I receive only headers. Can you describe me some criteria which YouTube video must have to provide data…
1
vote
1 answer

How to get top 10 videos from your channel with the views count included in the response

So I have a ouath web app that connects to youtube. I use the youtube analytics calls to get information like number of subscribers from my channel. But right now I try to make a top 10 videos from my channel with the views count for every video…
1
vote
1 answer

YouTube Analytics request returns null

So I make a request to youtube analytics that has the following scopes: 'scope' => 'https://www.googleapis.com/auth/yt-analytics.readonly https://gdata.youtube.com https://www.googleapis.com/auth/userinfo.profile' Using my access token I…
1
vote
0 answers

YouTube Reporting API Report Download Error

I am receiving an error message when trying to download YouTube Reporting API bulk reports on behalf of a content owner. I have successfully created report jobs and report job returns download URLs but the download fails with the following error…
MS_ESG
  • 11
  • 1
1
vote
1 answer

YouTube Analytics API: Finding total uploaded video count for a channel in PHP

I'm using YouTube Analytics API to allow users to connect with our application using their YouTube channel accounts. Now, after authorizing the user using OAuth2, I want to fetch the total number of videos uploaded by them on their account. However,…
Manas Chaturvedi
  • 5,210
  • 18
  • 52
  • 104
1
vote
1 answer

YouTube Analytics API: Finding unique visitors on a channel

I'm using YouTube Analytics API to find authorize a YouTube channel using OAuth2 and then trying to find the unique viewers that the channel encountered. This is the URL that I'm sending a request…
Manas Chaturvedi
  • 5,210
  • 18
  • 52
  • 104
1
vote
1 answer

How do I map Freebase topic ids to the corresponding topic names?

I am using Youtube Analytics API. In the response I get the topics of channel as Freebase TopicIds. Since the Freebase API is deprecated now, how can I get the topic names to corresponding ids? I had a look at the Google Graph Search API (mentioned…
1
vote
0 answers

Analytics query returning rows as null

I have a query similar to this $start_date = $VideoUploadDate; $end_date = new DateTime(); $end_date = $end_date->format('Y-m-d'); $optparams = array( 'sort' => 'views', 'filters' => 'video=='.$video_id ); $metrics =…
Graeme
  • 124
  • 1
  • 7
1
vote
0 answers

In Google Apps Script, access to YouTube Reporting API is Forbidden

I have used YouTube Reporting API in Google Apps Script. Despite the no code changes, Forbidden is now thrown January 12th. In reference to Google's document, I wrote the following code. var myChannels = YouTube.Channels.list('id', {mine:…
1
vote
1 answer

How do I pass my iOS app name as a traffic source when it is playing embedded YouTube videos?

I have an iOS app in which I play YouTube videos using the YouTube iframe API. Inside YouTube, when looking in the analytics panel->Traffic sources I'm seeing the hits classified as "Other YouTube features"->"Unknown" Is there a parameter I can pass…
1
vote
1 answer

YouTube Analytics API error

I am trying to get the same report that I see through their UI by using their API. When I specify the following metrics and dimensions the query does not work: Metrics - views, viewerPercentage, estimatedMinutesWatched, averageViewDuration,…
d0kt0r1
  • 305
  • 1
  • 3
  • 15
1
vote
1 answer

YouTube Reporting API Returns 400 and 401 Error while creating a job

I'm using YouTube Reporting Api to get my CMS account's datas as bulk reports. I am using Api Explorer with my CMS user account. I have enabled YouTube Reporting API from console but whenever I'm trying the following request, I get 401 error. I…