Hi team, I was having difficulties at getting some data from API. I have tried this query in Google Ads API Beta v3 and v4 but always getting this error.
The documentation says it's available https://developers.google.com/google-ads/api/fields/v4/ad_group#metrics.search_click_share I can also see that the field is available from the UI. -------------------------------------- Query used: query = ( "SELECT " "segments.date, " "ad_group.id, " "ad_group.name, " "metrics.search_click_share " # This column throws API error for unknown reason "FROM ad_group " 'WHERE segments.date BETWEEN "2020-08-01" AND "2020-08-07" ' "AND metrics.impressions > 0 " "ORDER BY segments.date DESC " ) -------------------------------------- -------------------------------------- Part of error message from the API: query_error: PROHIBITED_METRIC_IN_SELECT_OR_WHERE_CLAUSE } message: "Cannot select or filter on the following metrics: \'search_click_share\'(could not support requested resources: \'AD_GROUP\'), since metric is incompatible with the resource in the FROM clause or other selected segmenting resources." -------------------------------------- Can you please help on this? Thank you! -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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/4d73bb2c-bf59-4470-a12a-932e9a602b4ao%40googlegroups.com.