-
Notifications
You must be signed in to change notification settings - Fork 2.2k
PubMatic Bid Adapter : send viewability percentage of slots #13092
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
Tread carefully! This PR adds 3 linter warnings (possibly disabled through directives):
|
} | ||
|
||
// Add viewability data at the imp.ext level | ||
imp.ext.viewability = { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why not put it on metrics where it belongs?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nevermind, putting it on metrics feels wrong, as that is for aggregate viewability, not viewability of the square at time of request... hmm, maybe we could propose a new metric?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here, we're calculating viewability on a per-slot basis, so instead of creating the metric at the impression level, we’ve included it in the ext object.
Tread carefully! This PR adds 3 linter warnings (possibly disabled through directives):
|
Type of change
Description of change
Enhance the PubMatic bid adapter to measure and report ad viewability for both banner and video impressions using the percentInView utility.