Hi Brandon,
I explained a bit on the other
thread<https://groups.google.com/d/topic/adwords-api/hK0WXGw9nzQ/discussion>.
Basically, I think you should just need to specify date & time with the
account timezone, no need to shift for your current timezone. If you could
explain your use case, we might be able to provide more specific advice.
- Kevin Winter
AdWords API Team
On Wednesday, August 15, 2012 8:44:22 AM UTC-4, Brandon Parise wrote:
>
> This is the first time that we pulled AccountTimeZoneId in reports so I am
> not sure if this has always been the case. It's creating issues on our end
> since at the moment -05:00 is US/Central, not Eastern so our DateTime logic
> gets messed up;
>
> $date = new DateTime('2012-07-15 00:00:00 -05:00'); // 2012-07-15 00:00:00
> $date->setTimeZone(new DateTimeZone('America/New_York')); // 2012-07-15
> 01:00:00
>
> Changing TimeZone to EST shifts the time +1 hour due to the incorrect
> offset coming down through the reports.
>
> Brandon
>
> On Wed, Aug 15, 2012 at 5:39 AM, Oliver <[email protected]<javascript:>
> > wrote:
>
>> Brandon, are you saying you only just started getting inaccurate results
>> for timezone? Has it not always been like this?
>>
>>
>> On Tuesday, August 14, 2012 9:31:51 PM UTC+1, Brandon Parise wrote:
>>>
>>> The timezone is not being shifted based upon the observance of daylight
>>> savings time.
>>>
>>> I pulled a report for today:
>>>
>>> 103526900,2012-08-14,1.0,4,1,**7.59,9,(GMT-05:00) Eastern Time
>>>
>>> The current offset should be GMT-04:00
>>>
>>> B
>>>
>>> On Wednesday, February 29, 2012 6:05:16 PM UTC-5, Eric Koleda wrote:
>>>>
>>>> Hi All,
>>>>
>>>> We've recently updated the timezone reference table in our
>>>> documentation:
>>>>
>>>> http://code.google.com/apis/**adwords/docs/appendix/**timezones.html<http://code.google.com/apis/adwords/docs/appendix/timezones.html>
>>>>
>>>> This table now includes the POSIX name of the timezone used by the
>>>> CreateAccountService as well as the display name returned in the
>>>> AccountTimeZoneId file of reports. For example, the timezone
>>>> "America/New_York" is displayed as "(GMT-05:00) Eastern Time" in reports.
>>>> The offset displayed in the parenthesis will change based upon
>>>> the observance of daylight savings time, etc.
>>>>
>>>> We are still working to making it simpler to retrieve the timezone of
>>>> an account, but for now downloading it in a report is the only method
>>>> available.
>>>>
>>>> Best,
>>>> - Eric Koleda, AdWords API Team
>>>>
>>> --
>> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>> 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]<javascript:>
>> To unsubscribe from this group, send email to
>> [email protected] <javascript:>
>> For more options, visit this group at
>> http://groups.google.com/group/adwords-api?hl=en
>>
>
>
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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