BingAds / BingAds-Python-SDK

Other
116 stars 162 forks source link

Timezone error for America/Boise #204

Closed shs-odoo closed 2 years ago

shs-odoo commented 2 years ago

for https://github.com/BingAds/BingAds-Python-SDK/blob/main/examples/v13/customer_signup.py when i am trying with timezone America/Boise facing an error

unhandled exception: Server raised fault: 'The formatter threw an exception while trying to deserialize the message: There was an error while trying to deserialize parameter https://bingads.microsoft.com/Customer/v13:Account. The InnerException message was 'Invalid enum value 'MountainTime_US_Canada' cannot be deserialized into type 'Microsoft.AdCenter.ClientCenter.Api.DataContract.v13.Entity.TimeZoneType'. Ensure that the necessary enum values are present and are marked with EnumMemberAttribute attribute if the type has DataContractAttribute attribute.'. Please see InnerException for more details.

shs-odoo commented 2 years ago

@qitia can you please check

qitia commented 2 years ago

Can you try 'MountainTimeUSCanada' per the document? Let me know if it helps.