Invibes bid adapter add ortb2 device #11749
Draft
+57
−0
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Type of change
Description of change
This PR enhances the Invibes bidder request by incorporating device data from the global ORTB2 object. Existing values in the Invibes device object will be overridden if they are also present in the global ORTB2 object. However, values unique to Invibes or not found in the global ORTB2 object will remain unchanged.
Parameters are added as GET query parameters, prefixed as
ortb2Device<deviceKeyName>
.Motivation
The device object has previously been populated by simplistic parsers, if at all, and was inaccurate as a result. Prebid now benefits from RTD modules such as 51Degrees that enrich all the device object fields including Apple iPhone model category and device ID. The PR enables Invibes' users to benefit from these eco-system improvements.
Other information
cc: @rcheptanariu