Prebid.js icon indicating copy to clipboard operation
Prebid.js copied to clipboard

Proposal: upgrade fpd enrichment module to core

Open patmmccann opened this issue 2 years ago • 1 comments

Type of issue

Feature request

Description

In committee and https://github.com/prebid/Prebid.js/pull/8738 there is much discussion of the Ortb2 object, and how much of the direction of the project from a bid adapter perspective will be on improving this object and minimizing the need for duplicate code across many adapters to form an Ortb request. Some of the enrichments we plan to add are in the enrichment module, and more are planned on being added there. So that adapters can rely on these fields existing, my proposal is to upgrade enrichment to core.

patmmccann avatar Sep 13 '22 17:09 patmmccann

This would add about ~2KB to core, which is about a 1.3% increase.

The tradeoff is that a number of adapters are doing this enrichment independently, which means that depending on which adapters a pub includes, moving FPD enrichment to core could potentially even out the net byte count.

bretg avatar Sep 26 '22 15:09 bretg