One of the conditions in the query is invalid

24 views
Skip to first unread message

EladB

unread,
Oct 9, 2021, 6:12:32 PM10/9/21
to AdWords API and Google Ads API Forum
Hello,
I have followed the official code [from][1]:

[![enter image description here][2]][2]



But Ads-script editor in GAds says my query is invalid:

  var today = AdsApp.report("SELECT segments.hour, segments.day_of_week, metrics.clicks, metrics.impressions, metrics.conversions, metrics.cost_micros FROM customer WHERE segments.date BETWEEN '2021-10-09' AND '2021-10-09'", {apiVersion: 'v201809'});



`Invalid reporting query: ACCOUNT_PERFORMANCE_REPORT.` 
Thanks

EladB

unread,
Oct 9, 2021, 6:18:21 PM10/9/21
to AdWords API and Google Ads API Forum
Fixed.

Google Ads API Forum Advisor

unread,
Oct 11, 2021, 10:50:55 AM10/11/21
to adwor...@googlegroups.com
Hello,

We're glad to see the issue was resolved. However, as this issue is Ads scripts related, we recommend using the Ads scripts forum in the future.

Regards,
Matt
Google Ads API Team

Google Logo
Matt
Google Ads API Team
 


ref:_00D1U1174p._5004Q2PIMCG:ref
Reply all
Reply to author
Forward
0 new messages