Hi, Could you try using a date range in your query by inserting the query "WHERE date DURING LAST_7_DAYS" after the FROM clause? Refer to the sample working query I used below.
Query: SELECT date, metrics.impressions FROM customer WHERE date DURING LAST_7_DAYS ORDER BY date LIMIT 10 If this still does not work, could you provide the screenshot of your error via *reply privately to author *so I could investigate this further? Regards, Dannison AdWords API Team On Wednesday, October 31, 2018 at 7:37:56 AM UTC+8, javoeria wrote: > > Hi, i'm trying to get the date of the first impression of a customer in > Ruby but i always got a NameError. > The query is: "SELECT date, metrics.impressions FROM customer ORDER BY > date LIMIT 10" > I don't think that the query is wrong because i tried with "month" instead > of "date" and it works. > Thanks. > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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]. Visit this group at https://groups.google.com/group/adwords-api. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/e29d7d02-6849-4498-a26d-6daac7e64d4f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
