Can we able to display multiple ads in same screen using AdMob

跟風遠走 提交于 2020-01-03 03:24:05

问题


I have one app in which I want to display multiple ads in same screen.

App has one recycler view & which is scrollable more than 200 items. After in each 6 items, I have planed display the ads from admob. Are we able to do this using admob.?

I have tried with single ad unit id, with this all displaying ads are same. How to get different ads in same screen with more secure way & without violating policies ?

Please help!!


回答1:


You can have more than one ad in the same Activity, but only one should be on the screen at any given time. If you're using a RecyclerView and mixing ads with content, just make sure you have enough space between ads that they don't share the screen.

Because display sizes vary so much from device to device (especially from phone to tablet), you should check the device dimensions and use them to decide how far apart to space your ads.



来源:https://stackoverflow.com/questions/47668968/can-we-able-to-display-multiple-ads-in-same-screen-using-admob

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