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

C# Youtube channel list API is throwing Insufficient Permission [403]

The credential json I have received was in this format: { "token": "test token", "refresh_token": "test refresh", "token_uri": "test uri", "client_id": "test client id", "client_secret": "test client sec", "scopes":…
1
vote
0 answers

Youtube Analytics API v2 migration

As the YouTube Analytics API (v1) has been deprecated as of November 1, 2018 (source), I have been trying to migrate it to v2. I downloaded the upgrade form the following link : https://github.com/googleapis/google-api-php-client-services and the…
1
vote
2 answers

Request through reports.query() for YouTubeAnalytics v2 API throws 400 error

Iam trying to migrate from V1 to V2 of the YouTubeAnalytics API. But I cannot figure out the format in which I should state the query. Code Iam trying to run: return analytics.reports().query() .setIds(id) …
Carol
  • 347
  • 5
  • 17
1
vote
1 answer

Trying to access an account's Youtube data via the Youtube Reporting API results in HttpError 403: "The caller does not have permission"

I'm attempting to use Youtube's Reporting API to access my company's Youtube data and analyze it. However, when I run an example script that Google has supplied, I receive the follow error: HttpError:
Alec
  • 11
  • 5
1
vote
0 answers

Unable to get CPM data from Youtube Analytics account

I'm unable to get CPM data from my Youtube reports: I'm getting: { "error": { "code": 403, "message": "Forbidden", "errors": [ { "message": "Forbidden", "domain": "global", "reason": "forbidden" } ] } } I…
user3662456
  • 267
  • 2
  • 11
1
vote
0 answers

Creating direct HTTP-request through YouTube Analytics API v2 to view the videos of the channel that were embedded on external sites

I am quite new in using Google APIs. So, the problem is that I am administrator of the YouTube channel (not the owner). And I would like to get the straffic sources that were embedded on external websites. So, I've created new project and formed a…
1
vote
0 answers

Youtube Analytics API | averageViewPercentage

I have a question about the YouTube Analytics API. I would like to know how "averageViewPercentage" is calculated. Although it is described as "The average percentage of a video watched during a video playback.", I don't what items…
1
vote
1 answer

Youtube analytics, retrieve audience_retention_percentage

I'm trying to retrieve the audienceWatchRatio. When I run it in the API explorer I receive a valid response but no data. I know that the video that I filter for have views, and I have enabled the elapsedVideoTimeRatio. Is there something else that…
Jax
  • 33
  • 5
1
vote
0 answers

Calls to Analytics API for Content Owner Reports Returns NULL

We have been using the YT Analytics API to get metrics by report type for months. Things were working well until Feb. 28, 2018 when all of a sudden we got null on data section and only the meta header. This happened again today (March 2nd, 2018).…
1
vote
0 answers

YouTube Analytics API Report.Query by Day with Timezone

I know, there is another Topic here with a similar Question, but the main Question has not been answered yet (as far as I understand). Given, that the YouTube Analytics API is returning everything in "Pacific time zone", and I query the Data for…
1
vote
0 answers

Is it possible to use the Google api dotnet client libraries for C# / UWP to query for Youtube Analytics realtime views?

I am putting together a Windows 10 UWP app and need to get realtime views for YouTube channels using the YouTube analytics api. I can successfully get views using the Google-api-donet-client libraries, but not realtime views. Basically, the last 48…
1
vote
0 answers

Accessing YouTube Reporting in Automated Script

We're trying to write an automated script (i.e. no user interactions) that pulls YouTube reporting data from API (esp. with Google Python API Client). Currently, we have a Google user that is a Content Manager of a channel, and we can access its…
1
vote
1 answer

A network error occurred, and the request could not be completed for Youtube Analytics API in Explorer

When I try to use Youtube Analytics API in Google API Explorer, I am getting error like below, { "error": { "code": -1, "message": "A network error occurred, and the request could not be completed." } } Request URI is going like this : GET…
1
vote
0 answers

I'd like to get a YouTube Reporting Sample Bulk Report

I'm using YouTube Reporting API. According to this API's feature, I must wait 2 days to get the result. So I'd like to know data structures and contents in advance. I appreciate if anyone has or know sample bulk reports. Thanks
1
vote
2 answers

How do I check whether a token has been revoked (by user) before using it offline in server-side application?

I'm a first time user of the YouTube API and have been following the documentation. However the doc is very unclear when it comes to non-basic functionality, and there doesn't seem to be other docs for me to check in order to answer my own…