inline adaptive banner - receive multiple callback in one request

88 views
Skip to first unread message

pduatr...@gmail.com

unread,
Dec 15, 2022, 6:24:12 AM12/15/22
to Google Mobile Ads SDK Developers
Hi, 

we are going to add the inline adaptive banner to our content where the banner view size
could fit to the banner. 

The Problem we encounter is that there are 2 call back from the request, from the first request, the banner height from the first request is 267, while a higher one is return from the second call back. 
Thus, if we create the banner view following the first call back, we cannot got a larger size banner.  to obtain a large size banner, we have to set a view with 600 height and the out come is the banner does not fit to the view occasionally.

Skype_Picture_2022_12_15T11_12_47_211Z.jpeg

Our question is
1. Why we got 2 call back from one request, is it the norm or we do something wrong?
2. if 2 call back is the norm, how can we make the banner view fit to the height of the banner

Here is what we receive in a banner request for reference.
Screenshot 2022-12-15 at 6.41.33 PM.png

Cheers,

Jason

Mobile Ads SDK Forum Advisor

unread,
Dec 15, 2022, 1:18:35 PM12/15/22
to pduatr...@gmail.com, google-adm...@googlegroups.com
Hi Jason,

Thank you for raising this to us.

I went ahead and tried the reported behavior on my end using our Adaptive banner example app. As per testing, the bannerViewDidReceiveAd callback only trigger once which means that I only got 1 ad on my end (please see attached screenshot). With that, could you please confirm the following in order for us to investigate the reported behavior further via reply privately to author option?
  • Are you using the latest version of the SDK?
  • Could you confirm if the behavior occurs using our demo ad unit?
  • Is the behavior reliably reproducible on your end (occurs on every ad request)?
  • Your App ID and Ad unit ID being used
  • Screen recording of the behavior
Regards,
Google Logo
Teejay Wennie
Mobile Ads SDK Team
 


ref:_00D1U1174p._5004Q2h3Kyj:ref
Screenshot 2022-12-16 at 2.00.50 AM.png
Reply all
Reply to author
Forward
0 new messages