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

How to grant access to Youtube Reporting API for a google service account?

I am trying to access YouTube Reporting API with a service account. But I am getting a 403 forbidden when trying to do youtubeReporting.jobs().list().execute(). YouTube Reporting API clearly supposed Server-to-server interaction. Do I need to grant…
0
votes
0 answers

Google API Explorer returns no Rows, Postman does with same query

I have been working on a project to pull analytics data from the YouTube Analytics API (v1, v1beta1 provides the same results). I began getting no rows returned in a batch call and, naturally, I suspected errors on my end. I recreated one of the…
0
votes
1 answer

How can we retrive the metrices 'annotationClickableImpressions' and 'annotationClosableImpressions' using yt gem in rails?

I have to integrate you youtube API in my rails application. I am using 'yt' gem to pull the youtbe analytics of videos. However I could not find ay endpoint to pull the 'annotationClickableImpressions' and 'annotationClosableImpressions' through…
0
votes
1 answer

Why is python YouTube Reporting API retrieve reports returning 'No jobs found' even after successfully creating reports?

>PS C:\Documents\YouTube\Code> python YouTubeRetrieveReports.py >No jobs found >Retrieved reports. This is the only thing I get when running the sample script against the YouTube Reporting API to retrieve the reports that I've been creating. The…
Kevin
  • 113
  • 2
  • 8
0
votes
0 answers

Youtube analytics API content owner-based queries not returning data

I'm trying to get ad revenue data from the Youtube analytics API. It seems that no queries I make with id=contentOwner== return data: I get a 200 response back with all the column name information, but no rows and no actual data.…
swizzard
  • 1,037
  • 1
  • 12
  • 28
0
votes
1 answer

Cannot read property "length" from undefined, Youtube Analytics API Error

I'm new to Youtube Analytics Api and I'm following this guide in google to save my analytics report in google sheet using Google Apps Script. Everytime I run the script, I get an error like this, TypeError: Cannot read property "length" from…
Shihan Khan
  • 2,180
  • 4
  • 34
  • 67
0
votes
2 answers

Youtube Analytics API: Get Earnings report for individual channel which are not part of the content owner

I want to get the earnings related report for the individual channels which are not the part of Content Owner. But when I am adding the earnings related metrics, I am getting 401 - Insufficient permission to access this report. When removing the…
Tasneem Haider
  • 359
  • 3
  • 9
0
votes
1 answer

How to get earning report for Youtube Analytics

I want to youtube earning report. I'm using query_report method for YouTubeAnalytics API. http://www.rubydoc.info/github/google/google-api-ruby-client/Google/Apis/YoutubeAnalyticsV1/YouTubeAnalyticsService#query_report-instance_method Following code…
hidechae
  • 675
  • 1
  • 6
  • 11
0
votes
1 answer

How to know `on_behalf_of_content_owner` for Youtube Analytics API?

I want to use list_batch_report_definitions method in Youtube Analytics API V2. http://www.rubydoc.info/github/google/google-api-ruby-client/Google/Apis/YoutubeAnalyticsV1/YouTubeAnalyticsService#list_batch_report_definitions-instance_method But I…
hidechae
  • 675
  • 1
  • 6
  • 11
0
votes
1 answer

How do I get reports from before dates earlier than the date I created the job in Reporting API?

I'm testing out the new Youtube Analytics Reporting API. However, it looks like I can only get reports from dates on the date I created the job that generates the reports and later. How can I get bulk data from earlier dates than this? Am I forced…
karianneberg
  • 329
  • 4
  • 17
0
votes
1 answer

YouTubeAnalytics.Reports.query returns 403 Forbidden in Google Apps Script

I have used the same script to pull the View metric for specific videos and put it into a spreadsheet for more than a year successfully. Now, all of a sudden the script throws me a forbidden error on the YouTubeAnalytics.Reports.query line. I…
0
votes
0 answers

Youtube analytics api issue

Trying to get the youtube anaytics channel report from this scope: https://www.googleapis.com/auth/yt-analytics.readonly and two channel IDs UC2QjLUbr7XeJpiYgflSuZ-w UCH8FFDRgoEtYGm00oqIADUQ First channel id worked perfectly. Second id shows me…
0
votes
2 answers

YouTube Analytics API : 403 Forbidden Error returns Earnings Report

I have a CMS account an I'm trying to get earnings data from content owners report on Analytics API using OAuth 2.0 . Whenever I'm trying to do this through my website, I get the following error ; Error calling GET…
0
votes
1 answer

youtube-reporting-api retrieve_reports.py "report URL to download"

When stepping thru the example python code for creating and retrieving data using the youtube-reporting-api, when I get to the retrieve_report.py code that prompts me to: Please enter the report URL to download: What is supposed to be entered here?…
0
votes
1 answer

oAuth2 Playground YouTube Analytics API is not enabled for your project

I'm stuck with the following I'm trying to make a call to YouTube Analytics API I went to google's oAuth2 playground https://developers.google.com/oauthplayground and in the first step I selected and authorized all the youtube related APIs as seen…
1 2 3
16
17