Type of issue
feature request / sanity / usefulness inquiry
Description
Prebid has a module that provides an event, BID_VIEWABLE, that will fire when a rendered bid becomes viewable. It only works with GAM/GPT, and relies on their to know when to emit the event.
What I am wondering is if it might be useful or generally desirable to have an alternative to this module that would do some thing on the clientside after pbjs.renderAd was called that could result in an alternative way to generate a signal that an ad was viewable. I have been playing around with intersectionObserver, and it seems like it could be fairly easy to leverage it to get reasonable proxy that people could use as a first party measure for viewability.
I was playing with getting this working outside of prebid (you can see my experiment here: https://test.kabob.ca/), but I wonder if this might be generally useful to people as a module.
Type of issue
feature request / sanity / usefulness inquiry
Description
Prebid has a module that provides an event, BID_VIEWABLE, that will fire when a rendered bid becomes viewable. It only works with GAM/GPT, and relies on their to know when to emit the event.
What I am wondering is if it might be useful or generally desirable to have an alternative to this module that would do some thing on the clientside after pbjs.renderAd was called that could result in an alternative way to generate a signal that an ad was viewable. I have been playing around with intersectionObserver, and it seems like it could be fairly easy to leverage it to get reasonable proxy that people could use as a first party measure for viewability.
I was playing with getting this working outside of prebid (you can see my experiment here: https://test.kabob.ca/), but I wonder if this might be generally useful to people as a module.