[Android][Feature Request] Ad interface: add getter for clickThroughUrl field

92 views
Skip to first unread message

Mattia Aracne

unread,
Sep 4, 2023, 4:23:03 AM9/4/23
to Interactive Media Ads SDK
The Ad interface is missing the getter for the clickThroughUrl field that is declared in the AdImpl class.

I have an app with some UIs that should fire the clickThroughUrl on user interaction, but it isn't currently possible unless accessing the hidden field through reflection.

Please add the getter to the Ad interface, thank you!

IMA SDK

unread,
Sep 4, 2023, 8:35:35 AM9/4/23
to thea...@gmail.com, ima...@googlegroups.com

Hi,

Thank you for reaching out to the IMA SDK Forum.

With regards to your use case, could you confirm if you are referring to a method of getting the clickThroughUrl? If yes, please note that there’s no API method that you can use to retrieve the clickthrough URL and I’m afraid exposing it is not in our pipeline. The IMA SDK intentionally does not provide a way to get this URL, to prevent instances of calling it without the companion being clicked.

On the other hand, if you are referring to something else, could you elaborate more on your use case? This is so we could better understand it and provide more appropriate guidance. 

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

Thanks,
 
Google Logo IMA SDK Team


Reply all
Reply to author
Forward
0 new messages