Hi, As per provided information, I understand that you are getting the PROHIBITED_SEGMENT_WITH_METRIC_IN_SELECT_OR_WHERE_CLAUSE error when trying to retrieve the data from the age_range_view resource. This error is encountered because a segment you have included together with a metric that it is incompatible with in the SELECT or WHERE clause. Please note that the segments.geo_target_city field is not supported with the age_range_view resource. I would recommend you to kindly refer to this age_range_view documentation that shows all metrics and segments that can be put in the same SELECT clause as the fields of age_rage_view. I would suggest you use the filter in the provided documentation to show only the fields that can be used when an age_rage_view resource is specified in the FROM clause. To assist you further with the geographic_view clicks data, please provide the Google Ads customer ID for better investigation.
Thanks, Google Ads API Team Feedback How was our support today? [2025-02-28 08:29:00Z GMT] This message is in relation to case "ref:!00D1U01174p.!5004Q02Lm1k3:ref" (ADR-00075283) -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 [email protected] To unsubscribe from this group, send email to [email protected] 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 [email protected]. To view this discussion visit https://groups.google.com/d/msgid/adwords-api/14yty000000000000000000000000000000000000000000000SSDWWC00iw-kTQ_HSQuqu7Y5iS2BNw%40sfdc.net.
