prebid / prebid-server

Open-source solution for running real-time advertising auctions in the cloud.
https://prebid.org/product-suite/prebid-server/
Apache License 2.0
413 stars 712 forks source link

Adapter naming and parameter consistency #2654

Open bretg opened 1 year ago

bretg commented 1 year ago

This issue tracks one of the rules that will be enforced starting with Prebid Server 2.0: bid adapters must support the same name(s) and parameter(s) across Prebid.js, PBS-Go, and PBS-Java.

This rule is in place to allow publishers to be able to utilize the s2sTesting module in Prebid.js and to reduce confusion.

Adapters that need to consider changes due to naming consistency

Adapters that should consider changes due to parameter consistency

Publishers have asked us to address adapters that have the same name but have parameter sets that are unbridgeable. This gives the appearance to publishers that it's one adapter, when really they're two distinct entities that cannot support the s2sTesting module.

In some cases, the bidder may be able to update the server-side adapter to do any transformations necessary. If for some reason that isn't possible, we will place a disclosure in your bidder documentation so that publishers are aware they're unable to use the s2sTesting module for your adapter.

mwang-sticky commented 1 year ago

@bretg we have the documents which has aliasCode, is that ok? https://github.com/mwang-sticky/prebid.github.io/blob/master/dev-docs/bidders/freewheelssp.md and our prebid go also add freewheel-ssp biddercode which to keep consistency with Prebid js as mentioned by https://docs.prebid.org/prebid-server/developers/add-new-bidder-go.html#aliasing-an-adapter

https://github.com/prebid/prebid-server/blob/master/static/bidder-info/freewheel-ssp.yaml https://github.com/prebid/prebid-server/blob/master/static/bidder-params/freewheel-ssp.json

abdollah-aghayan commented 1 year ago

@doomontiu Please check this one.

bretg commented 1 year ago

@mwang-sticky - you're right, freewheelssp is one code biddercode that will work everywhere and is documented. You're good.

mwang-sticky commented 1 year ago

@bretg as first 6 words of freewheelssp and freewheel-ssp are same, does it break the The alias name must be unique for the first 6 chars as noted above for biddercodes..

bretg commented 1 year ago

Good catch @mwang-sticky - but the point of the 6-character rule is that ad server KVPs in send all bids mode uniquely identify a given adapter. Since these biddercodes are actually the same adapter and the same company, they can share ad server line items.

Screen Shot 2023-04-04 at 7 18 55 AM
bretg commented 1 year ago

TrustX issue resolved with https://github.com/prebid/prebid.github.io/pull/4499

pm-nilesh-chate commented 1 year ago

Refer https://github.com/prebid/prebid-server/pull/2798 for GroupM bidder

bytedancer-1 commented 11 months ago

refer https://github.com/prebid/Prebid.js/pull/10397 for pangle adapter

SyntaxNode commented 11 months ago

@ucfunnel Please see changes requested for your Prebid Server to better match your Prebid.JS adapter parameters.

Slind14 commented 9 months ago

-- I'm removing this for now as we are talking with these SSPs directly to figure this out.

jsadwith commented 7 months ago

@bretg - this resurfaced on our end. I've confirmed that our documentation was updated in the past to reflect using placementId for both Prebid-Server and Prebid.js. This is accurate to what we expect. There was a short time in the past when adSlotId was used for Prebid-Server, but that was deprecated and still supported for backwards compatibility.

bretg commented 7 months ago

Thanks @jsadwith - I see from a PR that you're with Kargo. I do see that Kargo's docs do note placementId. Will go ahead and mark that as resolved.

JacobKlein26 commented 7 months ago

@bretg I was trying to add nextMillennium as an alias, but it seems to be already working without any changes by me (seemingly pbs-go not being case sensitive) I also can't add a nextMillnnium file (or folder) - as the file system doesn't let me reuse the same name (again, being case insensitive)

I apologize for my inexperience here. I would greatly appreciate some help in what I could/should do.

bretg commented 7 months ago

Thanks @JacobKlein26 - you're right. We recently released the case-insensitive biddercode update, so NextMillenium is clear now.