| com.applovin.sdk.AppLovinAdLoadListener |
This interface defines a listener intended to be notified when the SDK loads, or fails to load, an ad over the network.
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| abstract void |
adReceived(AppLovinAd ad)
This method is called when a new ad has been received.
| ||||||||||
| abstract void |
failedToReceiveAd(int errorCode)
This method is called when an ad could not be retrieved from the server.
| ||||||||||
This method is called when a new ad has been received.
This method is invoked on the UI thread.
| ad | Newly received ad. Guaranteed not to be null. |
|---|
This method is called when an ad could not be retrieved from the server.
This method is invoked on the UI thread
Common error codes are: 204 -- no ad is available 5xx -- internal server error negative number -- internal errors
| errorCode | An error code recieved from the server. Common error codes are defined in AppLovinErrorCodes.
|
|---|