2

我正在使用带有 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" )

有什么要我检查广告是否关闭的吗?谢谢...

4

1 回答 1

1

我叫 Noga,是 Inneractive 的社区经理。我邀请您在这里访问 Inneractive 的开发者 wiki:https ://inneractive.jira.com/wiki/display/DevWiki/Home 。大多数答案已经存在。

如果您仍然找不到答案,请通过您的控制台打开支持票证,支持经理将直接与您联系。

祝你好运!

野贺

于 2013-07-24T13:04:20.650 回答