Hi Sofia, Unfortunately, I'm not aware of a mapping from the .NET time zones to the API time zones <https://developers.google.com/adwords/api/docs/appendix/timezones>. 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 <https://github.com/googleads/googleads-dotnet-lib/issues> 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 On Monday, September 22, 2014 1:07:38 PM UTC-4, [email protected] wrote: > > 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 > > > > > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 --- You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. Visit this group at http://groups.google.com/group/adwords-api. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/7f647638-becc-49af-b881-7d35a3fc7dfb%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
