Skip to content

Interstitial Ads API

CMAdSDK edited this page May 19, 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
    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