enum NotNullError.Reason (v202411)

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

  • NotNullError.Reason outlines the reasons why a target error occurred, primarily due to null arguments.

  • The enumeration includes specific reasons like ARG1_NULL, ARG2_NULL, ARG3_NULL, as well as general reasons like NULL and UNKNOWN.

  • This information is crucial for developers to understand and handle errors related to null values when using the Ad Manager API.

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.