How to enable the custom controls for videocontroller of the native video ads?

455 views
Skip to first unread message

vish...@greedygame.com

unread,
Apr 17, 2019, 6:14:00 AM4/17/19
to Google Mobile Ads SDK Developers
Hi,

I wanted to control the Video Player with my own play, pause and volume control placed at the top left of the `MediaView` in case of video ads. For that, I have enabled the `customControlsRequested` in `GADVideoOptions`.

But when I see the video ad controls which are placed by Admob SDK in the bottom left of the `MediaView` are still being displayed and able to control the video playbacks. But the controls which are placed by mine for playing and pausing the video by calling `GADNativeAppInstallAd.videoController.play()` and `pause()` are not working. I am following the below documentation for the steps mentioned above.


Let me know If I am missing something here.

Also, I am experiencing the same behavior in Android too.

mobileadssdk...@google.com

unread,
Apr 17, 2019, 3:48:58 PM4/17/19
to vish...@greedygame.com, Google Mobile Ads SDK Developers
Hello there,

Unfortunately, the APIs you are trying to use are only available if AdManager is used and not for ads from AdMob network. Let us know if you need anything else. If you are using DFP to serve ads, then do let us know and we can guide you further.

Regards,
Deepika Uragayala
Mobile Ads SDK Team
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+ page:
    http://googleadsdeveloper.blogspot.com
    https://plus.google.com/115658573333388777174/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

--

---
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-sdk+unsub...@googlegroups.com.
To post to this group, send email to google-admob-ads-sdk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-admob-ads-sdk/c59d772c-43fb-4ba0-b994-66a1463076a8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Liran Barsisa

unread,
3:27 PM (5 hours ago) 3:27 PM
to Google Mobile Ads SDK Developers
Is this true for Android too?
If so, it's a big problem that you don't offer video controls, because they can be overlapping with UI on full screen native ads. 
In fact, they already do in your own sample :
https://github.com/googleads/googleads-mobile-android-examples/issues/934
And as there is no way to detect where the video controls appear, and we need to have the MediaView take the whole space for full screen, how could we overcome this issue and let the user reach the controls?


On Wednesday, April 17, 2019 at 10:48:58 PM UTC+3 mobileadssdk...@google.com wrote:
Hello there,

Unfortunately, the APIs you are trying to use are only available if AdManager is used and not for ads from AdMob network. Let us know if you need anything else. If you are using DFP to serve ads, then do let us know and we can guide you further.

Regards,
Deepika Uragayala
Mobile Ads SDK Team
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+ page:
    http://googleadsdeveloper.blogspot.com
    https://plus.google.com/115658573333388777174/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

On 04/17/19 06:14:00 vish...@greedygame.com wrote:
Hi,

I wanted to control the Video Player with my own play, pause and volume control placed at the top left of the `MediaView` in case of video ads. For that, I have enabled the `customControlsRequested` in `GADVideoOptions`.

But when I see the video ad controls which are placed by Admob SDK in the bottom left of the `MediaView` are still being displayed and able to control the video playbacks. But the controls which are placed by mine for playing and pausing the video by calling `GADNativeAppInstallAd.videoController.play()` and `pause()` are not working. I am following the below documentation for the steps mentioned above.


Let me know If I am missing something here.

Also, I am experiencing the same behavior in Android too.

--

---
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-sdk+unsub...@googlegroups.com.
To post to this group, send email to google-adm...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages