I just did a test using my ProviderID’s… the only thing I added was an ad.show(“banner”) at the bottom.
ads = require( "ads" ) appId = "ca-app-pub-xxxxxxxx/xxxxxxx" if ( system.getInfo( "platformName" ) == "Android" ) then appId = "ca-app-pub-yyyyyyyyyyy/yyyyyy" end adProvider = "admob" function adListener( event ) msg = event.response -- just a quick debug message to check what response we got from the library print("Message received from the ads library: ", msg) if event.isError then print( "Error, no ad received", msg ) else print( "Ah ha! Got one!" ) end end ads.init( adProvider, appId, adListener ) ads.show("banner")
The ad showed at the top of the page as expected. What does your ads.show() code look like?