Do I Need To Create A Fullscreen Ad For Each Placement Id?

Hello guys,

 

i am trying to test placement ID for the first time and I have one question. Ok, I want to select how often a fullscreen is shown after game over (just to experiment a little:) So I have this:

 

[lua]

 

 local IDS_GAMEOVER_1 = { [“iPhone OS”] = “vvvvvvvvv” }

local  IDS_GAMEOVER_2 = { [“iPhone OS”] = “mmmmmmm” }

local  IDS_GAMEOVER_3 = { [“iPhone OS”] = “xxxxxxxxxxxx” }

 

local fullscreen1 = RevMob.createFullscreen(revmobListener, IDS_GAMEOVER_1)

local fullscreen2 = RevMob.createFullscreen(revmobListener, IDS_GAMEOVER_1)

local fullscreen3 = RevMob.createFullscreen(revmobListener, IDS_GAMEOVER_1)

 

If gameNumber == 1 then fullscreen1:show() end

If gameNumber == 2 then fullscreen2:show() end

If gameNumber == 3 then fullscreen3:show() end

 

 

gameNumber = gameNumber  + 1

if gameNUmber > 3 then gameNumber = 0 end

 

 

– save gameNumber in ICE…

 

[/lua]

 

 

Would this work? I am going to try it on the simulator/device but wanted to know if I am doing it right. I guess I want to know if I really needed to create 3 different fullscreen ad (local fullscreen1,…)

 

THANK YOU!

 

Mo

I will answer my own question and hopefully it will help someone. Yes we need to create an ad for each placement ID like:

 

 

local fullScreen1 = Revmob.create…

 

local fullScreen2 = Revmob.create…

 

then show like:

 

fullScreen1:show()

fullScreen2:show()

 

 

Hope this help.

 

Mo

I will answer my own question and hopefully it will help someone. Yes we need to create an ad for each placement ID like:

 

 

local fullScreen1 = Revmob.create…

 

local fullScreen2 = Revmob.create…

 

then show like:

 

fullScreen1:show()

fullScreen2:show()

 

 

Hope this help.

 

Mo