Seems to show the banner now, with this modification of the code… Its a BIG Advance, almost there 
It still have some erratic behaviour. Sometimes don´t work the app. When delete and reinstall works…
Maybe should anyway be reset to the ad?
Going on …
local widget = require( "widget" ) local inMobi = require("plugin.inMobi") local json = require("json") local myText = display.newText( "Anuncio", 160, 20, native.systemFont, 16 ) myText:setFillColor( 1, 0, 0 ) local myTextJson = display.newText( "Json", 160, 40, native.systemFont, 8 ) local myText0 = display.newText( "Anuncio ------", 160, 290, native.systemFont, 16 ) local myText1 = display.newText( "loaded", 160, 300, native.systemFont, 16 ) local myText2 = display.newText( "loaded placement id", 160, 310, native.systemFont, 16 ) local myText3 = display.newText( "loaded type ", 160, 320, native.systemFont, 16 ) local myText4 = display.newText( "failed placement id ", 160, 330, native.systemFont, 16 ) local myText5 = display.newText( "failed error ", 160, 340, native.systemFont, 16 ) local myText6 = display.newText( "failed response ", 160, 350, native.systemFont, 16 ) local myText7 = display.newText( "inmobi is loaded ", 160, 360, native.systemFont, 16 ) local function adListener( event ) print(json.prettify( event )) myTextJson.text="Jason - "..json.prettify( event ) if ( event.phase == "init" ) then --successful initialize -- load a banner ad inMobi.load( "Banner", "1554277121369" ) myText0.text="Init " elseif ( event.phase == "loaded" ) then --the ad was loaded print( event.type ) myText1.text="Loaded "..event.type print( event.placementId ) myText2.text="Placement id"..event.placementId elseif ( event.phase == "failed" ) then --the ad failed to load print( event.type ) myText3.text="Failed id"..event.type print( event. placementId ) myText4.text="Failed placement id "..event.placementId print( event.isError ) myText5.text="Failed error "..event.isError print( event.response ) myText6.text="Failed response "..event.response end --myText0.text="Anuncio - Funcao adListener " end function iniciaInMobi() --initialize the inmobi plugin inMobi.init( adListener, { accountId="7eb029026f4a4659b45306264a59f104", logLevel="debug", hasUserConsent=true } ) --sometime later check if the ad is loaded myText.text="Anuncio - Funcao iniciaInMobi" end function mostraInMobi() --[[if ( inMobi.isLoaded( 1554277121369 ) ) then --show the ad myText7.text="InMobi is Loaded! " inMobi.show ( 1554277121369, { yAlign="bottom" } ) else myText7.text="InMobi is NOT Loaded! " end myText.text="Anuncio - Funcao mostraInMobi"]]-- --Para efeios de teste coloquei aqui o show fora das condições inMobi.show ( "1554277121369", { yAlign="bottom" } ) end function timerbanner() timer.performWithDelay( 1000, iniciaInMobi ) end button1=display.newRect(display.contentCenterX, display.contentHeight\*.20,display.contentWidth\*.70,display.contentHeight\*.06) button1:setFillColor(1,1,0) button2=display.newRect(display.contentCenterX, display.contentHeight\*.30,display.contentWidth\*.7,display.contentHeight\*.06) button2:setFillColor(1,1,0) button1:addEventListener("tap", timerbanner) button2:addEventListener("tap", mostraInMobi)