You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An email was sent to the pbs-adapters mailing list in October outlining an issue that the Prebid Server committee is now going to take up.
Some adapters are using a dynamic endpoint domain as a bidder parameter. Prebid Server is not an open proxy. If necessary, you may specify a portion of the domain as a parameter to support geo regions or account specific servers. However, this is discouraged and may degrade the performance of your adapter since the server needs to maintain more outgoing connections. Host companies may choose to disable your adapter if it uses a dynamically configured domain.
For example, this auction endpoint URL is no longer allowed:
https://{{host}}/getbids
Why? Because the domain name is entirely dependent on an incoming parameter that could be spoofed, causing Prebid Server to make requests anywhere on the internet unless the host company takes pains to block that behavior.
This one is better:
https://{{host}}.example.com/getbids
Here, spoofed parameters can't do as much damage.
However, even this is only necessary if a bidder insists on publisher-specific domains. So let's talk about tracking. It's understandable that bidder endpoints will want to track publishers and the source Prebid Server. But publishers should be tracked within the ORTB2 body, e.g. as $.site.publisher.id. Our recommendation is that bid adapters design their auction endpoints so that publisher is an internal value rather than being on the URL.
Note that PBS host companies have the ability to support region-specific endpoints. For instance, if you have bidder endpoints in EU and US, you can work with the various PBS host companies running your adapter to deploy different configuration pointing properly to these endpoints.
Here are the adapters that currently utilize parameters that define the entire hostname
adkernel / adkernelAdn uses http://{{.Host}}/hb?zone={{.ZoneID}} - heads up @ckbo3hrk
An email was sent to the pbs-adapters mailing list in October outlining an issue that the Prebid Server committee is now going to take up.
Some adapters are using a dynamic endpoint domain as a bidder parameter. Prebid Server is not an open proxy. If necessary, you may specify a portion of the domain as a parameter to support geo regions or account specific servers. However, this is discouraged and may degrade the performance of your adapter since the server needs to maintain more outgoing connections. Host companies may choose to disable your adapter if it uses a dynamically configured domain.
For example, this auction endpoint URL is no longer allowed:
Why? Because the domain name is entirely dependent on an incoming parameter that could be spoofed, causing Prebid Server to make requests anywhere on the internet unless the host company takes pains to block that behavior.
This one is better:
Here, spoofed parameters can't do as much damage.
However, even this is only necessary if a bidder insists on publisher-specific domains. So let's talk about tracking. It's understandable that bidder endpoints will want to track publishers and the source Prebid Server. But publishers should be tracked within the ORTB2 body, e.g. as $.site.publisher.id. Our recommendation is that bid adapters design their auction endpoints so that publisher is an internal value rather than being on the URL.
PBS host config can be different for each host company
https://auction.example.com/getbids?pbs-source=magnite
Note that PBS host companies have the ability to support region-specific endpoints. For instance, if you have bidder endpoints in EU and US, you can work with the various PBS host companies running your adapter to deploy different configuration pointing properly to these endpoints.
Here are the adapters that currently utilize parameters that define the entire hostname
Here's the goal: documentation about the whole-{{Host}} parameter is gone as of April 1, 2022. New customers start using a different approach.
There are lots of ways to make that happen. The preferred method is to stop depending on dynamic hostnames entirely.
But assuming that's not going to be possible for some of you, here's a suggested approach:
I'll be reaching out to each company via email as well to work through this. Thanks for your attention to this matter.
The text was updated successfully, but these errors were encountered: