iOS Native Ads with video content in tableview will cause lag/hitches

234 views
Skip to first unread message

Wenzhong Zheng

unread,
Oct 10, 2022, 9:00:28 PM10/10/22
to Google Mobile Ads SDK Developers
I want to use google native ads within a tableview, follow along with the documentation, I notice if ads has video content, it will automatically pause and play when off and on screen.  and this state switch will cause very much noticeable lags/hitches while scrolling around this ads back and forth from the edge of the screen. None of current demo are set with tableview cell. I wonder what's the proper way to setup GADNativeAdView or GADMediaView in a table view cell, so it does not cause any scroll performance issue when there're video content.

Wenzhong Zheng

unread,
Oct 11, 2022, 12:27:50 PM10/11/22
to Google Mobile Ads SDK Developers
FYI: I've tested on my iPhone 13Pro and Simulator, all have the same issue.

Wenzhong Zheng

unread,
Oct 12, 2022, 9:50:19 AM10/12/22
to Google Mobile Ads SDK Developers
in case you need a sample app. SDK is on latest Google-Mobile-Ads-SDK 9.11.0.1
also screen recording:

P.S. on physical device would be very noticeable, and the jitter mainly occurs when video from pause to play state, if I manually pause all videos, it scrolls very smooth.

Wenzhong Zheng

unread,
Oct 25, 2022, 1:32:49 PM10/25/22
to Google Mobile Ads SDK Developers
doesn't anyone else also experience this issue? or it's just me? hard to tell if any other popular social app is using GAM, would be nice if I can be pointed any of them, so I can check how they performs

Mobile Ads SDK Forum Advisor

unread,
Oct 25, 2022, 11:40:55 PM10/25/22
to google-adm...@googlegroups.com

Hi Wenzhong,

Thank you for reaching out to us.

With regard to your concern, I've checked the sample project you've provided and was able to encounter the slight lag on my end. I would assume that this would be intended behavior since the video is playing and is being loaded, however, I will be raising this to the wider team to further confirm if this is the actual expected behavior. We will update you once we have more information.

Regards,

Google Logo
Princess Pamela
Mobile Ads SDK Team
 


ref:_00D1U1174p._5004Q2fo2N7:ref

Wenzhong Zheng

unread,
Oct 28, 2022, 3:11:25 PM10/28/22
to Google Mobile Ads SDK Developers
Thank you for picking up my issue.
the sample project is very light weighted, and we are able to notice the hiccup. (not sure if you using physical device, it will be more obvious).
we're facing this issue on a much larger scaled project with heavily loaded complex contents, which will magnify the issue even more.
I'm really looking forward to hearing back from the team whom responsible for performance issues.

Regards

Mobile Ads SDK Forum Advisor

unread,
Dec 1, 2022, 2:20:31 PM12/1/22
to google-adm...@googlegroups.com
Hi Wenzhong,

Thank you for your patience.

That team provided their feedback and mentioned that the reason you're getting the reported behavior may cause performance issues, especially on older devices. Some workarounds are to have less videos within the scroll view (spread out the ads) or consider rendering native ads without the main asset.

Regards,
Google Logo
Teejay Wennie
Mobile Ads SDK Team
 


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