Hi Dannison,
Your query works fine but i need to check the dates from months or years 
ago of a customer, so it's not a good solution for me.
I check the error again and the error says: "NameError (uninitialized 
constant Google::Ads::GooglAads)"
This is probably a misspelling inside the gem, i have the last version 0.5.0
Thanks.

El miércoles, 31 de octubre de 2018, 7:17:30 (UTC+1), Dannison Yao (AdWords 
API Team) escribió:
>
> 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/e496fd13-6ab7-4aa3-b3ba-3d10a090e6f1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • ... javoeria
    • ... 'Dannison Yao (AdWords API Team)' via AdWords API and Google Ads API Forum
      • ... javoeria
        • ... 'Luis Xander Talag (AdWords API Team)' via AdWords API and Google Ads API Forum
      • ... javoeria

Reply via email to