When I request an interstitial ad, a banner ad request is sent along with interstitial ad request…
The banner ad is successfully displayed, while the interstitial ad returns error…
Here is a plug and play code :
main.lua
local coronaProviderName = "inmobi" local appID = "APP ID HERE" local testMode = false widget = require "widget" --listener local function listener(e) for i,v in pairs(e) do print(i,v) end end --init ads local ads = require "ads" ads.init( coronaProviderName, appID, listener) ads:setCurrentProvider(coronaProviderName) --show ads timer.performWithDelay(1000, function() ads.show( "interstitial",{x=0,y=0,interval=20,testMode=testMode}) end,1)
build.settings
settings = { orientation = { default = "portrait", supported = { "portrait", } }, plugins = { ["CoronaProvider.ads.inmobi"] = { publisherId = "com.coronalabs", supportedPlatforms = { iphone=true, ["iphone-sim"]=true },}, }, }
The plugin was working well the last time I submitted an app to the App Store (a week back). Now it doesn’t.
I was using build 2468.
I also tried with the latest public build(2511) and got the same results.
A problem with the plugin?