Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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