简体   繁体   English

如何在Android中添加弹出广告?

[英]How to add pop-up ads in android?

how can I put pop-up ads to my android project and make it appear when the user closes/opens the app. 如何将弹出式广告放入我的android项目中,并使其在用户关闭/打开应用程序时显示。 Something like this - http://i.gyazo.com/5d3efd4f56d9a6c1bd464a9c45c1cfed.png instead of http://goo.gl/b5beFR 这样的东西-http: //i.gyazo.com/5d3efd4f56d9a6c1bd464a9c45c1cfed.png而不是http://goo.gl/b5beFR

Thanks in advance 提前致谢

You can use Interstitial Ads which are available in many ads libraries ie AdMob or AppFlood. 您可以使用许多广告库(例如AdMob或AppFlood)中提供的非页内广告。 Interstitial Ad AdMob 非页内广告AdMob

as Michal z points out you can use AdMob 正如Michal z指出的那样,您可以使用AdMob

and load the respective Banner Size: https://developers.google.com/mobile-ads-sdk/docs/admob/ios/banner#banner_size 并加载相应的横幅尺寸: https : //developers.google.com/mobile-ads-sdk/docs/admob/ios/banner#banner_size

Download an example from: https://github.com/Jorgesys/Android_AdMob 从以下网址下载示例: https//github.com/Jorgesys/Android_AdMob

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

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