type TimeZoneError (v202408)
Stay organized with collections
Save and categorize content based on your preferences.
Errors related to timezones.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202408
Field
|
ApiError (inherited)
|
fieldPath
|
xsd:string
The OGNL field path to identify cause of error.
|
fieldPathElements
|
FieldPathElement[]
A parsed copy of the field path. For example, the field path "operations[1].operand"
corresponds to this list: {FieldPathElement(field = "operations", index = 1),
FieldPathElement(field = "operand", index = null)}.
|
trigger
|
xsd:string
The data that caused the error.
|
errorString
|
xsd:string
A simple string representation of the error and reason.
|
TimeZoneError
|
reason
|
TimeZoneError.Reason
Enumerations
-
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."],[[["\u003cp\u003eTimeZoneError is an error type in Google Ad Manager that indicates issues with timezone data.\u003c/p\u003e\n"],["\u003cp\u003eIt typically occurs when an invalid timezone ID is provided or if the format is incorrect.\u003c/p\u003e\n"],["\u003cp\u003eTimezone IDs should be in tz database format (e.g., "America/Los_Angeles").\u003c/p\u003e\n"],["\u003cp\u003eThis error can be encountered while using various services such as ForecastService, LineItemService, etc.\u003c/p\u003e\n"],["\u003cp\u003eTimeZoneError inherits from ApiError and provides a specific 'reason' field for identifying the cause of the error.\u003c/p\u003e\n"]]],[],null,["# type TimeZoneError (v202408)\n\n**Service** \n[ForecastService](/ad-manager/api/reference/v202408/ForecastService.TimeZoneError) [LineItemService](/ad-manager/api/reference/v202408/LineItemService.TimeZoneError) [LineItemTemplateService](/ad-manager/api/reference/v202408/LineItemTemplateService.TimeZoneError) [OrderService](/ad-manager/api/reference/v202408/OrderService.TimeZoneError) [ProposalLineItemService](/ad-manager/api/reference/v202408/ProposalLineItemService.TimeZoneError) [ProposalService](/ad-manager/api/reference/v202408/ProposalService.TimeZoneError) **UserService** **Inheritance** \n[ApiError](/ad-manager/api/reference/v202408/UserService.ApiError) \n▼\n[ApiVersionError](/ad-manager/api/reference/v202408/UserService.ApiVersionError) [AuthenticationError](/ad-manager/api/reference/v202408/UserService.AuthenticationError) [CollectionSizeError](/ad-manager/api/reference/v202408/UserService.CollectionSizeError) [CommonError](/ad-manager/api/reference/v202408/UserService.CommonError) [CustomFieldValueError](/ad-manager/api/reference/v202408/UserService.CustomFieldValueError) [EntityLimitReachedError](/ad-manager/api/reference/v202408/UserService.EntityLimitReachedError) [FeatureError](/ad-manager/api/reference/v202408/UserService.FeatureError) [InternalApiError](/ad-manager/api/reference/v202408/UserService.InternalApiError) [InvalidEmailError](/ad-manager/api/reference/v202408/UserService.InvalidEmailError) [NotNullError](/ad-manager/api/reference/v202408/UserService.NotNullError) [ParseError](/ad-manager/api/reference/v202408/UserService.ParseError) [PermissionError](/ad-manager/api/reference/v202408/UserService.PermissionError) [PublisherQueryLanguageConte...](/ad-manager/api/reference/v202408/UserService.PublisherQueryLanguageContextError \"PublisherQueryLanguageContextError\") [PublisherQueryLanguageSynta...](/ad-manager/api/reference/v202408/UserService.PublisherQueryLanguageSyntaxError \"PublisherQueryLanguageSyntaxError\") [QuotaError](/ad-manager/api/reference/v202408/UserService.QuotaError) [RequiredCollectionError](/ad-manager/api/reference/v202408/UserService.RequiredCollectionError) [RequiredError](/ad-manager/api/reference/v202408/UserService.RequiredError) [ServerError](/ad-manager/api/reference/v202408/UserService.ServerError) [StatementError](/ad-manager/api/reference/v202408/UserService.StatementError) [StringFormatError](/ad-manager/api/reference/v202408/UserService.StringFormatError) [StringLengthError](/ad-manager/api/reference/v202408/UserService.StringLengthError) [TeamError](/ad-manager/api/reference/v202408/UserService.TeamError) **TimeZoneError** [TokenError](/ad-manager/api/reference/v202408/UserService.TokenError) [TypeError](/ad-manager/api/reference/v202408/UserService.TypeError) [UniqueError](/ad-manager/api/reference/v202408/UserService.UniqueError)\n\nErrors related to timezones.\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202408`\n\n| Field ----- ||\n|-------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| **`ApiError` (inherited)** ||\n| ### `fieldPath` | ` `xsd:`string` The OGNL field path to identify cause of error. |\n| ### `fieldPathElements` | ` `[FieldPathElement](/ad-manager/api/reference/v202408/UserService.FieldPathElement)`[]` A parsed copy of the field path. For example, the field path \"operations\\[1\\].operand\" corresponds to this list: {FieldPathElement(field = \"operations\", index = 1), FieldPathElement(field = \"operand\", index = null)}. |\n| ### `trigger` | ` `xsd:`string` The data that caused the error. |\n| ### `errorString` | ` `xsd:`string` A simple string representation of the error and reason. |\n| **`TimeZoneError`** ||\n| ### `reason` | ` `[TimeZoneError.Reason](/ad-manager/api/reference/v202408/UserService.TimeZoneError.Reason)` ` *** ** * ** *** **Enumerations** `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. \u003cbr /\u003e |"]]