Conversion Time issue for uploading offline conv

26 views
Skip to first unread message

anal...@apexchat.com

unread,
Sep 22, 2014, 1:07:38 PM9/22/14
to adwor...@googlegroups.com
Hi,
I am using Adwords API for uploading offline conversions using C#. I understand that the conversion time has to be in this format: "20140216 101010 Asia/Tokyo". When sending an offline conversion our server would convert the current time in the required timezone and add that timezone to the conversion time string.
The problem is that C# has its own way of representing Timezones which is different from what will be accepted by the Adwords server. Is there a way to convert c# timezone to an equivalent of whats in this document:
https://developers.google.com/adwords/api/docs/appendix/timezones

Any help would be appreciated.

Thanks
Sofia




Josh Radcliff (AdWords API Team)

unread,
Sep 23, 2014, 3:11:11 PM9/23/14
to adwor...@googlegroups.com
Hi Sofia,

Unfortunately, I'm not aware of a mapping from the .NET time zones to the API time zones. However, you can download the API time zones as a CSV and use that to create a mapping for the time zones you'll need. I wouldn't expect changes to either side of the mapping, so you should only have to do that once. You may want to file an issue on the .NET library issues page to ask for this mapping to be included in the library as well.

That being said, if anyone else on the forum has already created this type of utility, please chime in!

Thanks,
Josh, AdWords API Team

Josh Radcliff (AdWords API Team)

unread,
Sep 23, 2014, 3:15:22 PM9/23/14
to adwor...@googlegroups.com
Also, I just ran across the following stackoverflow post:


It contains some tips on translating time zones from the format used by the API into .NET time zones.

Cheers,
Josh, AdWords API Team
Reply all
Reply to author
Forward
0 new messages