Questions tagged [youtube-analytics]

YouTube Analytics let you monitor the performance of your channel and your videos with up to date metrics.

Analytics Basics

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

youtube-analytics-api pagination stopping

I am trying to paginate thru data using the start-index parameter, I am incrementing the start-index value in a looping construct, it works fine for 1st and 2nd loop, but fails on 3 loop every time (I know there are more videos). Am I paginating…
1
vote
0 answers

Why does Youtube Analytics Api groups.list method only returns at most 20 groups?

My first post on stackoverflow :) I have been trying to use the YouTube Analytics API to list all analytics groups of a content owner. I tried both via APIs-Explorer web:…
1
vote
1 answer

differing numbers between YouTube Analytics API and what I see on the screen

So I was following the example of connecting to the YouTube Analytics API that can be found by clicking here. When I run the above code I get the 52 views, however when I go to the page directly I see these numbers. Why is it that I see such a…
1
vote
1 answer

Query youtube music channel with youtube Analytics API

I'm trying to retrieve data from Youtube Analytics API with this…
1
vote
3 answers

YouTube Analytics: Daily Limit for Unauthenticated Use Exceeded. Continued use requires signup

I've followed this API reference : https://developers.google.com/youtube/analytics/v1/sample-application And created "index.html","index.css","index.js" files. I've inserted a proper CLIENT_ID but when I run "index.html" file it shows the following…
1
vote
2 answers

Get Channel ID from username Java using YouTube API v3

I'm trying to use the YouTube Data/Analytic API for a project, but I have no idea how to get a channels ID if I do not own it. I'm trying to get all modern musicians/artists channels to analyse them but cannot seem to get anywhere. The code I have…
SeanSilver
  • 101
  • 1
  • 10
1
vote
0 answers

Error while executing YouTube Analytics Api sample

I have downloaded the sample command line program for Youtube Analytics api and Youtube Data Api v3 and imported in eclipse. So below I have mentioned the code for my OAuth 2.0 implementation class: package…
1
vote
2 answers

Youtube Analytics API PHP Invalid query. Query did not conform to the expectations

I'm trying to make some analytics query from server to server. I'm using laravel with https://github.com/google/google-api-php-client library. This is the code I'm using: $client = new Google_Client(); $key =…
1
vote
1 answer

What is the correct javascript syntax for multiple filters in youTube Analytics API?

I'm building a JS app using the youTube Analytics api and am struggling with this query. I want to filter by video and by country (so just return the views for that video in GB (in this case)). The documentation suggests the following for a URL…
Will
  • 23
  • 4
1
vote
1 answer

Is it possible to get data for a 'analytics group' of videos from YouTube Analytics API?

I am trying to retrieve data for videos for an Analytics group in a YouTube channel. In the Analytics interface, this is done by selecting the 'Groups' drop down near the top of the page and then selecting 'Browse all groups'; this then allows the…
Mr B
  • 3,980
  • 9
  • 48
  • 74
1
vote
0 answers

YouTube Analytics response 403 for requests for more than one user

This is my client setup $this->_client = new Google_Client(); $this->_client->setClientId( $_config['OAUTH2_CLIENT_ID'] ); $this->_client->setClientSecret( $_config['OAUTH2_CLIENT_SECRET'] ); $this->_client->setScopes( array(…
1
vote
0 answers

Youtube Analytics API: Required parameter is missing: grant_type

I am using the OAuth playground provided by google. Although I have the grant_type parameter in my call, it is failing to recognize it. In order to make continued calls to the API I need to refresh my token; however, the call is not working, even in…
1
vote
1 answer

ROWS not returning in Youtube Analytics API?

I have made a request to this url: https://www.googleapis.com/youtube/analytics/v1/reports with the metrics: likes and dislikes. The echoed response: { "kind": "youtubeAnalytics#resultTable", "columnHeaders": [ { "name": "likes", …
Hunter Mitchell
  • 7,063
  • 18
  • 69
  • 116