Hello again!

Thank you for the detailed explanation regarding the "zero metrics" 
behavior. I appreciate you clarifying how the API handles empty data.
However, I apologize if my original post was not clear enough. The issue we 
are facing is not that the metrics are genuinely zero. The core problem is 
that we are unable to retrieve any performance metrics from age_range_view 
and gender_view specifically for Performance Max and Smart campaigns.
Let me clarify with a more precise example:
Campaign View (Works): As shown in my previous screenshots, when we query 
the campaign view for a specific PMax campaign on a given date, we see 
significant, non-zero metrics (e.g., thousands of impressions and hundreds 
of clicks). This confirms the campaign is active and generating data.
Other Views (Work): We can successfully query other views like device_view 
or geographic_view for the same PMax campaign and same date range, and we 
receive correct, non-zero metrics broken down by device or location.
Age/Gender View (Fails): The problem occurs only when we query 
age_range_view or gender_view for that exact same PMax campaign. In this 
case, the API returns results with all metrics as "0" or an empty result 
set, even though we know the campaign itself has substantial performance 
data.
So, the central question is not about zero metrics in general, but about 
data availability for specific campaign types.
To put it directly: Is it a known limitation that the Google Ads API does 
not provide performance metric breakdowns for Performance Max or Smart 
campaigns when segmented by age_range_view and gender_view?
The data clearly exists at the campaign level, but it seems to be 
unavailable or inaccessible when we request a demographic breakdown for 
these automated campaign types.
Thank you for looking into this specific scenario.

30 Haziran 2025 Pazartesi tarihinde saat 18:18:27 UTC+3 itibarıyla Google 
Ads API Forum Advisor şunları yazdı:

> Hi,
>
> Thank you for reaching out to the Google Ads API support team.
>
> Please find the below responses for your queries:
>
> 1) Why would filtering by segments.date cause metrics to become zero for 
> views like gender_view, even when data is present?
>
>    - When segments.date is in SELECT clause the API filters out rows 
>    where all metrics for that specific gender AND date combination are zero. 
>    If a gender had no activity on that precise date, the row is omitted. When 
>    segments.date is only in WHERE the API returns the gender_view 
>    <https://developers.google.com/google-ads/api/fields/v20/gender_view> 
> aggregated 
>    for the entire WHERE clause date range. If, for a specific gender, the sum 
>    of metrics for the selected fields across that filtered date range truly 
> is 
>    zero, then you'll see zero metrics for that gender. I would like to inform 
>    you that when the impressions, clicks, and conversions are zero, that data 
>    won't be returned by the API. For more information, refer to the zero 
>    metrics 
>    
> <https://developers.google.com/google-ads/api/docs/reporting/zero-metrics#rows_returned>
>    . 
>
>
> 2) Is this an expected behavior or a potential bug? It seems fundamentally 
> incorrect that an API would return a resource for a date range but show 
> none of its corresponding metrics for that same range. 
>    
>    - Please be informed that this is an expected behavior. As informed, 
>    the documentation on zero metrics 
>    
> <https://developers.google.com/google-ads/api/docs/reporting/zero-metrics#rows_returned>
>  explicitly 
>    states zero metrics are always excluded when segmenting a report, provided 
>    all selected metrics are zero and dates with no metrics are not returned 
> in 
>    such a report. 
>
> 3) Are we required to structure our queries differently for these views 
> compared to the campaign view to get accurate, date-filtered metrics? 
>    
>    - If you only want to retrieve rows that have non-zero metrics, you 
>    can follow the sample GAQL shared below for your reference: 
>    - 
>    
>    
>    SELECT gender_view.resource_name, metrics.clicks, 
>    metrics.impressions, segments.date, metrics.video_quartile_p100_rate,
>    metrics.video_quartile_p25_rate, metrics.video_quartile_p50_rate, 
>    metrics.video_quartile_p75_rate, metrics.video_views FROM gender_view 
>    WHERE segments.date BETWEEN '2025-06-26' AND '2025-06-26' AND 
>    metrics.clicks > 0 AND metrics.impressions > 0
>    
>    
> You can send the details via *Reply privately to the author option*, or 
> *direct 
> private reply* to this email.
>
> I hope this helps! Feel free to get back to us in case of any further 
> queries.
>   
>
> Thanks,
>   
> [image: Google Logo] Google Ads API Team 
> Feedback
> How was our support today? 
>
> [image: rating1] 
> <https://docs.google.com/forms/d/e/1FAIpQLSeRhIg5VeThVmbcD0c5DTWTDjmpJuSktN8vFelEL7_KV_Orbg/viewform?usp=pp_url&entry.141427034=1&entry.295079254=500Ht00001rgfrwIAA>
>   
>   [image: rating2] 
> <https://docs.google.com/forms/d/e/1FAIpQLSeRhIg5VeThVmbcD0c5DTWTDjmpJuSktN8vFelEL7_KV_Orbg/viewform?usp=pp_url&entry.141427034=2&entry.295079254=500Ht00001rgfrwIAA>
>   
>   [image: rating3] 
> <https://docs.google.com/forms/d/e/1FAIpQLSeRhIg5VeThVmbcD0c5DTWTDjmpJuSktN8vFelEL7_KV_Orbg/viewform?usp=pp_url&entry.141427034=3&entry.295079254=500Ht00001rgfrwIAA>
>   
>   [image: rating4] 
> <https://docs.google.com/forms/d/e/1FAIpQLSeRhIg5VeThVmbcD0c5DTWTDjmpJuSktN8vFelEL7_KV_Orbg/viewform?usp=pp_url&entry.141427034=4&entry.295079254=500Ht00001rgfrwIAA>
>   
>   [image: rating5] 
> <https://docs.google.com/forms/d/e/1FAIpQLSeRhIg5VeThVmbcD0c5DTWTDjmpJuSktN8vFelEL7_KV_Orbg/viewform?usp=pp_url&entry.141427034=5&entry.295079254=500Ht00001rgfrwIAA>
> [2025-06-30 15:17:40Z GMT] This message is in relation to case 
> "ref:!00D1U01174p.!500Ht01rgfrw:ref" (ADR-00316499)
>
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/adwords-api/873ba428-bc83-4768-ae79-26d47df50672n%40googlegroups.com.
  • Re... Enes Bulut
    • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
    • ... Enes Bulut

Reply via email to