Ads in GridView

634 views
Skip to first unread message

Harshi Desai

unread,
Jul 17, 2017, 2:14:44 AM7/17/17
to Google Mobile Ads SDK Developers
Hello,

I want to show advertisement in gridview, just like grid item 
what should i do for that?
m stuck, please help me if there is any possible way to show advertisement in gridview

Regards,
Harshi Desai

Ivan Bautista (Mobile Ads SDK Team)

unread,
Jul 17, 2017, 4:38:11 AM7/17/17
to Google Mobile Ads SDK Developers
Hi Harshi,

You might want to use the RecyclerViewExample that we have as reference and change the layout manager of the RecyclerView to use GridLayoutManager(). However, this seems to be more of a general implementation concern rather than anything specific to the Mobile Ads SDK. It would be best to redirect your concern to other developer forums such as StackOverflow.

Additionally, please take note of the AdMob Banner ads implementation guidelines specially in layouts where amount of space where Ad will be placed is limited. As per documentation, the banner ad will not be displayed if there is not enough space for the ad.

Regards,
Ivan Bautista
Mobile Ads SDK Team
Reply all
Reply to author
Forward
0 new messages