enum StatementError.Reason (v202411)

  • This page documents the StatementError.Reason enumeration for the Google Ad Manager API.

  • StatementError.Reason provides context on why a statement resulted in an error.

  • Two reasons are currently defined: VARIABLE_NOT_BOUND_TO_VALUE and UNKNOWN.

  • VARIABLE_NOT_BOUND_TO_VALUE indicates a missing value for a bind variable within a statement.

  • UNKNOWN serves as a fallback when the reason isn't exposed by the specified API version.


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.