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 <[email protected]> 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 "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 <[email protected]>
> wrote:
>
>
>
>
>
>
>
> > 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 predicates.
> > This way, you don't have to create a new report definition every day,
> > you can reuse the existing report definition. 
> > Seehttp://code.google.com/apis/adwords/docs/reference/latest/ReportDefin...
> > for details.
>
> > Cheers,
> > Anash P. Oommen,
> > AdWords API Advisor.
>
> > On Dec 14, 2:29 am, Brandon Parise <[email protected]> wrote:
>
> > > 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 = 'GREATER_THAN_EQUALS';
> > > $startDatePredicate->values = array ('20101212');
>
> > > $endDatePredicate = new Predicate ();
> > > $endDatePredicate->field = 'Date';
> > > $endDatePredicate->operator = 'LESS_THAN_EQUALS';
> > > $endDatePredicate->values = array ('20101212');
>
> > > $selector->predicates = array($startDatePredicate, $endDatePredicate);

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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

Reply via email to