Event Listeners

Event Listeners
You may track ad lifecycle events like request failures or click-through. This interface may be implemented by your activity or any other object.

public interface LVDOBannerAdListener { // Ad has been successfully loaded public void onBannerAdLoaded(View banner); // Failed to retrieve an ad // You can use the LVDOErrorCode value to diagnose the cause of failure public void onBannerAdFailed(View banner, LVDOConstants.LVDOErrorCode errorCode); // The user has clicked on the Ad public void onBannerAdClicked(View banner); // Ad is closed public void onBannerAdClosed(View banner); }