protected void adClicked() { if (mBannerAdListener != null) { mBannerAdListener.onBannerClicked(this); } else if (mOnAdClickedListener != null) { mOnAdClickedListener.OnAdClicked(this); } }
protected void adFailed(MoPubErrorCode errorCode) { if (mBannerAdListener != null) { mBannerAdListener.onBannerFailed(this, errorCode); } else if (mOnAdFailedListener != null) { mOnAdFailedListener.OnAdFailed(this); } }
protected void adPresentedOverlay() { if (mBannerAdListener != null) { mBannerAdListener.onBannerExpanded(this); } else if (mOnAdPresentedOverlayListener != null) { mOnAdPresentedOverlayListener.OnAdPresentedOverlay(this); } }
protected void adLoaded() { MoPubLog.d("adLoaded"); if (mBannerAdListener != null) { mBannerAdListener.onBannerLoaded(this); } else if (mOnAdLoadedListener != null) { mOnAdLoadedListener.OnAdLoaded(this); } }