MediaContent duration remains 0 after ad load, preventing playback on ad received

4 views
Skip to first unread message

Adarsh Kumar

unread,
Nov 3, 2025, 2:27:13 AM (4 days ago) Nov 3
to Google Mobile Ads SDK Developers

iOS app : We are using GADCustomNativeAd with video content and observing an issue where mediaContent.duration remains 0 even after the ad is successfully received. This prevents us from triggering playback readiness logic, which relies on detecting a valid duration value. Since we programmatically trigger play() with not enough buffer for playback, videocontroller delegate sends pause event hence pausing the player and it never restarts until manually click play button via custom controls.

Could you help us understand why there is no enough buffer on ad received to play the video? Is there a recommended approach to reliably detect when a GADCustomNativeAd with video is ready to play? we never faced this issue during A/B test with small user target but when we scaled to larger user base with multiple ad campaigns this started happening and it happens for all videos now.

We have this proposition ready to launch to our advertisers but now blocked due to auto play not working.

Mobile Ads SDK Forum Advisor

unread,
Nov 3, 2025, 10:28:37 AM (4 days ago) Nov 3
to google-adm...@googlegroups.com

Hi,

Thank you for contacting the Mobile Ads SDK Support team.

We will raise this issue with the wider team and will update you once we receive any update on this. Meanwhile, your patience is important.


Thanks,
 
Google Logo Mobile Ads SDK Team

Feedback
How was our support today?

rating1    rating2    rating3    rating4    rating5
[2025-11-03 15:27:42Z GMT] This message is in relation to case "ref:!00D1U01174p.!500Ht01vST30:ref" (ADR-00338260)



Süleyman Temir

unread,
Nov 5, 2025, 5:22:11 AM (2 days ago) Nov 5
to Adarsh Kumar, Google Mobile Ads SDK Developers

3 Kas 2025 Pzt 10:26 tarihinde 'Adarsh Kumar' via Google Mobile Ads SDK Developers <google-adm...@googlegroups.com> şunu yazdı:

iOS app : We are using GADCustomNativeAd with video content and observing an issue where mediaContent.duration remains 0 even after the ad is successfully received. This prevents us from triggering playback readiness logic, which relies on detecting a valid duration value. Since we programmatically trigger play() with not enough buffer for playback, videocontroller delegate sends pause event hence pausing the player and it never restarts until manually click play button via custom controls.

Could you help us understand why there is no enough buffer on ad received to play the video? Is there a recommended approach to reliably detect when a GADCustomNativeAd with video is ready to play? we never faced this issue during A/B test with small user target but when we scaled to larger user base with multiple ad campaigns this started happening and it happens for all videos now.

We have this proposition ready to launch to our advertisers but now blocked due to auto play not working.

--

---
You received this message because you are subscribed to the Google Groups "Google Mobile Ads SDK Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-admob-ads...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/google-admob-ads-sdk/b5b1fb49-3a26-4324-b948-282d316e317bn%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages