我使用内部活动插件和Corona 1137,我可以显示横幅,文本和全屏广告,但这些广告不调用我的回调函数。
我想做的是看看用户是否关闭了全屏广告,然后立即加载横幅广告。
我使用以下代码块:
function showAd( t )
if t == "fsc" then
print( "Ad call with fsc" )
native.setActivityIndicator( true )
ads.show( "fullscreen", { x = 0, y = 0, interval = 60, testMode = false } )
elseif t == "n" then
print( "Ad call with n" )
ads.show( "banner", { x = 0, y = display.actualContentHeight - 48, interval = 30 }, 20 )
else
ads.hide()
end
end
local function adListener( event )
print( "Ad event : ", event )
native.setActivityIndicator( false )
if event.isError then
print( "Failed to receive an add." )
end
end
-- Inner-Active
ads.init( "inneractive", "*******ID********", adListener )
showAd( "n" )有没有什么东西可以让我检查一下广告是否关闭了?谢谢..。
发布于 2013-07-24 21:04:21
我的名字是Noga,我是Inneractive的社区经理。我在这里邀请你访问Inneractive的开发者维基:https://inneractive.jira.com/wiki/display/DevWiki/Home。大多数答案已经在那里了。
如果您仍然无法找到答案,请通过您的控制台打开支持票证,支持经理将直接与您联系。
祝好运!
Noga
https://stackoverflow.com/questions/17791000
复制相似问题