Configurable targeting prefix #3094
Labels
enhancement
good first issue
Issues which are good for new contributors looking to get involved in the project
PBS-Go
We've gotten feedback that some publishers want a different set of ad targeting prefixes than
hb_
. One example is that they already have line items setup and want to move to a different set. Another example is a 'bake-off' where they want to run their original managed service and a new managed service side-by-side.It's not currently possible in PBS to define alternate prefixes for targeting output without creating a server-side module.
Here's a proposed way to make this configurable:
If both request.ext.prebid.targeting.prefix and auction.targeting.prefix config are present, prefer the request value.
If the value of the prefix is longer then
settings.targeting.truncate-attr-chars
, ignore it and add a warning to ext.warnings.Yes, this feature could result in unusable targeting if the prefix is too long and
settings.targeting.truncate-attr-chars
is not raised from the default of 20. User beware.The text was updated successfully, but these errors were encountered: