title: Can't get views by insightPlaybackLocationType — YouTube Analytics API
body: <p>So I'm using the 'google-api-client' gem with Rails, and I'm attempting to call the URL below in order to get video views by insightPlaybackLocationType. This is a call that appears to be allowable from the <a href="https://developers.google.com/youtube/analytics/v1/available_reports%20Available%20Reports" rel="nofollow">Available Reports</a> documentation page.</p>
  
  <p>Unfortunately, I found that I was not able to make this call by using the API Explorer tool provided by Google.</p>
  
  <p>URL:</p>
  
  <p><a href="https://www.googleapis.com/youtube/analytics/v1beta1/reports?metrics=views&amp;ids=channel==CHANNEL_ID&amp;dimensions=day,insightPlaybackLocationType&amp;filter=video==VIDEO_ID&amp;start-date=2013-01-15&amp;end-date=2013-01-16&amp;start-time=1970-01-01" rel="nofollow">https://www.googleapis.com/youtube/analytics/v1beta1/reports?metrics=views&amp;ids=channel==CHANNEL_ID&amp;dimensions=day,insightPlaybackLocationType&amp;filter=video==VIDEO_ID&amp;start-date=2013-01-15&amp;end-date=2013-01-16&amp;start-time=1970-01-01</a></p>
  
  <p>Result:</p>
  
  <pre><code>{
    :error=&gt;
      {
        "errors"=&gt;[
          {
            "domain"=&gt;"global",
            "reason"=&gt;"invalid",
            "message"=&gt;"Unknown identifier (insightPlaybackLocationType) given in field parameters.dimensions."
          }
        ],
        "code"=&gt;400,
        "message"=&gt;"Unknown identifier (averageViewDuration) given in field parameters.dimensions."
      }
  }
  </code></pre>
  
  <p>I'm not sure what extra data I can provide in the initial description of this bug, but as stated before I am making the call to the API with the Google::APIClient Ruby library. The actual code itself looks like this:</p>
  
  <pre><code>client.execute(
    :api_method =&gt; api.reports.query,
    :parameters =&gt; options
  )
  </code></pre>