-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Collect data about native + minor changes #4807
Conversation
Make it possible to pass dynamic parameters to adapter
Pass metadata from adapter
Seems like the ci/circleci tests fails every time a PR is made nowadays. I'm adding a comment to #4348 |
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.
LGTM, just the one comment which is not a blocker.
Will merge before next Prebid Release (Scheduled for tomorrow 2/5)
@@ -60,6 +60,7 @@ let livewrappedAnalyticsAdapter = Object.assign(adapter({EMPTYURL, ANALYTICSTYPE | |||
bidResponse.cpm = args.cpm; | |||
bidResponse.ttr = args.timeToRespond; | |||
bidResponse.readyToSend = 1; | |||
bidResponse.mediaType = args.mediaType == 'native' ? 2 : 1; |
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.
args.mediaType == 'native'
can probably use strict compare ===
Type of change
Description of change
Support collection of native analytics data (video not yet supported), setting endpoint of analytics call + some minor refactorings as suggested from previous PR.
The endpoint property is intended for internal use and is therefore not included in the documentation.