I integrated iAd and AdMob plugins in build.settings like this:
plugins =
{
– key is the name passed to Lua’s ‘require()’
[“CoronaProvider.ads.admob”] =
{
– required
publisherId = “com.coronalabs”,
},
– key is the name passed to Lua’s ‘require()’
[“CoronaProvider.ads.iads”] =
{
– required
publisherId = “com.coronalabs”,
},
}
I have only one ads require object i.e
local ads = require(“ads”)
i need both ads in my project like
-
Menu screen – iAd
-
Play screen – AdMob
if initialize the ads object then it ignores the first ad(iAd) and displys latest ad(AdMob)
how can i integrate these ads?