enum TimeZoneError.Reason (v202411)

  • TimeZoneError.Reason outlines the potential causes for timezone-related errors in Google Ad Manager.

  • This enumeration includes reasons such as an invalid or incorrectly formatted timezone ID.

  • TimeZoneError.Reason is relevant for multiple Google Ad Manager services, including ForecastService, LineItemService, and others.

  • The timezone ID, if provided, should be in the tz database format (e.g., "America/Los_Angeles").

Describes reasons for invalid timezone.


Namespace
https://www.google.com/apis/ads/publisher/v202411
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.