enum NotNullError.Reason (v202508)

  • The provided content lists various services available within the Ad Manager API, including services for managing ad rules, adjustments, ads.txt, audience segments, and many others.

  • It also details the NotNullError dependency and its Reason enumeration, which outlines possible reasons for null errors such as null arguments or an unknown cause.

  • The NotNullError.Reason enumeration specifies reasons like ARG1_NULL, ARG2_NULL, ARG3_NULL for null arguments up to three, NULL for a generic null, and UNKNOWN for unexposed values.

The reasons for the target error.


Namespace
https://www.google.com/apis/ads/publisher/v202508
Enumeration Description
ARG1_NULL Assuming that a method will not have more than 3 arguments, if it does, return NULL
ARG2_NULL
ARG3_NULL
NULL
UNKNOWN The value returned if the actual value is not exposed by the requested API version.