Inneractive

Hey,

I use inMobi (which has a very shitty fill rate). Is this inneractive a good choice? Can I use them both in the same app?

Thanks,
Gustavo [import]uid: 95495 topic_id: 20476 reply_id: 320476[/import]

Inneractive and AdMob are both better choices. I would see no reason why you couldn’t do both. [import]uid: 36054 topic_id: 20476 reply_id: 80253[/import]

How do I do that? Request inMobi, and if not available, then request inneractive? In codes, I mean.

[import]uid: 95495 topic_id: 20476 reply_id: 80256[/import]

In my case, Inneractive fill rate is better than inmobi. [import]uid: 92273 topic_id: 20476 reply_id: 80293[/import]

Fill rate for inneractive is excellent; fluctuates between 97% - 99% for me :slight_smile:

Peach [import]uid: 52491 topic_id: 20476 reply_id: 80307[/import]

Ok maybe the other way around then! Hehe

I have this in my main:

local adNetwork = "inmobi" local appID = "myappId" ads = require "ads" if appID then ads.init( adNetwork, appID ) end
and this in each scene:

local function showAds() local adX = display.contentWidth / 2 - 160 ads.show( "banner320x48", { x=adX, y=\_H - 40, interval=15, testMode=true } ) end showAds()
How do I request inneractive and then request inMobi if not available?
Do I need to activate inneractive somewhere?
Thanks guys
[import]uid: 95495 topic_id: 20476 reply_id: 80331[/import]

Peach, can you give me a help? [import]uid: 95495 topic_id: 20476 reply_id: 80811[/import]

Hi Gustav,

I’m not actually sure how to do that, I have limited experience with ads and with the inneractive fill rate so high I haven’t tried implementing a second provider.

I will ask around today and see if this appears possible.

Peach :slight_smile: [import]uid: 52491 topic_id: 20476 reply_id: 80977[/import]

Okay!

In the mean time, would you reccomend me just inneractive?

If so, what should I change in matters of code?
Thanks! [import]uid: 95495 topic_id: 20476 reply_id: 81264[/import]

Hey, @gustavoschv, I just implemented inneractive fullscreen ads, and here’s a quickie for you. See below. For banner ads, change “fullscreen” to “banner”. Also, take a look at the reference page.

Good luck!

Naomi

[lua]-- main.lua
ads = require “ads”
– initialize advertisement
local model = system.getInfo(“model”);
if (model == “iPad”) then
– initialize for the iPad
ads.init( “inneractive”, “APPID_FROM_INNERACTIVE_DASHBOARD” ) – this ID ends with iPad
else
– initialize for iPhone
ads.init( “inneractive”, “APPID_FROM_INNERACTIVE_DASHBOARD” ) – this ID ends with iPhone
end

– in a module where fullscreen ads are to be displayed
local isSimulator = system.getInfo(“environment”) == “simulator”
local function testNetworkConnection()
local netConn = require(‘socket’).connect(‘www.apple.com’, 80)
if netConn == nil then
return false
end
netConn:close()
return true
end

if ( isSimulator or not testNetworkConnection() ) then
print(“on simulator or no network connection, and therefore, no ads”)
else
– fullscreen ads
print(" ads.show is triggered")
ads.show( “fullscreen”, { x=0, y=0, interval=60 } )
end[/lua] [import]uid: 67217 topic_id: 20476 reply_id: 81315[/import]