Incorporating Revmob into my App

I’ve set up an account Revmob and have my app id’s.

How do I now actually incorporate the ads into my app, i’ve tried following the steps on the Revmob website but I cant seem to make them work?

this is my current build.settings file

_ settings = { _

_         orientation = { _

_                 default = “landscapeRight”, _

_                 supported = { _

_                         “landscapeRight”, _

_                 }, _

_         }, _

_          _

_           android = _

_   { _

_     usesPermissions = _

_     { _

_       “android.permission.INTERNET”, _

_       “android.permission.ACCESS_WIFI_STATE”, _

_       “android.permission.READ_PHONE_STATE”, _

_       “android.permission.ACCESS_NETWORK_STATE”, _

_     }, _

_   } _

_    _

  local REVMOB_IDS = { [“Android”] = “”, [“iPhone OS”] = “” }

RevMob.startSession(REVMOB_IDS)

RevMob.setTestingMode(RevMob.TEST_WITH_ADS)

_ } _

After that i’m not quite sure how to put say a banner add or the more apps button into my app, I already have a button set up but at the moment it has no code to make it do anything as I don’t know what to put in it

Also what would I have to do so that I can display the ads on an iPhone as i’m guessing a kindle just uses the above code^^

The code doesn’t go in the build.settings file. The code below needs to go near the top of your main.lua file

[lua]

local testing = true

RevMob = require"revmob" – import revmob library for interstitial CPI ads

local REVMOB_IDS = { [“Android”] = “xxxxxxxx”, [“iPhone OS”] = “xxxxxx” } – revmob app IDs

if testing == false then – whether or not to use revmob in testing mode

    RevMob.startSession(REVMOB_IDS)

else

    RevMob.startSession(REVMOB_IDS, RevMob.TEST_WITH_ADS)

end

[/lua]

Then just call banners or whatever you want as shown here:

http://sdk.revmobmobileadnetwork.com/corona.html

The code doesn’t go in the build.settings file. The code below needs to go near the top of your main.lua file

[lua]

local testing = true

RevMob = require"revmob" – import revmob library for interstitial CPI ads

local REVMOB_IDS = { [“Android”] = “xxxxxxxx”, [“iPhone OS”] = “xxxxxx” } – revmob app IDs

if testing == false then – whether or not to use revmob in testing mode

    RevMob.startSession(REVMOB_IDS)

else

    RevMob.startSession(REVMOB_IDS, RevMob.TEST_WITH_ADS)

end

[/lua]

Then just call banners or whatever you want as shown here:

http://sdk.revmobmobileadnetwork.com/corona.html