Class AdRequestError.Code

  • Enclosing class:
    AdRequestError

    public static final class AdRequestError.Code
    extends java.lang.Object
    Error codes to explain the main cause.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int INTERNAL_ERROR
      Ad request failed with internal error.
      static int INVALID_REQUEST
      Ad request configured incorrectly.
      static int NETWORK_ERROR
      Ad request failed with connection error.
      static int NO_FILL
      Ad request completed successfully, but there are no ads available.
      static int SYSTEM_ERROR
      The ad request failed with system error.
      static int UNKNOWN_ERROR
      Ad request failed with unknown error.
    • Constructor Summary

      Constructors 
      Constructor Description
      Code()  
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • UNKNOWN_ERROR

        public static final int UNKNOWN_ERROR
        Ad request failed with unknown error.
        See Also:
        Constant Field Values
      • INTERNAL_ERROR

        public static final int INTERNAL_ERROR
        Ad request failed with internal error.
        See Also:
        Constant Field Values
      • INVALID_REQUEST

        public static final int INVALID_REQUEST
        Ad request configured incorrectly.
        See Also:
        Constant Field Values
      • NETWORK_ERROR

        public static final int NETWORK_ERROR
        Ad request failed with connection error.
        See Also:
        Constant Field Values
      • NO_FILL

        public static final int NO_FILL
        Ad request completed successfully, but there are no ads available.
        See Also:
        Constant Field Values
      • SYSTEM_ERROR

        public static final int SYSTEM_ERROR
        The ad request failed with system error. For instance a WebView can't access the database file. NOTE: Don't try to load/reload ads if you've got this error.
        See Also:
        Constant Field Values
    • Constructor Detail

      • Code

        public Code()