enum TimeZoneError.Reason (v202508)

  • TimeZoneError.Reason describes various reasons for invalid timezone IDs.

  • Invalid timezone IDs can occur if the ID is not supported or in the wrong format.

  • The correct format for timezone IDs is the tz database format, such as "America/Los_Angeles".

  • An UNKNOWN value is returned if the actual reason is not exposed by the API version.

Describes reasons for invalid timezone.


Namespace
https://www.google.com/apis/ads/publisher/v202508
Enumeration Description
INVALID_TIMEZONE_ID Indicates that the timezone ID provided is not supported.
TIMEZONE_ID_IN_WRONG_FORMAT Indicates that the timezone ID provided is in the wrong format. The timezone ID must be in tz database format (e.g. "America/Los_Angeles").
UNKNOWN The value returned if the actual value is not exposed by the requested API version.