Skip to content

Interstitial Ads API

CMAdSDK edited this page May 30, 2016 · 5 revisions

The main APIs for the Interstitail Ad

The SDK Base Version APIs of the Interstitail Ad are the same as the SDK Ext Version.

  • com.cmcm.adsdk.interstitial.InterstitialAdManager

    Methodology Method Description
    loadAd() ad downloading
    showAd() ad display(Please make sure that the loadAd() is called and return success before use showAd() )
    setInterstitialCallBack(InterstitialAdCallBack listener) set callback interface
    setInterstialOverClickEnable(boolean enable) set whether the shaded are response or not when cliked (no response in default)
  • com.cmcm.adsdk.interstitial.InterstitialAdCallBack

    Methodology Method Description
      onAdLoaded( )	 | ad request implement                      
    

    onAdLoadFailed( ) | ad request failure onAdClicked( ) | ad click onAdDisplayed( ) | ad display onAdDismissed(int errorcode) | click ‘close’ button to close ad unit

Clone this wiki locally