Learn business growth with Google Analytics 4 › Forums › Google Analytics 4 › Retrieving GA4 Google Analytics data for dimensions with missing or unset values › Reply To: Retrieving GA4 Google Analytics data for dimensions with missing or unset values
-
You are correct in your observation. By default, Google Analytics GA4 omits rows where values of the specified dimensions are null. However, you have incorporated the ‘keep_empty_rows’ argument in your RunReportRequest, and have set it to ‘True’. This should ideally prevent the exclusion of rows with null values. It looks like your code is correct.
If the problem persists, it may be due to internal GA4 settings or perhaps a bug. You might want to consider contacting GA4’s support team for further assistance. Since the code appears to be correctly asking for rows with null values to be included, the problem is likely rooted elsewhere.