-
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
Cannot set KVP per bidder and preserve hb_pb
for winner
#196
Comments
Related: |
@mkendall07 If you let me know which path to go down I can try to do the coding 😄 (or perhaps there's a way to do it with no code changes) |
@CarsonBanov |
Thanks so much for taking a look at it! Thoughts:
and we also do:
The It seems like we need to either 1) exclude There probably are a few folks out there who are overwriting all the KVP for each partner (ex: to target different line items), but I think in most cases they use separate KVP and these standard KVP can be kept. Sorry if my analysis doesn't help 😵 ! |
@CarsonBanov |
My desire:
In an effort to set up some bid analytics, I would like to set up the KVP for each partner such that:
appnexus_bid: 1.00
)hb_pb
Attempts thru Prebid:
To start, the
standard.adserverTargeting
array is set to be exactly the defaults. Then I tried:appnexus.adserverTargeting
array which includes one element ofappnexus_bid
. This doesn't work because only theappnexus_bid
KVP will be set andhb_pb
is never setappnexus.adserverTargeting
array which includes all the elements ofstandard.adserverTargeting
plus one additional element ofappnexus_bid
. This is better sincehb_pb
will be set, but it doesn't work because these KVP are only set when appnexus wins!appnexus.adserverTargeting
array which includes all the elements ofstandard.adserverTargeting
plus one additional element ofappnexus_bid
and setalwaysUseBid: true
. This is close as well since for all bidders they will setappnexus_bid
,brealtime_bid
, etc., BUT thehb_pb
value will always be set by the last partner that runs. That means that although I get the per-partner bid KVP's, thehb_pb
value will not represent the winning bid!Solutions:
alwaysUseBid
is used, set the KVP for that partnerappnexus.adserverTargeting
always but set the KVP forstandard.adserverTargeting
only for the winneralwaysUseBid
to somehow apply to an individual KVPbidKvpAdjustment
similar tobidCpmAdjustment
that can be optionally implemented for each partner that is called withbidResponse
(not justbidCpm
) and responds with a KVP to be setThe attempts and solutions I came up with are based on my non-expert understanding of the Prebid code. If there is another way to do what I want (set custom KVPs for each partner but preserve standard KVPs to be set by the winning partner) then please let me know. If this feature requires a code change, I can make a PR, but I don't know what the best route is.
Thanks for your time.
The text was updated successfully, but these errors were encountered: