Having the same admob native ad displayed multiple times in a RecyclerView

575 views
Skip to first unread message

Sule Isah

unread,
Dec 12, 2022, 8:20:05 PM12/12/22
to Google Mobile Ads SDK Developers
I have a RecyclerView in which I show an admob native ad after every 10 items. So for example if I have 100 items in a list, then the ad will be shown 10 times. I first generate the native ad object then mix it with the list which is then passed to the RecyclerView adapter. How will ad impression work in this scenario? Will it register an impression if the list is scrolled very fast? And is a native ad object only limited to one impression which is the first time it's displayed or will each time it is displayed as we scroll all the way down the RecyclerView list be counted as an impression,hence multiple impressions (10 or so). If so,won't this be too much impressions for just one ad,and how will this affect my admob account?

Mobile Ads SDK Forum Advisor

unread,
Dec 13, 2022, 3:02:14 AM12/13/22
to justm...@gmail.com, google-adm...@googlegroups.com

Hi there,

Thanks for reaching out to the GMA SDK Forum.

Have you checked the native RecyclerView Example in this page in order to check up on how to properly recycle AdViews inside a Recycler View?  

For your concern where same AdMob native ad displayed multiple times in a RecyclerView and to see the impression count issues, could you provide the following details so that our team can verify the behavior observed on your end?

  • Sample app containing (app ID and ad unit ID) 
  • Steps to replicate
  • Screen recording of the behavior
  • Charles logs for the Ads calls

If the file(s) you are looking to share are less than 25mb in total you can attach them to this case on your next reply via reply privately to author option. If you are having trouble attaching your file to this case or if your file(s) are larger than 25mb, you can share your files with me by performing the following steps:

 

1. Navigate to

https://docs.google.com/forms/d/e/1FAIpQLSfkAiXMeYP-fw1W3Z-tT9uwmATEKO5X6S-th0gR2ezdKaaqfg/viewform?usp=pp_url&entry.400550049=Mobile+Ads+SDK&entry.460850823=5004Q00002h2JTuQAM&entry.80707362=00160436

2. Fill out all fields, and attach your file(s).

3. Please reply back on this thread when you have uploaded your file(s). Please do not share this link.

 

Regards,

Google Logo
Yasar
Mobile Ads SDK Team
 


ref:_00D1U1174p._5004Q2h2JTu:ref

Sule Isah

unread,
Dec 13, 2022, 10:24:15 AM12/13/22
to Google Mobile Ads SDK Developers
I'm still developing the app,I simply want to know if the same ad object can have multiple impressions like each time it is displayed while scrolling a recyclerview or using it in different activities,and if yes what effect this will have on my earnings or admob account

Mobile Ads SDK Forum Advisor

unread,
Dec 13, 2022, 3:22:18 PM12/13/22
to justm...@gmail.com, google-adm...@googlegroups.com
Hi Sule,

I work along with Yasar. I'm afraid that our team cannot comment on the effect in earnings with the behavior that you were getting right now. In Mobile Ads perspective, the expectation should be the returned Google ads will all be different from each other when you request for multiple ads using adLoader.loadAds method, so it's odd that you were getting the same at a time. 

Regards,
Google Logo
Teejay Wennie
Mobile Ads SDK Team
 


ref:_00D1U1174p._5004Q2h2JTu:ref

Sule Isah

unread,
Dec 13, 2022, 6:24:55 PM12/13/22
to Google Mobile Ads SDK Developers
I'm not having the same google ad being returned like you think. What I'm testing is taking a single native ad object and displaying it multiple times at different places like along the recyclerview or in different activities. I just want to know whether each time that  same ad is displayed will be counted as an impression or wether the impression will be counted only the first time that ad is displayed?

Mobile Ads SDK Forum Advisor

unread,
Dec 14, 2022, 2:41:41 AM12/14/22
to justm...@gmail.com, google-adm...@googlegroups.com

Hi Sule,

 

Thank you for your response.

 

Since you mentioned that you're testing the single native ad object, you may use the NativeAdView class corresponds to a single native ad. The ad view classes also provide methods used to register the view used for each individual asset, and one to register the NativeAd object itself. Registering the views in this way allows the SDK to automatically handle tasks such as:

  • Recording clicks
  • Recording impressions
  • Displaying the AdChoices overlay

 

Since the recording impressions are automatically being handled, the impression that being counted are when the first pixel is visible on the screen.

 

Regards,

Google Logo
Princess Pamela
Mobile Ads SDK Team
 


ref:_00D1U1174p._5004Q2h2JTu:ref
Reply all
Reply to author
Forward
0 new messages