com.applovin.mediation.AppLovinMediationDisplayListener |
This is an interface that defines a listener for mediated ad display events
Created by basil on 12/1/16.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract void |
adClicked(AppLovinMediatedAdInfo ad)
This method should be called when the user has clicked adapter's ad
| ||||||||||
abstract void |
adDisplayed(AppLovinMediatedAdInfo ad)
This method should be called when the adapter has successfully displayed an ad to the user.
| ||||||||||
abstract void |
adHidden(AppLovinMediatedAdInfo ad)
This method should be called when adapter's ad has been dismissed
| ||||||||||
abstract void |
failedToDisplayAd(AppLovinMediatedAdInfo ad, AppLovinMediationErrorCode errorCode)
This method should be called when the adapter was not able to display an ad to the user
| ||||||||||
abstract void |
rewardRejected(AppLovinMediatedAdInfo ad, Map<String, String> rejectionInfo)
This method should be called when user's reward has been rejected
| ||||||||||
abstract void |
rewardVerified(AppLovinMediatedAdInfo ad, Map<String, String> rewardInfo)
This method should be called when user is due to receive a reward for an incentivized ad.
|
This method should be called when the user has clicked adapter's ad
ad | Ad that was clicked. May be null (depending on adapter implementation). |
---|
This method should be called when the adapter has successfully displayed an ad to the user.
ad | Ad that was displayed. May be null (depending on adapter implementation). |
---|
This method should be called when adapter's ad has been dismissed
ad | Ad that was hidden. May be null (depending on adapter implementation). |
---|
This method should be called when the adapter was not able to display an ad to the user
ad | Ad that was failed ot be displayed. May be null (depending on adapter implementation). |
---|---|
errorCode | Error code that caused the ad to fail to display. |
This method should be called when user's reward has been rejected
ad | Ad which reward was rejected. May be null (depending on adapter implementation). |
---|---|
rejectionInfo | Information about the rejection: please note, this information will be adapter-dependent. This map is guaranteed to have 'adapter' entry that will contain the name of an adapter issuing the reward. |
This method should be called when user is due to receive a reward for an incentivized ad.
ad | Ad which reward was verified. May be null (depending on adapter implementation). |
---|---|
rewardInfo | Information about the reward: please note, this information will be adapter-dependent. This map is guaranteed to have 'adapter' entry that will contain the name of an adapter issuing the reward. |