我在我的项目中实现了Interstitial广告,但是广告并不是全屏的。
这是我的广告代码:
this.interstitialAds = new InterstitialAd(this, "ca-app-pub-ID");
this.interstitialAds.setAdListener(this);
AdRequest adr = new AdRequest();
// add your test device here
adr.addTestDevice("8E452
我目前正在开发一个iOS应用程序(可能是安卓或其他系统,这不是这里的问题),并且刚刚通过fabric包含了MoPub工具包,以便通过广告将应用程序货币化。
在使用测试单元id实现全屏/间隙广告后,间隙显示得很好。然而,当使用我的个人广告单元ID时,广告没有显示出来。我从控制台得到的信息如下:
MOPUB: Interstitial controller is loading ad with MoPub server URL: https://ads.mopub.com/m/ad?v=8&udid=ifa:XXXX&id=1234567890&nv=4.7.0&o
我正在使用最新的Google IMA SDK的视频广告,因为flash广告在加载时显示正确,但当用户单击全屏时不显示,我试图捕获舞台调整大小并尝试使用更改宽度和高度
flashAdsManager.adSlotHeight(main.stage.stageHeight)
flashAdsManager.adSlotWidth(main.stage.stageWidth)
但是我得到了以下错误
1195: Attempted access of inaccessible method adSlotHeight through
a reference with static type com.g
我使用内部活动插件和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