Skip to content

Commit

Permalink
Feature: Multiple Prebid Servers (prebid#2512)
Browse files Browse the repository at this point in the history
* added note about setting multiple servers config

* wordsmithing

Co-authored-by: bretg <bgorsline@gmail.com>
  • Loading branch information
2 people authored and osazos committed Feb 23, 2021
1 parent 39160c0 commit c66d164
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions dev-docs/bidders/prebidServer.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,28 @@ pbjs.setConfig({
}
});
```

To use multiple prebid servers, just define `s2sConfig` as an array.
The same bidder cannot be set in both configs. For example:

```
pbjs.setConfig({
s2sConfig: [
{
accountId: '12345',
bidders: ['appnexus','rubicon'],
defaultVendor: 'appnexus',
timeout: 300,
},
{
accountId: '678910',
bidders: ['pubmatic'],
defaultVendor: 'rubicon',
timeout: 300,
},
],
});
```
Configuration options

{: .table .table-bordered .table-striped }
Expand Down

0 comments on commit c66d164

Please sign in to comment.