Google is committed to advancing racial equity for Black communities. See how.

LoadAdError

public final class LoadAdError extends AdError

Error information about why an ad load operation failed.

Inherited Constant Summary

Public Constructor Summary

LoadAdError(int code, String message, String domain, AdError cause, ResponseInfo responseInfo)
Creates a LoadAdError.

Public Method Summary

ResponseInfo
getResponseInfo()
Gets the ResponseInfo of the error.
String
toString()
Returns a log friendly string version of this object.

Inherited Method Summary

Public Constructors

public LoadAdError (int code, String message, String domain, AdError cause, ResponseInfo responseInfo)

Creates a LoadAdError.

Parameters
code the error code.
message a message detailing the error.
domain the error domain.
cause the cause of this error or null if the cause is nonexistent or unknown.
responseInfo ad response information.

Public Methods

public ResponseInfo getResponseInfo ()

Gets the ResponseInfo of the error.

public String toString ()

Returns a log friendly string version of this object.