title: Unable to retrieve video metrics using Youtube Analytics API
body: <p>According to the Youtube Analytics API documentation (<a href="https://developers.google.com/youtube/analytics/v1/available_reports" rel="noreferrer">https://developers.google.com/youtube/analytics/v1/available_reports</a>), it looks like you should be able to retrieve metrics for specific videos using the "video" dimension.  I am able to get all other metrics successfully - either specifying dimensions like "day" and "country" or supplying no dimension at all.</p>
  
  <p>But when I change the dimensions value to "video", I get a 400 error code with the message "The query is not supported. Check the documentation for supported queries."  This is a channel report - not a content owner report - but according to the documentation, this should be a valid report request.  I've even tried limiting the result set with a number of extra parameters like start-index, max-results, and sort. </p>
  
  <p>WORKS</p>
  
  <pre><code>client.execute(:api_method =&gt; "youtubeAnalytics.reports.query", 
                 :parameters =&gt; {'ids' =&gt; "channel==##USER_ID##",
                                 "start-date" =&gt; "2012-01-01", "end-date" =&gt; "2012-02-01",  
                                 "metrics" =&gt; "views"})
  
  client.execute(:api_method =&gt; "youtubeAnalytics.reports.query",
                 :parameters =&gt; {'ids' =&gt; "channel==##USER_ID##", 
                                 "start-date" =&gt; "2012-01-01", "end-date" =&gt; "2012-02-01", 
                                 "metrics" =&gt; "views", 
                                 "dimensions" =&gt; "day"})
  </code></pre>
  
  <p>DOES NOT WORK - returns 400 error</p>
  
  <pre><code>client.execute(:api_method =&gt; "youtubeAnalytics.reports.query", 
                 :parameters =&gt; {'ids' =&gt; "channel==##USER_ID##", 
                                 "start-date" =&gt; "2012-01-01", "end-date" =&gt; "2012-02-01", 
                                 "metrics" =&gt; "views", 
                                 "dimensions" =&gt; "video"})
  
  client.execute(:api_method =&gt; "youtubeAnalytics.reports.query", 
                 :parameters =&gt; {'ids' =&gt; "channel==##USER_ID##",
                                 "start-date" =&gt; "2012-01-01", "end-date" =&gt; "2012-02-01", 
                                 "metrics" =&gt; "views", 
                                 "dimensions" =&gt; "video", 
                                 "start-index" =&gt; 1, 
                                 "max-results" =&gt; 5, 
                                 "sort" =&gt; "views"})
  </code></pre>
  
  <p>Has anyone been able to make a successful request for a channel report for video level details?</p>