将 Facebook Audience Network 和 AdMob 整合在一起?
Integrate Facebook Audience Network and AdMob together?
我在我的 Android 应用程序中集成了 Facebook Audience Network,但我的填充率很低,大约 40%。
我正在考虑将 AdMob 与 Facebook Audience Network 集成,例如,当 Facebook Audience Network 无法填充广告时,我会展示 AdMob 广告。
我该如何实现?
当 Facebook Audience Network 广告加载失败时展示 AdMob 广告。
Now that you have the basic code running, it's recommended that you use the AdListener
to get notified when the ad fails to load so you could hide the banner unit. In the same way, you can add it back when it was loaded:
我在我的 Android 应用程序中集成了 Facebook Audience Network,但我的填充率很低,大约 40%。
我正在考虑将 AdMob 与 Facebook Audience Network 集成,例如,当 Facebook Audience Network 无法填充广告时,我会展示 AdMob 广告。
我该如何实现?
当 Facebook Audience Network 广告加载失败时展示 AdMob 广告。
Now that you have the basic code running, it's recommended that you use the
AdListener
to get notified when the ad fails to load so you could hide the banner unit. In the same way, you can add it back when it was loaded: