enum StatementError.Reason (v202411)

  • The StatementError.Reason enumeration lists potential reasons for errors related to the execution of PQL statements within the Google Ad Manager API.

  • It includes specific reasons like VARIABLE_NOT_BOUND_TO_VALUE, which indicates a missing value for a variable in the statement.

  • It also includes a generic UNKNOWN reason to cover cases where the actual error reason isn't exposed in the current API version.

  • This enumeration helps developers to diagnose and troubleshoot errors encountered during interactions with various Google Ad Manager services through the API.


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.