Hello, I'm exploring the Google Ads API, and I have a question about including the geo_target_* segments in GAQL queries.
According to the ad group resource documentation <https://developers.google.com/google-ads/api/fields/v6/ad_group>, it seems like any of those geo target segments should be selectable, provided that I do not include any ad_group fields in the set of select fields. However, I receive "PROHIBITED_SEGMENT_IN_SELECT_OR_WHERE_CLAUSE" errors indicating that I can't select that field for the ad_group resource. See my example below. What am I missing here? *Query* SELECT segments.geo_target_country, metrics.impressions, metrics.clicks, metrics.ctr, metrics.conversions, metrics.cost_micros FROM ad_group WHERE segments.date BETWEEN '2020-01-21' AND '2021-03-22' *Result* "errors": [ { "errorCode": { "queryError": "PROHIBITED_SEGMENT_IN_SELECT_OR_WHERE_CLAUSE" }, "message": "Cannot select or filter on the following segments: 'segments.geo_target_country'(could not support requested resources: 'AD_GROUP'), since segment is incompatible with the resource in the FROM clause or other selected segmenting resources." } ] -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 "AdWords API and Google Ads 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 on the web visit https://groups.google.com/d/msgid/adwords-api/583f1314-29fa-4687-b1f9-3d57c68c3592n%40googlegroups.com.