简体   繁体   English

adMob中介添加网络

[英]adMob mediation adding a network

In AdMob's mediation section, you have the option of adding an ad network. 在AdMob的中介部分中,您可以选择添加广告网络。 Depending on the network, then you have to type in some credentials, such aa key, or login etc. Is this all that you have to do? 然后,根据网络的不同,您必须输入一些凭据,例如aa密钥或登录名等。这就是您所要做的全部吗? If the ad network is listed in admob does that mean that you will start receiving ads, or do you have to download an SDK and add custom code for each? 如果admob中列出了广告网络,是否意味着您将开始接收广告,还是必须下载SDK并为每个广告添加自定义代码? I understand that 'custom events' are used for networks that aren't listed, but does that mean that the networks that are listed work out of the box so to speak? 我了解“自定义事件”用于未列出的网络,但这是否意味着列出的网络可以直接使用? The documentation is pretty bad. 该文档非常糟糕。

您还需要包括该网络的SDK和Admob与该网络之间的适配器(注意,适配器通常包含在网络的库中)。

Yeah, documentation is bad. 是的,文档很糟糕。 As well as the standard admob code, you also need to include an adapter for another network in your app code in order to get that other network to work. 除了标准admob代码外,您还需要在应用程序代码中包含另一个网络的适配器,以使另一个网络正常工作。 If your submitted app doesn't have the adapter in the code and you try to put that network in the mediation stack, then your app won't crash, it just won't show ads from that network. 如果您提交的应用程序的代码中没有适配器,而您尝试将该网络放入中介堆栈中,那么您的应用程序将不会崩溃,它只会显示该网络中的广告。

The adapters and the instructions for including them can be found here https://developers.google.com/mobile-ads-sdk/docs/admob/ios/mediation-networks 可以在以下位置找到适配器及其包含的说明:https://developers.google.com/mobile-ads-sdk/docs/admob/ios/mediation-networks

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM