Add Open Measurement impression tracking - #244
Conversation
|
Thanks @ValentinPostindustria and @YuriyVelichkoPI -- while you're working on PUC tracking, please take a look at prebid/prebid-mobile-ios#1059 |
|
Some concerns based on my understanding of Open Measurement:
Would it make more sense to instead write a proper verification script and use omid as intended? |
|
Please add some automated tests to cover these changes. For example see some added here for rendering based on MRAID viewability #248 |
|
Hi @rickyblaha ! This PR is not a prod candidate, but it demonstrates which OMID signals and data are available inside the creative. The solution doesn't look super reliable, but if some members would like to test it we will move forward. The PR is on track by the Mobile committee. If there is no intention to move this solution forward in the near future, I'll close it. |
|
Closing this PR in favor of more reliable approaches: |
We have researched the Open Measurement SDK's behavior for impression tracking (
burl) in the PUC.OM SDK JS script contains the public methods that are available in all versions and are not obfuscated. We have researched different versions of AppLovin, GAM, and AdMob. List of these methods:
We can subscribe to all these methods using the proxy method. For receiving them we should use
window.omidBridge.<method_name>.We have tried to subscribe to
publishImpressionEvent, but it works too fast and we can't handle it. So we decided to subscribe to the geometry change called by thesetNativeViewHierarchymethod. But this method can be called when a view is not on a screen or is not visible, so we need to check this method's parameter. Parameter options:viewIsNotOnScreen.viewIsNotVisible.