Admob mediation / w chartboost,即使一切似乎都有效,也没有印象?
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Admob mediation / w chartboost,即使一切似乎都有效,也没有印象?相关的知识,希望对你有一定的参考价值。
我正在尝试将Chartboost添加到我目前使用Admob工作的设置中(包括奖励视频和插页式广告)。我遵循了Admob的文档:https://developers.google.com/admob/unity/mediation/chartboost
我可以在Admob报告中看到调解组正在运行,我收到了对Chartboost的网络请求。但我没有在Chartboost上获得SDK贴纸(表明SDK已集成)。在我使用Chartboost作为独立服务添加您应该使用的代码行之前,我无法使用此功能:
@Override
public void onCreate() {
super.onCreate();
Chartboost.startWithAppId(this, appId, appSignature);
Chartboost.onCreate(this);
}
}
现在我得到了SDK贴纸,但我读到你不应该这样做,Admob应该在引擎盖下处理它,所以我把它恢复了。
我根本没有收到任何错误消息。这是我在日志中看到的:
12-16 16:49:45.344 21656-21656/? I/Ads: Starting ad request.
12-16 16:49:45.344 21656-21656/? I/Ads: Use AdRequest.Builder.addTestDevice("B5E99B74D22121F11E46D7C4714806A0") to get test ads on this device.
12-16 16:49:45.364 21656-21706/? W/Ads: Invoke Firebase method getInstance error.
12-16 16:49:45.374 21656-21706/? W/Ads: The Google Mobile Ads SDK will not integrate with Firebase. Admob/Firebase integration requires the latest Firebase SDK jar, but Firebase SDK is either missing or out of date
12-16 16:49:45.384 21656-21656/? I/Ads: Starting ad request.
12-16 16:49:45.384 21656-21656/? I/Ads: Use AdRequest.Builder.addTestDevice("B5E99B74D22121F11E46D7C4714806A0") to get test ads on this device.
12-16 16:49:47.404 1548-21811/? W/Ads: App does not have the required permissions to get location
12-16 16:49:47.754 21656-21656/? W/Ads: Server parameters: {"gwhirl_share_location":"1","pubid":"ca-app-pub-xxx/xxx/cak=no_cache&cadc=lm&caqid=xxx"}
12-16 16:49:47.754 21656-21656/? W/Ads: Server parameters: {"gwhirl_share_location":"1","pubid":"ca-app-pub-xxx/xxx/cak=no_cache&cadc=lm&caqid=xxx"}
12-16 16:49:47.764 21656-21656/? I/Ads: Starting ad request.
12-16 16:49:47.764 21656-21656/? I/Ads: Use AdRequest.Builder.addTestDevice("B5E99B74D22121F11E46D7C4714806A0") to get test ads on this device.
12-16 16:49:48.174 21656-21921/? I/Ads: Trying mediation network: https://googleads.g.doubleclick.net/aclk?sa=L&ai=CUyxVnEA1WpziGY2B6gS04IKwAvnJ2qYF0e-FupIBABAIIILf4CZg8a38haQfqQIAAAAAgIQuQagDAaoEKk_Qz9GbpjZwuQkLYYaQ6CeGyH_RDbbSf2H8VjsxjAPreW2a9o02X10ACJAGAcAGC4AHgfipMJgHAdIIBwiMQxABGAI&num=1&cid=CAASBORo9I4&sig=AOD64_0lsBVscqSZ84s_pWXdpTQQwsp2Gw&adurl=http://example.com
12-16 16:49:48.184 21656-21656/? I/Ads: Instantiating mediation adapter: com.google.ads.mediation.chartboost.ChartboostAdapter
12-16 16:49:48.184 21656-21921/? I/Ads: Trying mediation network:
12-16 16:49:48.184 21656-21656/? I/Ads: Instantiating mediation adapter: com.google.ads.mediation.admob.AdMobAdapter
12-16 16:49:48.184 21656-21656/? W/Ads: Server parameters: {"gwhirl_share_location":"1","pubid":"ca-app-pub-xxx/xxx/cak=no_cache&cadc=lm&caqid=xxx"}
12-16 16:49:48.204 21656-21656/? I/Ads: Starting ad request.
12-16 16:49:48.204 21656-21656/? I/Ads: Use AdRequest.Builder.addTestDevice("B5E99B74D22121F11E46D7C4714806A0") to get test ads on this device.
12-16 16:49:51.744 21656-21656/? I/Ads: Ad finished loading.
12-16 16:49:51.744 21656-21656/? I/Ads: Ad finished loading.
12-16 16:49:51.754 21656-21656/? I/System.out: Ads: Succeeded to load video ad
12-16 16:49:52.474 21656-21656/? I/Ads: Ad finished loading.
12-16 16:49:52.484 21656-21656/? I/Ads: Ad finished loading.
我觉得奇怪的是我没有收到任何错误消息所以我删除了适配器库(我保留了chartboost.jar而不是* .aar)以查看我是否会收到任何错误,但日志输出完全相同。我有点困惑,我不知道这是否只是一旦我上线并获得真正的请求就会开始工作?
编辑我现在已经上线,正在收到真实用户的真实请求,我得到了很多“网络请求”,但没有“印象”
您可以尝试的一件事是通过手动设置非常高的eCPM(单击网络实例旁边的铅笔图标)来优先考虑Chartboost而不是AdMob。这将导致Chartboost成为瀑布的顶端,您将能够确保广告正在通过。见下图...
您需要做的就是关闭优化并将有效每千次展示费用从5美元设置为99美元。
以上是关于Admob mediation / w chartboost,即使一切似乎都有效,也没有印象?的主要内容,如果未能解决你的问题,请参考以下文章