title: Some Dimensions Cause Empty Response for GA4 runReport API
body: <p>I believe this is a regression and used to work, but when I make queries against the GA4 RunReport API and request data which includes the dimensions &quot;source&quot;, &quot;medium&quot; or &quot;defaultChannelGrouping&quot; I get a 200 from the server with no rows.</p>
  <p>For Example:</p>
  <pre><code>const dimensions = ['browser', 'source'];
  const basicDataMetrics = ['sessions'];
  const body = {
              dimensions: dimensions.map((z) =&gt; { return { name: z } }),
              metrics: metrics.map((z) =&gt; { return { name: z } }),
              dateRanges: [
                  {
                      endDate: dateToQuery,
                      startDate: dateToQuery
                  },
              ],
              offset: startIndex,
              limit: maxResults,
              keepEmptyRows: true,
              returnPropertyQuota: true
          }
  const ga4Response = await axios.post(`https://analyticsdata.googleapis.com/v1beta/properties/${webPropertyId}:runReport`, body, { headers });
  </code></pre>
  <p>In the above example, gaResponse.data will have something like</p>
  <pre><code>{
    dimensionHeaders: [
      {
        name: &quot;browser&quot;,
      },
      {
        name: &quot;source&quot;,
      },
    ],
    metricHeaders: [
      {
        name: &quot;sessions&quot;,
        type: &quot;TYPE_INTEGER&quot;,
      },
    ],
    metadata: {
      currencyCode: &quot;EUR&quot;,
      timeZone: &quot;Europe/Paris&quot;,
    },
    kind: &quot;analyticsData#runReport&quot;,
  }
  </code></pre>
  <p>Notice the completely missing rows or rowCount. If I omit 'source' from my dimensions everything works as expected. I've noticed that 'medium' and 'defaultChannelGrouping' also cause this behavior. All of these dimensions used to be valid and are still valid accoring to <a href="https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#dimensions" rel="nofollow noreferrer">the documentation</a> . Does anyone know what I can do to get results for these dimensions? Are they deprecated for this API?</p>