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

Change `bidResponse.adId` to `bidId`

Open protonate opened this issue 10 years ago • 6 comments

protonate avatar Aug 02 '16 22:08 protonate

@mkendall07 Can we close this in favor of https://github.com/prebid/Prebid.js/issues/509 ? Also, is there any way to re-remind the adapter maintainers to use the signature seen here: https://github.com/prebid/Prebid.js/pull/567/ (bid = bidfactory.createBid(1, bidObj);)? That would help everyone out and move towards a standardized approach for all adapters.

CarsonBanov avatar Sep 27 '16 21:09 CarsonBanov

@CarsonBanov Yeah I think we can do that...

@protonate I forget the intent behind this... what was the reason?

mkendall07 avatar Sep 28 '16 14:09 mkendall07

The two issues are related but not duplicative. #509 is to inform bidder adapter maintainers that it can and should be the way to relate bid requests and responses. #499 is an internal core code refactor to change the property name of a bid response ID (adId) to match the property name of a bid request ID (bidId).

The intent is consistent property names.

protonate avatar Sep 28 '16 14:09 protonate

Thanks for the clarification. I think it makes sense to keep this one open then. Hopefully https://github.com/prebid/Prebid.js/issues/509 will be done by the adapter maintainers sooner rather than later!

CarsonBanov avatar Sep 28 '16 14:09 CarsonBanov

bump @protonate gonna do this?

mkendall07 avatar Dec 21 '16 15:12 mkendall07

@mkendall07 I think we should hold off on this. Bid responses have an adId which fits with the targeting key hb_adid, and we are not going to change the targeting key name, so may as well leave bid response ID as adId. Closing.

protonate avatar Jan 26 '17 16:01 protonate