enum InvalidColorError.Reason (v202411)

  • The InvalidColorError object, within the InventoryService, indicates an issue with a color value provided to the Ad Manager API.

  • This error arises when the color format is incorrect (not a valid hexadecimal color) or if the reason for the error is unknown in the current API version.

  • The error is part of the namespace https://www.google.com/apis/ads/publisher/v202411 and has two potential reason codes: INVALID_FORMAT and UNKNOWN.


Namespace
https://www.google.com/apis/ads/publisher/v202411
Enumeration Description
INVALID_FORMAT The provided value is not a valid hexadecimal color.
UNKNOWN The value returned if the actual value is not exposed by the requested API version.