Skip to content

AdError

The AdError class represents error details returned by the Google Mobile Ads SDK when an ad failed to present or perform operations.

Properties

code / Code

The error code indicating the cause of the failure.

var code: int
public int Code { get; set; }

domain / Domain

The domain from which the error originated (e.g. "com.google.android.gms.ads").

var domain: String
public string Domain { get; set; }

message / Message

A detailed text message describing the error.

var message: String
public string Message { get; set; }

cause / Cause

The underlying cause of the error as another AdError object, or null if none exists.

var cause: AdError
public AdError Cause { get; set; }