LoadAdError

data class LoadAdError


Error information about why an ad load operation failed.

Summary

Nested types

Public constructors

LoadAdError(
    code: LoadAdError.ErrorCode,
    message: String,
    responseInfo: ResponseInfo?
)

Public functions

open String

Public properties

open LoadAdError.ErrorCode
@SerializedName(value = "Code")
code

The error code.

open String
@SerializedName(value = "Message")
message

A message detailing the error.

ResponseInfo?
@SerializedName(value = "Response Info")
responseInfo

Information about the ad response, if there was one.

Public constructors

LoadAdError

LoadAdError(
    code: LoadAdError.ErrorCode,
    message: String,
    responseInfo: ResponseInfo? = null
)
Parameters
code: LoadAdError.ErrorCode

The error code.

message: String

A message detailing the error.

responseInfo: ResponseInfo? = null

Information about the ad response, if there was one.

Public functions

toString

open fun toString(): String

Public properties

code

@SerializedName(value = "Code")
open val codeLoadAdError.ErrorCode

The error code.

message

@SerializedName(value = "Message")
open val messageString

A message detailing the error.

responseInfo

@SerializedName(value = "Response Info")
val responseInfoResponseInfo?

Information about the ad response, if there was one.