Re: What's wrong with this query

2020-07-17 Thread Dihan Cheng
thank you! On Thursday, July 16, 2020 at 10:32:39 AM UTC-4, adsapiforumadvisor wrote: > > Hi Dihan, > > You should give both start and end date when using the date field. If you > don't know the start date of your account, you can navigate to your account > and choose the date range All Time.

Re: What's wrong with this query

2020-07-16 Thread Dihan Cheng
Hi Anthony, Thanks for helping! Is it possible to include date range only with segments.date <= "some date" ? I want to get all the entities before current date, but I don't know about the starting date. Dihan On Thursday, July 16, 2020 at 9:10:17 AM UTC-4, adsapiforumadvisor wrote: > >

RE: What's wrong with this query

2020-07-16 Thread Google Ads API Forum Advisor Prod
Hello, If you are selecting the field segments.date, you should also include a date range. Let me know if you still face issues after including this. Cheers, Anthony Google Ads API Team ref:_00D1U1174p._5004Q21mSY4:ref -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on

Re: What's wrong with this query

2020-07-15 Thread Dihan Cheng
actually even the simplest form does not work, SELECT ad_group_ad.ad.id, segments.date FROM ad_group_ad On Thursday, July 16, 2020 at 12:50:57 AM UTC-4, Dihan Cheng wrote: > > Hi, I'm trying to select the following fields from resource ad_group_ad , > it's working before I add segments.date,

What's wrong with this query

2020-07-15 Thread Dihan Cheng
Hi, I'm trying to select the following fields from resource ad_group_ad , it's working before I add segments.date, wondering what is wrong. I've used the interactive gaql builder, the following query is valid from the builder. SELECT