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

Prebid 10: phase out bidder request.{}.userID?

Open patmmccann opened this issue 2 years ago • 47 comments

Type of issue

I propose adding a deprecation warning in the prebid 9 release notes and in the reviewer guidelines indicating the intent to retire the bidderRequest.{}.userId object in prebid 10. eids seems to always be preferred as these objects become more complex and we've duplicated much of the weight of the object between the two.

patmmccann avatar Apr 22 '24 20:04 patmmccann

tracking as prebid 10 issue to deprecate bidderRequest.{}.userId and notify adapters of this upcoming change leading into prebid 10

ChrisHuie avatar Mar 05 '25 17:03 ChrisHuie

Adapters that WILL break in Prebid 10 due to checks or references to the bidderRequest.{}.userId object and not utilizing bidderRequest.{}.userIdsAsEids

  • [ ] adgeneration | @ss-toshihide-tajima
  • [ ] adgrid | @soman
  • [ ] adnuntius | @antosarho
  • [ ] adot | @khouajaSadok
  • [ ] adprime | @Adprime
  • [ ] adquery | @awiackiewicz
  • [ ] adrino | @tmielcarz
  • [ ] adspirit | @carsten1980
  • [ ] adWMG | @nyakove
  • [ ] beachfront | @jsalis
  • [ ] bridgewell | @rigelbibi
  • [ ] cadentApertureMX | @EMXDigital
  • [ ] cleanmedianet | @CleanMediaNet
  • [ ] concert | @BrettBlox
  • [ ] conversant | @johnwier
  • [ ] craft | @crumbjp
  • [ ] exads | @giuseppe-exads
  • [ ] fan | @freedomadnetworkdev
  • [ ] freepass | @aplio
  • [ ] gamoshi | @mmoses
  • [ ] h12media | @h12media
  • [ ] invibes | @danielminvibes
  • [ ] justpremium | @marcin15g
  • [ ] kueez | @saar120
  • [ ] luponmedia | @luponmedia
  • [ ] mediafuse | @balajimediafuse
  • [ ] mediasquare | @matthieularere-msq
  • [ ] mobkoi | @zeeye
  • [ ] nexverse | @yogeshverse
  • [ ] open8 | @hisui
  • [ ] pangle | @pangle-fe
  • [ ] pixfuture | @pixfuture-media
  • [ ] rads | @onlsol
  • [ ] resetdigital | @jhonja93
  • [ ] revcontent | @alexander-alexandrov
  • [ ] rise | @michachen
  • [ ] rubicon |
  • [ ] stroeerCore | @philipwatson
  • [ ] teads | @github-mickael-leclerc
  • [ ] ucfunnel | @jackhsiehucf
  • [ ] underdogmedia | @kevpark02
  • [ ] undertone | @idanbotbol
  • [ ] vox | @hybrid-ai
  • [ ] winr | @ecoeco163

ChrisHuie avatar May 19 '25 17:05 ChrisHuie

hey @ChrisHuie,

What does bidderRequest.{}.getUserIdsAsEids mean? It appears to be a property but is named like a function, but a function is rarely on the bidderRequest like that.

And how is it different to bidderRequest.ortb2.user.ext.eids?

Cheers,

antosarho avatar May 22 '25 07:05 antosarho

hey @ChrisHuie,

What does bidderRequest.{}.getUserIdsAsEids mean? It appears to be a property but is named like a function, but a function is rarely on the bidderRequest like that.

And how is it different to bidderRequest.ortb2.user.ext.eids?

Cheers,

My apologies @antosarho . I was looking at the capitalization and copied the public function. I meant bidderRequest.{}.userIdAsEids sorry for the confusion.

ChrisHuie avatar May 22 '25 12:05 ChrisHuie

Adapters that COULD break in Prebid 10 due to checks or references to the bidderRequest.{}.userId object but also reference bidderRequest.{}.userIdsAsEids

  • [ ] 33across |

  • [ ] adagio | @osazos

  • [ ] adhese | @yieldmo

  • [ ] adkernel | @ckbo3hrk

  • [ ] admatic | @fatihkaya84

  • [ ] adriver | @m-oranskaya

  • [ ] adverxo | @dev-adverxo

  • [ ] adyoulike |

  • [ ] aja | @0tarof

  • [ ] alkimi | @kalidas-alkimi

  • [ ] amx | @nickjacob

  • [ ] apacdex |

  • [ ] appnexus | @jsnellbaker

  • [ ] audiencerun |

  • [ ] beop | @sebrobert

  • [ ] bliink | @osazos

  • [ ] brightMountainMedia |

  • [ ] colossusssp |

  • [ ] connatix |

  • [ ] connectad | @rtuschkany

  • [ ] consumable | @jpiros

  • [ ] datablocks | @jmayor

  • [ ] deepintent | @caplock221b

  • [ ] discovery | @BaronJHYu

  • [ ] distroscale | @duancg

  • [ ] fluct |

  • [ ] freewheel-ssp |

  • [ ] grid | @leonardlabat

  • [ ] holid | @holidio

  • [ ] hypelab | @Minebomber

  • [ ] impactify |

  • [ ] insticator | @shubhamc-ins

  • [ ] ix | @shahinrahbariasl

  • [ ] jixie | @displayio

  • [ ] kargo |

  • [ ] limelightDigital | @apykhteyev

  • [ ] liveIntentAnalyticsAdapter | @3link

  • [ ] livewrapped | @bjorn-lw

  • [ ] logicad | @naru-tsujine

  • [ ] mediago | @BaronJHYu

  • [ ] mediakeys |

  • [ ] medianet | @Pratik3307

  • [ ] microad |

  • [ ] missena |

  • [ ] nativo |

  • [ ] nextMillennium |

  • [ ] nobid |

  • [ ] oms | @siminkovladyslav

  • [ ] onetag | @f-cali

  • [ ] optidigital |

  • [ ] ozone | @AskRupert-DM

  • [ ] prisma | @tongwu-sh

  • [ ] pubgenius |

  • [ ] pubmatic | @jlquaccia

  • [ ] raveltechRtdProvider | @mnguyen-raveltech

  • [ ] relaido | @relaido

  • [ ] richaudience |

  • [ ] rishko00 | @smartyads

  • [ ] rtbhouse | @piotrj-rtbh

  • [ ] seedingAlliance |

  • [ ] seedtag |

  • [ ] sharethrough |

  • [ ] smartadserver |

  • [ ] smilewanted |

  • [ ] snigel | @snigelweb

  • [ ] sovrn | @ikagotso

  • [ ] tgcallaway | @imds

  • [ ] themoneytizer | @themoneytizer

  • [ ] triplelift | @patrickloughrey

  • [ ] ttd | @anastasiiapankivFS

  • [ ] vdo-ai-tech | @vdoai

  • [ ] viously | @geoffray-viously

  • [ ] vrtcal | @vrtcal-dev

  • [ ] yahooAds |

  • [ ] yieldlab | @rey1128

  • [ ] zeta_global_ssp | @orazumov-zeta

  • [ ] audUtils/bidderUtils.js | @hasanideepak

  • [ ] braveUtils/index.js | @thebraveio

  • [ ] xeUtils/bidderUtils.js | @dimashirokov

ChrisHuie avatar May 22 '25 13:05 ChrisHuie

Hi @ChrisHuie We have reviewed the admatic adapter and confirmed that it only uses userIdAsEids, and does not reference bidderRequest.userId. Therefore, there’s no risk of breaking in Prebid 10 due to this deprecation. This might have been a false positive. Best.

fatihkaya84 avatar May 22 '25 13:05 fatihkaya84

@ChrisHuie We've confirmed that our adapter doesn't reference bidderRequest.{}.userId. We only use userIdAsEids and only on valid bid requests array elements.

pjaworski-rtbh avatar May 22 '25 14:05 pjaworski-rtbh

Thanks @ChrisHuie - The Ozone Bid Adapter moved away from accessing bidRequest.userId in our PR from June 2024. We now only ever do bidRequest.userIdAsEids

AskRupert-DM avatar May 22 '25 18:05 AskRupert-DM

Hey @ChrisHuie, one further question: does bidderRequest.{}.userIdAsEids take precedence over bidderRequest.ortb2.user.ext.eids?

Or will they always have the same value?

antosarho avatar May 22 '25 23:05 antosarho

Hi @ChrisHuie, confirm, the LiveIntentAnalyticsAdapter does not use bidderRequest.userId. It only uses userIdAsEids.userIdAsEids.

3link avatar May 23 '25 07:05 3link

Hello @ChrisHuie

It's good on gridBidAdapter side ; we only use userIdAsEids.

leonardlabat avatar May 23 '25 08:05 leonardlabat

Hello @ChrisHuie

adkernel uses only bidderRequest.{}.userIdAsEids

ckbo3hrk avatar May 23 '25 09:05 ckbo3hrk

Hi @ChrisHuie raveltech only uses bidRequest.userIdAsEids. Unless you have spotted any other breaking code, we think we're good. Thanks!

mnguyenfr avatar May 23 '25 09:05 mnguyenfr

Hi @ChrisHuie

At Adverxo we only use bidderRequest.{}.userIdAsEids. Thanks!

dev-adverxo avatar May 23 '25 09:05 dev-adverxo

Hi @ChrisHuie We have resubmitted the adapter code(Mediago Bid Adapter). Please review it.

BaronJHYu avatar May 23 '25 10:05 BaronJHYu

Hi @ChrisHuie , the Discovery Bid Adapter removed bidRequest.userId. Please review our PR.

ecoeco163 avatar May 23 '25 10:05 ecoeco163

Hi @ChrisHuie The adgeneration adapter uses the user.ext.eids field of the object generated by ortbConverter. Will this field be unchanged in Prebid 10?

ss-toshihide-tajima avatar May 23 '25 12:05 ss-toshihide-tajima

@ChrisHuie I have put together some minor changes for the appnexusBidAdapter to update the way the userId data is pulled from the bidderRequest. Please take a look.

jsnellbaker avatar May 23 '25 14:05 jsnellbaker

Hey @ChrisHuie

Insticator only uses bidderRequest.{}.userIdAsEids.

Thanks!

shubhamc-ins avatar May 23 '25 17:05 shubhamc-ins

HI @ChrisHuie , (xeUtils/bidderUtils.js) do not reference bidderRequest.userId. We only use userIdAsEids, and only within valid elements of the bid requests array

Chucky-choo avatar May 24 '25 12:05 Chucky-choo