enum StatementError.Reason (v202411)

  • The StatementError.Reason enumeration lists potential reasons for errors that occur during statement execution within the Google Ad Manager API.

  • It primarily focuses on identifying if a variable is missing a value (VARIABLE_NOT_BOUND_TO_VALUE) or if the error reason is unknown to the current API version (UNKNOWN).

  • Developers should refer to this enumeration when troubleshooting statement errors encountered while using services such as InventoryService, AdRuleService, and others listed within the Ad Manager API documentation.


Namespace
https://www.google.com/apis/ads/publisher/v202411
Enumeration Description
VARIABLE_NOT_BOUND_TO_VALUE A bind variable has not been bound to a value.
UNKNOWN The value returned if the actual value is not exposed by the requested API version.