enum TimeZoneError.Reason (v202502)
Stay organized with collections
Save and categorize content based on your preferences.
Describes reasons for invalid timezone.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202502
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.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-06 UTC.
[null,null,["Last updated 2025-08-06 UTC."],[],["The core content describes the `TimeZoneError` and its possible `Reason` values within a service. It defines that the `TimeZoneError` namespace is `https://www.google.com/apis/ads/publisher/v202502`. The `TimeZoneError.Reason` has three possible values: `INVALID_TIMEZONE_ID` (unsupported ID), `TIMEZONE_ID_IN_WRONG_FORMAT` (incorrect format, must be in tz database format), and `UNKNOWN` (value not exposed by API). This error can appear in multiple services, including `ForecastService`, `LineItemService`, `OrderService`, `ProposalLineItemService`, `ProposalService` and `UserService`.\n"],null,["# enum TimeZoneError.Reason (v202502)\n\n**Service** \n**ForecastService** [LineItemService](/ad-manager/api/reference/v202502/LineItemService.TimeZoneError.Reason) [LineItemTemplateService](/ad-manager/api/reference/v202502/LineItemTemplateService.TimeZoneError.Reason) [OrderService](/ad-manager/api/reference/v202502/OrderService.TimeZoneError.Reason) [ProposalLineItemService](/ad-manager/api/reference/v202502/ProposalLineItemService.TimeZoneError.Reason) [ProposalService](/ad-manager/api/reference/v202502/ProposalService.TimeZoneError.Reason) [UserService](/ad-manager/api/reference/v202502/UserService.TimeZoneError.Reason) **Dependencies** \n[TimeZoneError](/ad-manager/api/reference/v202502/ForecastService.TimeZoneError) \n▼\n**TimeZoneError.Reason**\n\nDescribes reasons for invalid timezone.\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202502`\n\n| Enumeration | Description |\n|-------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------|\n| `INVALID_TIMEZONE_ID` | Indicates that the timezone ID provided is not supported. |\n| `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\"). |\n| `UNKNOWN` | The value returned if the actual value is not exposed by the requested API version. |"]]