Re: Selector.dateRange vs Predicate

2010-12-21 Thread AdWords API Advisor
Hi Brandon, For reports, the timezone of the account is used to calculate the TODAY range. Best, - Eric Koleda, AdWords API Team On Dec 14, 8:48 am, Brandon Parise wrote: > The issue, too, is if I enter "TODAY" how is that affected by > timezones? > If I run it at 12:01AM EST on Dec 20 for "TOD

Re: Selector.dateRange vs Predicate

2010-12-14 Thread Brandon Parise
The issue, too, is if I enter "TODAY" how is that affected by timezones? If I run it at 12:01AM EST on Dec 20 for "TODAY" will it return data for 12/20 or 12/19 or does it depend on the timezones set on each account? Thanks! On Dec 14, 5:05 am, AdWords API Advisor wrote: > Hi Brandon, > > I have

Re: Selector.dateRange vs Predicate

2010-12-14 Thread Brandon Parise
Oh, interesting! So when you add/edit a ReportDefinition and get an ID back, you can continue to re-download that same report using that ID? I am used to the whole "request report, get id, use the id to download the report" process. Thanks, Brandon On Dec 14, 5:05 am, AdWords API Advisor wrote:

Re: Selector.dateRange vs Predicate

2010-12-14 Thread AdWords API Advisor
Hi Brandon, I haven't tried it myself, but I believe that both should give you same results. Since you mentioned that you want to retrieve reports for "Yesterday", a better way would be to set the ReportDefinition.dateRangeType as Yesterday, and leave out the selector.dateRange and Date predicate

Selector.dateRange vs Predicate

2010-12-13 Thread Brandon Parise
Want to load Keyword Performance Report for "yesterday"... 2010-12-12 through 2010-12-12 What is the difference between: $selector->dateRange = new DateRange('20101212', '20101212'); vs. $startDatePredicate = new Predicate (); $startDatePredicate->field = 'Date'; $startDatePredicate->operator