I as the example I integrated iAd in my application, but when I try it on the device does not show me any publicity (including testing). Where is the mistake?
Thank you very much for your help in advance!
[lua]local ads = require(“ads”)
local function adListener(event)
local msg = event.response
if event.isError then
– Failed to receive an ad, we print the error message returned from the library.
print(msg)
end
end
ads.init( “iads”, “myappid”, adListener )
ads.show( “banner”, { x=0, y=0 } )[/lua]
[import]uid: 98258 topic_id: 35011 reply_id: 335011[/import]