Not able to SELECT metrics.search_click_share FROM ad_group, despite documentation saying it is possible

71 views
Skip to first unread message

Miles Hopper

unread,
Jun 21, 2022, 5:16:59 AM6/21/22
to Google Ads API and AdWords API Forum
Hi,

I am trying to select the following metric from the ad_group report: https://developers.google.com/google-ads/api/fields/v10/ad_group#metrics.search_click_share

with this query:

SELECT metrics.search_click_share
FROM ad_group

The documentation gives the impression that this will work but I see the following error in the query validator:

Fix your query to address the errors below and re-submit.

  • 'metrics.search_click_share' is not a valid field in the SELECT clause when 'ad_group' is the resource in the FROM clause. Fields in the SELECT must be 'Selectable'.
  • Query must contain at least one valid field in the SELECT clause.
Why does this not work despite the documentation saying this metric is available for the ad_group report?

Thanks!

Google Ads API Forum Advisor

unread,
Jun 21, 2022, 6:39:15 AM6/21/22
to miles....@gmail.com, adwor...@googlegroups.com
Hi Miles,

Thank you for raising this concern to the Google Ads API team.

Moving forward, I understand that selecting the 'metrics.search_click_share' field in your query returns an invalid query error. Kindly note that for you to know what fields are compatible or selectable to a specific report, you will need to select 'Yes it is' option in the dropdown of a specific report.

That being said, in the ad_group report, you will need to select the  'Yes it is' option in this dropdown and you will see that 'metrics.search_click_share' is not a selectable field for the said report.

Regards,
Google Logo
Carmela
Google Ads API Team
 


ref:_00D1U1174p._5004Q2byY6Z:ref

Miles Hopper

unread,
Jun 21, 2022, 7:34:17 AM6/21/22
to Google Ads API and AdWords API Forum
Thanks for the information
Reply all
Reply to author
Forward
0 new messages