{% setvar book_path %}/admob/android/_book.yaml{% endsetvar %} {% include "/admob/android/reference/_dackka-meta-tags.html" %}

LoadAdError

{% setvar page_path %}com/google/android/gms/ads/LoadAdError.html{% endsetvar %} {% setvar doc_root_path %}/admob/android/reference{% endsetvar %} {% setvar can_switch %}1{% endsetvar %} {% include "android/_kotlin_switcher2.md" %}

class LoadAdError : AdError

kotlin.Any
   ↳ com.google.android.gms.ads.AdError
     ↳ com.google.android.gms.ads.LoadAdError

Error information about why an ad load operation failed.

Summary

Public constructors

LoadAdError(
    code: Int,
    message: String,
    domain: String,
    cause: AdError?,
    responseInfo: ResponseInfo?
)

Creates a LoadAdError.

Public functions

String!

Returns a log friendly string version of this object.

Public properties

ResponseInfo?

Inherited Constants

From com.google.android.gms.ads.AdError
const String!
UNDEFINED_DOMAIN = "undefined"

The undefined error domain.

Inherited properties

From com.google.android.gms.ads.AdError

Public constructors

LoadAdError

LoadAdError(
    code: Int,
    message: String,
    domain: String,
    cause: AdError?,
    responseInfo: ResponseInfo?
)

Creates a LoadAdError.

Parameters
code: Int

the error code.

message: String

a message detailing the error.

domain: String

the error domain.

cause: AdError?

the cause of this error or null if the cause is nonexistent or unknown.

responseInfo: ResponseInfo?

ad response information.

Public functions

toString

fun toString(): String!

Returns a log friendly string version of this object.

Public properties

responseInfo

val responseInfoResponseInfo?