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 - How to find viewer demographics of YouTube accounts for all viewers worldwide?

I am using YouTube Analytics API with oauth2.0 authorization to get channel owner demographic (ageGroup and gender). It does return values for the ageGroup and gender of the province==US-CA, but I want the filter to output viewer demographics…
1
vote
0 answers

YouTube Analytics API does not return correct data

We are successful to log into the API, although, the response does not match the data existing in the channel. The reports available in the YouTube Studio do offer the correct information. But our goal is to automate this report generation using the…
David
  • 11
  • 1
1
vote
0 answers

YouTube Analytics and Reporting API Bulk Reports CSV file has no values

I want to get the Bulk Report for "content_owner_estimated_revenue_a1" in Youtube's Reporting API. I created a report making job with the jobs.create method in the official YouTube APIs…
1
vote
0 answers

Youtube analytics API 403 error brand account

I've tried running the analytics/reporting APIs with my main account (using my local machine's terminal to run python scripts from the YT API Github), and came up with my brand accounts, I end up with an error 403 org_internal when trying to…
1
vote
1 answer

How to exclude deleted comments count from YouTube Analytics API?

I have mentioned 2 YouTube APIs below, the YouTube data api, and the YouTube Analytics api. They are each giving giving different comments count. YouTube data api is showing the comments count properly. YouTube Analytics api is showing incorrect. We…
Avinash Hegde
  • 41
  • 1
  • 3
1
vote
1 answer

How to specify user_params within httr::oauth2.0_token to obtain refresh token?

I'm fairly new to API topic. So far i've managed to obtain access token (but its only valid for short period) and get information how the oauth dance is carried out by httr package but could not figure out what params should i put to obtain refresh…
rkabuk
  • 267
  • 3
  • 15
1
vote
1 answer

Google API to get impressions of youtube videos?

Is there any API available to fetch Impressions of a youtube video? or the Impressions of all the videos in a account? Note: I'm looking for video thumbnail impressions and not (card or annotation impressions) Sample: This 1.9M is the data I'm…
1
vote
0 answers

For my channel, how do I return a list of all video ids with the youtube-analytics-api with private videos included (not the youtube-data-api)?

tldr; I need to return a video list using the youtube-analytics-api and not the youtube-data-api, as private videos are excluded from a query to the public youtube-data-api. /tldr; More detail: I am interested in daily Youtube video revenue data per…
David Erickson
  • 16,433
  • 2
  • 19
  • 35
1
vote
2 answers

token issues youtube analytics api python cloud

I get the next code used to pull youtube information form the youtube analytics api (not youtube data API V3) import os import google_auth_oauthlib.flow import googleapiclient.discovery import googleapiclient.errors scopes =…
Alexis AG
  • 105
  • 1
  • 5
1
vote
1 answer

Why is subscribersGained - subscribersLost different than my current sub count?

I don't see an option in documentation for just "subscribers" but I can take subscribersGained and subtract subscribersLost. However, the number calculated is a bit lower than the actual result. Is there a reason for this or is there a way to…
Junion
  • 11
  • 3
1
vote
0 answers

how can we get daily adImpressions for a playlistID using youtube analytics v2 API in python?

I have the: content owner id channel id playlistid Dimension as day I am currently using https://developers.google.com/youtube/analytics/reference/reports/query to get all other details but I am stuck here.
1
vote
1 answer

Azure Data Factory is unable to read schema of YouTube Reporting API JSON file

I am using the YouTube Analytics and Reporting API to get performance data from a Youtube channel and to store it in Azure's Data Factory (ADF) programmitcally. From the YouTube API, I get the following JSON output format: { "kind":…
1
vote
2 answers

Google Oauth for Backend Java Services

I've a requirement to run a background service to pull Youtube Analytics for already linked channel on a daily basis using Youtube Analytics API Since it'll be in the background, having a direct accesses with Google's Oauth services would be good…
1
vote
0 answers

Youtube Analytics API, return 500 videos, only metrics are returned?

With YouTube Analytics I can return a single YouTube video daily history from start date to end date with the below…
user892134
  • 3,078
  • 16
  • 62
  • 128
1
vote
0 answers

Any way to automate getting metrics from the Youtube Analytics endpoint?

I'm currently creating a dashboard for an organization to display engagement metrics from several of their platforms (so far, Youtube and Facebook). I've written scripts in Python that call several endpoints in order to get the specific metrics I…