iAds showing only on iPhone 4S

Hi guys,

Hope you can help me with following issue.

I have implemented following code for using Multiple ad networks, and tryed to test it on iPhone 4S (running on iOs 9).

-- IMPLEMENTED THIS IN composer scene:show() RIGHT AFTER GAME STARTS if ( system.getInfo("platformName") == "Android" ) then ads.init( "admob", "your-ad-unit-id-here", adMobListener ) else ads.init( "iads", "com.yourcompany.yourapp", iAdsListener ) end ads.init( "vungle", "yourAppID", vungleListener ) local function vungleListener( event ) -- Video ad not yet downloaded and available if ( event.type == "adStart" and event.isError ) then if ( system.getInfo("platformName") == "Android" ) then ads:setCurrentProvider( "admob" ) else ads:setCurrentProvider( "iAds" ) end ads.show( "interstitial" ) elseif ( event.type == "adEnd" ) then -- Ad was successfully shown and ended; hide the overlay so the app can resume. composer.hideOverlay() else print( "Received event", event.type ) end return true end local function iAdsListener( event ) if ( event.isError ) then -- composer.showOverlay( "selfpromo" ) -- NO PROMO TO SHOW end return true end local function adMobListener( event ) if ( event.isError ) then --composer.showOverlay( "selfpromo" ) -- NO PROMO TO SHOW end return true end local params = { isAnimated = false, isAutoRotation = true, } ads:setCurrentProvider( "vungle" ) -- IMPLEMENTED THIS IN composer scene:show() RIGHT AFTER GAME OVER() ads.show( "interstitial", params )

Code is from Corona Multiple Ad networks tutorial.

My problem is that only iAds are displayed.

I never get Vungle ads or AdMob ads.

I have pasted in Vungle Application ID and AdMob Ad Unit ID.

I have included plugins into build.settings.

I tried to display Vungle or AdMob separately, no luck.

My app is in “TEST” mode in Vungle webpage…

Can somebody please help and/or share your Multiple AD Network code?

Waiting your reply!

Many, many thanks!

Ivan

Do I have to install Vungle and AD Mob SDK’s?
Or that only native developers must do?

Tnx.
Ivan

Do I have to install Vungle and AD Mob SDK’s?
Or that only native developers must do?

Tnx.
Ivan