AdRequestError

class AdRequestError @JvmOverloads constructor(val code: Int, val description: String, val adUnitId: String? = null)

Class containing errors that can occur during an ad request.

Constructors

Link copied to clipboard
constructor(code: Int, description: String, adUnitId: String? = null)

Types

Link copied to clipboard
object Code

Error codes to explain the main cause.

Properties

Link copied to clipboard
val adUnitId: String? = null

Requested ad unit ID

Link copied to clipboard
val code: Int

An error code from the Code

Link copied to clipboard

An error description

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String