enum NotNullError.Reason (v202411)

  • This documentation details the NotNullError.Reason enumeration within the Google Ad Manager API.

  • NotNullError.Reason outlines the various reasons why a NotNullError might occur, primarily due to null arguments.

  • The enumeration includes specific reasons like ARG1_NULL, ARG2_NULL, ARG3_NULL, indicating which argument was null.

  • It also provides a general NULL reason and an UNKNOWN reason for cases where the specific reason isn't exposed by the API.

  • This information is crucial for developers troubleshooting errors related to null values in Ad Manager API calls.

The reasons for the target error.


Namespace
https://www.google.com/apis/ads/publisher/v202411
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.