Hi Xiaoming, This is quite a serious deviation from how the Adwords API behaves. Including a field in the SELECT clause causes segmentation which might not be wanted. It's perfectly valid to want to filter the data (WHERE) but not segment it (SELECT). If data is segmented, we can not easily get the aggregate performance we want. There should be no logical or business reason to have to include a field in SELECT for it to also be included in WHERE.
There are a few worrying differences between the new and old API. Unless the Ads API behaves exactly like the Adwords API from a logical point of view, a LOT of apps will break when migrating and there is no easy fix to this. Why is the new API being done in such a way that is different from how you pushed your old API for years? These are not small changes; they are major breaking ones with no added benefit to your users. Please guys consider the impact your new API is going to have. We already are going to 'waste' so much effort to upgrade for no functional benefit. Please consider making the life of your users easier. Oliver On Wednesday, 15 April 2020 20:34:18 UTC+1, adsapiforumadvisor wrote: > > Hi Hiromi, > > This is expected behavior in the Google Ads API. Whenever you use a > segment criterion in the WHERE clause it is necessary to put the segment > criterion in the SELECT clause. Please let me know if you have any further > concerns. > > Thanks and regards, > Xiaoming, Google Ads API Team > > > > > ref:_00D1U1174p._5001UZXzFz:ref > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 "AdWords API and Google Ads API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/c6d826e1-ce35-407d-8881-5673a8d43927%40googlegroups.com.
