Interstitials not displaying, but impressions being counted

[亡魂溺海] 提交于 2019-12-24 08:13:51

问题


I can't get the interstitials to show up in my Unity3d Android game.

I have an Android game in Unity (v3.3.4). I have added Facebook functionality using the Facebook SDK (v5.0.3), and it works perfectly fine. I have also added Chartboost functionality using the methods described in the Chartboost Platform Integration: Unity documentation and it is misbehaving.

In Chartboost:

  • I have added my app (with SDK integration confirmation)
  • I have created a publishing campaign and assigned it to my app

That being said, I have been testing the ads in my game and the interstitial never shows. I have all the event delegates printing everything they receive and not a single value is printed (no errors).

// Events I listen to...
CBManager.didFailToLoadInterstitialEvent
CBManager.didCloseInterstitialEvent
CBManager.didCacheInterstitialEvent
CBManager.didShowInterstitialEvent

When I look at my app overview in Chartboost I can see that impressions are being counted as if the interstitial was displayed properly.

I think this may have something to do with the Chartboost Android activity not being brought up properly, but I really don't know. I have seen many people talking about multiple plugins causing problems with the Android manifest and the "MAIN ACTIVITY" intent.

I still have the Chartboost activity as the "MAIN ACTIVITY" as it says it should be in the Chartboost documentation so there shouldn't be a problem (typically the problem is Facebook won't work with other plugins activities being marked "MAIN ACTIVITY", but Facebook works fine).

Anyone have any thoughts?


回答1:


Had a very similar problem myself- contacted their support and as I recall they said the problem is that their Unity plugin seems to be receiving ads intended for the newer version of their SDK that hasn't been implemented for Unity- so the problem is on their side. As a workaround, they provided me with a .jar file that accepts the ads it's receiving. Go ahead and E-mail them about it and they should give you the file without too much of a wait. Hope this helps!



来源:https://stackoverflow.com/questions/21994144/interstitials-not-displaying-but-impressions-being-counted

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!