Custom iOS video player with custom "Click Through" button

175 views
Skip to first unread message

Matthew Murray

unread,
Sep 21, 2023, 6:13:27 PM9/21/23
to Interactive Media Ads SDK
Hi,
I'm writing a custom video player that implements the Google IMA SDK to support VAST. I'm using v3.19.1. My issue is that the click through URL is not exposed anywhere from the IMA SDK. How can I create a custom click out link? 

In my custom player, clicking on the video itself plays/pauses the video, so any clicks directly on the video are intercepted. How can I support a custom click out button outside of the video frame?

Thanks

IMA SDK

unread,
Sep 22, 2023, 6:05:37 AM9/22/23
to mmu...@nativo.com, ima...@googlegroups.com

Hi,

 

Thank you for raising your concern to the IMA SDK team.

 

As mentioned here, as far as whole-video click tracking goes, the standard viewer experience for mobile video that has emerged is that tapping on a video either pauses it or brings up the player controls. To avoid users unintentionally clicking on ads when they really just want access to the player controls IMA uses the Learn more button to let users click on an ad and learn more about the product being advertised. You can find more information here.

 

Additionally, I recommend referring to this guide. This guide explains how to implement more control over clickthrough in your IMA SDK implementation. "Clickthrough" refers to the process of a user clicking on an ad and getting to the landing page for that ad.

 

Please be informed that the IMA SDKs do not support changing the layout, size, or content of UI elements.

 

If the provided solution above does not fit your need, kindly share with us your business use-case why you need the feature of a clickthrough button outside the video frame.

 

Let me know if you have any questions.
 

This message is in relation to case "ref:_00D1U1174p._5004Q2p0Kdy:ref"

Thanks,
 
Google Logo IMA SDK Team


Matthew Murray

unread,
Sep 22, 2023, 11:28:27 AM9/22/23
to IMA SDK, ima...@googlegroups.com
Thanks for the response, however the solution you’ve provided refers to the handling of the video’s “learn more” button that is inside of the video frame. Those delegate methods are only called once that default “learn more” button is clicked. That’s not what I’m trying to do.

What I’m trying to do is create a different, custom “Learn More” that exists outside the video’s frame altogether. When playing in full screen in portrait, the video plays in the center, but the learn more button would be at the bottom. This doesn’t seem to be possible with the linkOpenerDelegate API. Is there any other way I could do this?

Sent from my iPhone

  
Logo_resized.png
 
Matthew Murray | Tech Lead, Software Engineering
Web: nativo.com
Email: mmu...@nativo.com
email-awards.png
Nativo is proudly certified as a Minority Business & recognized by Comparably for building a people-first, values-driven culture.

On Sep 22, 2023, at 3:05 AM, IMA SDK <ima...@forumsupport.google> wrote:



IMA SDK

unread,
Sep 22, 2023, 5:00:00 PM9/22/23
to mmu...@nativo.com, ima...@googlegroups.com
Hello Matthew,

Thank you for responding back to us.

I believe from my understanding you want to create a custom ad ui element instead of using the default one. If so, kindly be informed that we already raise to our wider team a feature request for implementation of custom ad ui element. However, it would not be finished until mid-way through next year. If that is too long a wait, we can recommend PAL (https://developers.google.com/ad-manager/pal/ios) as an option which would let the users directly manage all elements of an ads playback, since no UI is built in with PAL.

Kindly monitor our release notes (https://developers.google.com/interactive-media-ads/docs/sdks/ios/client-side/history) and blog post (https://ads-developers.googleblog.com/search/label/ima_sdk) for future updates.

Matthew Murray

unread,
Sep 25, 2023, 2:50:03 PM9/25/23
to Interactive Media Ads SDK
Fair enough. Thank you!
Reply all
Reply to author
Forward
0 new messages