Enum FetchDemandResult

  • All Implemented Interfaces:

    
    public enum FetchDemandResult
    
                        

    Enum fetch demand status for all ads.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      SUCCESS

      The attaching keywords was successful, which means there was demand and the demand was set on the ad object.

      INVALID_ACCOUNT_ID

      The ad request failed due to empty account id

      INVALID_CONFIG_ID

      The ad request failed due to empty config id on the ad unit

      INVALID_SIZE

      Size is invalid or missing

      INVALID_CONTEXT

      Invalid context passed

      INVALID_AD_OBJECT

      GAM views supported only

      INVALID_HOST_URL

      The ad request failed because a CUSTOM host used without providing host url

      NETWORK_ERROR

      The ad request failed due to a network error.

      TIMEOUT

      The ad request took longer than set time out

      NO_BIDS

      No bids available from demand source

      SERVER_ERROR

      Server responded with some error messages

    • Method Summary

      Modifier and Type Method Description
      static FetchDemandResult parseErrorMessage(String msg)
      static Array<FetchDemandResult> values() Returns an array containing the constants of this enum type, in the order they're declared.
      static FetchDemandResult valueOf(String name) Returns the enum constant of this type with the specified name.
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • values

         static Array<FetchDemandResult> values()

        Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.

        Returns:

        an array containing the constants of this enum type, in the order they're declared

      • valueOf

         static FetchDemandResult valueOf(String name)

        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

        Returns:

        the enum constant with the specified name