title: Youtube Analytics API Demographic dimension "gender" shows on analytics dashboard but gives query invalid on API Explorer
body: <p>I am currently working with the Youtube Analytics API,</p>
  
  <p>So far i have been able to pull all the data that youtube has to offer except the gender/ageGroup dimensions the query fails everytime,</p>
  
  <p>The <a href="https://developers.google.com/youtube/analytics/v1/dimsmets/dims" rel="nofollow">docs</a> point to examples to playbacklocation and not the demographic it's self.</p>
  
  <p>I am using the <a href="https://code.google.com/p/google-api-php-client/" rel="nofollow">PHP Client Library</a>, </p>
  
  <p>== PHP == </p>
  
  <pre><code>$analytics_gender = new Google_YouTubeAnalyticsService($client);
  
  $optparam = array('dimensions' =&gt; 'gender');
  
  $metrics= "views";
  
  $analytics_demo_gender = $analytics_gender-&gt;reports-&gt;query("channel==".$channelId, "2012-08-14", "2013-05-30", $metrics, $optparam);
  </code></pre>
  
  <p>When i run this query i get an <code>error (400) The query is not supported.</code> even though it works just fine for all the other metrics and dimensions.</p>