AI-generated Key Takeaways
-
The TimeZoneError is related to issues with timezones in the Ad Manager API.
-
This error can occur in various services including ForecastService, LineItemService, LineItemTemplateService, OrderService, ProposalLineItemService, ProposalService, and UserService.
-
TimeZoneError inherits from ApiError and includes fields such as
fieldPath,fieldPathElements,trigger, anderrorString. -
Specific reasons for a TimeZoneError include
INVALID_TIMEZONE_IDandTIMEZONE_ID_IN_WRONG_FORMAT. -
The expected format for a timezone ID is the tz database format, like "America/Los_Angeles".
Errors related to timezones.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202411
Field
ApiError
(inherited) fieldPath
xsd:
string
The OGNL field path to identify cause of error.
fieldPathElements
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
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.

