Skip to end of metadata
Go to start of metadata

JavaScript is disabled on your browser.
com.appnexus.opensdk

Interface MediatedInterstitialAdView



  • public interface MediatedInterstitialAdView
    This interface must be implemented by third-party SDKs whose interstitial views will be mediated by the AppNexus SDK. Implement the required methods and configure them within the AppNexus Ad Network Manager to be called whenever the targeting matches the conditions defined in the Ad Network Manager. (The Ad Network Manager is a web application that AppNexus platform members can use to work with ad networks that are not on the platform.)
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      void destroy()
      The AppNexus SDK will call this method when the third-party SDK's view is being removed and should be cleaned up.
      boolean isReady()
      The AppNexus SDK will call this method to check if the interstitial view is ready when the user calls InterstitialAdView.isReady().
      void onDestroy() 
      void onPause() 
      void onResume() 
      void requestAd(com.appnexus.opensdk.MediatedInterstitialAdViewController mIC, android.app.Activity activity, java.lang.String parameter, java.lang.String uid, TargetingParameters tp)
      The AppNexus SDK will call this method in your class when directed to do so from the Ad Network Manager, where an application has instantiated an InterstitialAdView.
      void show()
      The AppNexus SDK will call this method to show the interstitial view when the user has called InterstitialAdView.show().
    • Method Detail

      • requestAd

        void requestAd(com.appnexus.opensdk.MediatedInterstitialAdViewController mIC,
                       android.app.Activity activity,
                       java.lang.String parameter,
                       java.lang.String uid,
                       TargetingParameters tp)
        The AppNexus SDK will call this method in your class when directed to do so from the Ad Network Manager, where an application has instantiated an InterstitialAdView.
        Parameters:
        mIC - A controller through which the adaptor must send events to the AppNexus SDK.
        parameter - An optional opaque string passed from the Ad Network Manager, this can be used to define SDK-specific parameters such as additional targeting information. The encoding of the contents of this string are entirely up to the implementation of the third-party SDK adaptor.
        uid - The network ID for this ad call. This ID is opaque to the AppNexus SDK; the ID's contents and their encoding are up to the implementation of the third-party SDK.
      • show

        void show()
        The AppNexus SDK will call this method to show the interstitial view when the user has called InterstitialAdView.show(). (See InterstitialAdView.)
      • isReady

        boolean isReady()
        The AppNexus SDK will call this method to check if the interstitial view is ready when the user calls InterstitialAdView.isReady(). (See InterstitialAdView.)
        Returns:
        true if the interstitial ad is ready to show, false otherwise.
      • destroy

        void destroy()
        The AppNexus SDK will call this method when the third-party SDK's view is being removed and should be cleaned up.
      • onPause

        void onPause()
      • onResume

        void onResume()
      • onDestroy

        void onDestroy()

  • No labels