Hi Wei, Thank you for reaching out. You are receiving this error "The following field must be present in SELECT clause: 'metrics.impressions'." as you had put 'ORDER BY metrics.impressions DESC ' in your query. If you remove this ORDER BY clause, the issue should be fixed. Please let me know if you have any further concerns.
Thanks and regards, Xiaoming, Google Ads API Team ref:_00D1U1174p._5001UZV7gI: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 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/Jh-1N000000000000000000000000000000000000000000000Q80TQT008IO5v0RBTrW8IsDolzIO8Q%40sfdc.net.