title: YouTube Analytics API: Finding unique visitors on a channel
body: <p>I'm using YouTube Analytics API to find authorize a YouTube channel using OAuth2 and then trying to find the unique viewers that the channel encountered. This is the URL that I'm sending a request to:</p>
  
  <pre><code>https://www.googleapis.com/youtube/analytics/v1/reports?ids=channel==MINE&amp;start-date=2000-06-01&amp;end-date=2016-04-25&amp;metrics=uniques&amp;access_token=XXXX
  </code></pre>
  
  <p>I'm using the <code>uniques</code> metric in the above case. However, this is what is returned as response:</p>
  
  <pre><code>Array ( 
      [error] =&gt; Array ( 
          [errors] =&gt; Array ( 
              [0] =&gt; Array ( 
                  [domain] =&gt; 
                  global [reason] =&gt; 
                  badRequest [message] =&gt; 
                  The query is not supported. 
                  Check the documentation at 
                  https://developers.google.com/youtube/analytics/v1/available_reports 
                  for a list of supported queries. 
              ) 
          ) 
          [code] =&gt; 
          400 [message] =&gt; 
          The query is not supported. Check the documentation a 
          https://developers.google.com/youtube/analytics/v1/available_reports 
          for a list of supported queries. 
      ) 
   )
  </code></pre>
  
  <p>What seems to be wrong here?</p>