Thanks Rob !! U are right the plugin doesn’t work on simulator but it does on device.
I tried using all typed of ads but I could load only Banner. However, video and interstitial ads don’t get loaded.
This is my banner code
placementIDB = "57070a7c6f46b5110b1421a9" function adListenerB( event ) if ( event.phase == "init" ) then -- Successful initialization -- Load a RevMob ad revmob.load( "banner", placementIDB ) elseif ( event.phase == "loaded" ) then -- The ad was successfully loaded -- Show the ad revmob.show( placementIDB, { yAlign="top" } ) end end revmob.init( adListenerB, { appId="57070a7c6f46b5110b1421a7" } )
This is my Video / Interstitial Code
placementIDV = "57070a7c6f46b5110b1421b1" function adListenerV( event ) if ( event.phase == "init" ) then -- Successful initialization -- Load a RevMob ad revmob.load( "interstitial", placementIDV ) elseif ( event.phase == "loaded" ) then -- The ad was successfully loaded -- Show the ad revmob.show( placementIDV, { yAlign="center" } ) end end revmob.init( adListenerV, { appId="57070a7c6f46b5110b1421a7" } )
This is the code I use to remove banner loaded in previous screeen
Runtime:removeEventListener( "enterFrame", adListenerB ) revmob.hide( placementIDB )
Currently banner is displayed on first screen and I want video after game over.
I’m unable to load banner again after game over and also I’m unable to display video ad. Can you please help me out with this.