Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

marking webview as friendly

24 views
Skip to first unread message

Krishna saini

unread,
Mar 10, 2025, 12:40:50 PMMar 10
to Interactive Media Ads SDK
Hi Team
We are using Exo player IMA extension for rendering video ads. We dont use exo player controls and render our own webview on top of player. We have to part this webview as friendly to support viewability.
To do that, we tried two things - 
1. we have modified getAdOverlayInfos() method of PlayerView class & marked our whole react app's webview as friendly &   returning them  via playerView.getAdOverlayInfos(); This is done as suggested by this article -  https://developer.android.com/media/media3/exoplayer/ad-insertion#ui-considerations

Screenshot is attached that telling which all views are returned by getAdOverlayInfo.

2. we have tried marking our app's webview friendly via displayContainer.registerFriendlyObstruction(overlayObstruction) too. we are doing this at the time of `Ad_LOADED` event is fired. This is done as per this article -

still we are seeing that OMSDK firing geometry change event with 0 value of percentageInView. we verified it via running its test script. 

Questions-
1. what we are not doing correctly in approach 1
2. as per article 2, it was mentioned there `Any other views not related to video controls must not be registered.` what kind of views is this talking about. can a webview be marked as friendly ?

Requesting the team to futher guide us please. 

Screenshot 2025-03-10 at 10.56.11 AM.png

IMA SDK

unread,
Mar 10, 2025, 6:42:41 PMMar 10
to krishnap...@gmail.com, ima...@googlegroups.com

Hi Krishna,

Thank you for contacting the IMA SDK support team.

  1. The IMA SDK supports these platforms in which react is not listed. You may visit IMA SDK supported video player documentation for more information about the supported platforms. You can also check the Ads Developer Blog to keep up with the latest news and updates. 
  2. When ad viewability via the Open Measurement SDK is calculated, all views overlaying the media element are considered obstructions and reduce the viewability rate. In the case where a transparent tap overlay sits above the entire ad display container, it is possible for inventory to be declared completely unviewable.
    1. The Open Measurement SDK makes provisions for video controls to be considered "friendly" obstructions that are essential to the user’s experience. Once registered as friendly, these controls are excluded from ad viewability measurement.
    2. With IAB and MRC support, the IMA SDK introduces an API for registering these overlays with the Open Measurement SDK. These controls must be fully transparent overlays or small buttons. Any other views not related to video controls must not be registered.

Kindly check the OMSDK guide for more information.  Also note that this team can best assist issues related to IMA SDK Integration and technical implementation.

Thanks,
 
Google Logo IMA SDK Team

Feedback
How was our support today?

rating1    rating2    rating3    rating4    rating5
[2025-03-10 22:42:32Z GMT] This message is in relation to case "ref:!00D1U01174p.!5004Q02vH8HE:ref" (ADR-00293132)



Reply all
Reply to author
Forward
0 new messages