Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public void showInterstitial() {
- // 1. Millennial Media
- if ( mMMInterstitialIsReady ) {
- mMMInterstitial.display();
- mMMInterstitial.fetch();
- }
- // 2. Greystripe
- else if ( mGSInterstitial.isAdReady() ) {
- mGSInterstitial.display();
- mGSInterstitial.fetch();
- }
- // 3. MoPub
- else if ( mMoPubInterstitial.isReady() ) {
- mMoPubInterstitial.setListener( this );
- mMoPubInterstitial.load();
- }
- // 4. AdColony
- else {
- new AdColonyVideoAd( ).show( null );
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement