Reputation: 1047
I have a question about Google Admob (referenced libraries GoogleAdMobAdsSdk-4.1.1.jar) . My question :
How to add Admob into ListView as a item of ListView - Does everyone known that. Please help me... Thank you very much !
Upvotes: 4
Views: 5009
Reputation: 135
You probably found a solution, but anyway, please check this link
http://googleadsdeveloper.blogspot.com/2012/03/embedding-admob-ads-within-listview-on.html
it explains how you can display several ads in a listview.
You should not show more than one ad per page view; thus, the idea is that, if your regular list can show 8 items per page, then insert your ad every 8th, 16th, 24th... and so on.
I hope this helps.
Upvotes: 0
Reputation: 4405
You do that and you are asking to have your account banned...
From: http://helpcenter.admob.com/content/policies-tips-developers-publishers
The number of ads on a single page should not exceed one if the ad is fixed to the screen top or screen bottom. If the page scrolls, there should be a maximum of one ad on the top and one ad on the bottom, and both ads should not appear on the same page.
Upvotes: 7