Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added new setConfig option for pbs adapterOptions #1075

Merged
merged 3 commits into from
Jan 10, 2019
Merged
Show file tree
Hide file tree
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
1 change: 1 addition & 0 deletions dev-docs/bidders/prebidServer.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,4 @@ Configuration options
| `syncEndpoint` | String | | Configures the user-sync endpoint. Highly recommended. |
| `adapter` | String | | Adapter code; default: `"prebidServer"`. |
| `secure` | Integer | | Override Prebid Server's determination of whether the request needs secure assets. Set to `1` to force secure assets on the response, or `0` for non-secure assets. |
| `adapterOptions` | Object | | Arguments will be added to resulting OpenRTB payload to Prebid Server. |
7 changes: 6 additions & 1 deletion dev-docs/publisher-api-reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -1431,7 +1431,11 @@ pbjs.setConfig({
timeout: 1000,
adapter: 'prebidServer',
endpoint: 'https://prebid.adnxs.com/pbs/v1/openrtb2/auction',
syncEndpoint: 'https://prebid.adnxs.com/pbs/v1/cookie_sync'
syncEndpoint: 'https://prebid.adnxs.com/pbs/v1/cookie_sync',
adapterOptions: {
rubicon: { key: 'value' },
appnexus: { key: 'value' }
}
}
})
{% endhighlight %}
Expand All @@ -1450,6 +1454,7 @@ Additional information of these properties:
| `endpoint` | Required | URL | Defines the auction endpoint for the Prebid Server cluster |
| `syncEndpoint` | Required | URL | Defines the cookie_sync endpoint for the Prebid Server cluster |
| `userSyncLimit` | Optional | Integer | Max number of userSync URLs that can be executed by Prebid Server cookie_sync per request. If not defined, PBS will execute all userSync URLs included in the request. |
| `adapterOptions` | Optional | Object | Arguments will be added to resulting OpenRTB payload to Prebid Server. |

**Additional Notes on s2sConfig properties**

Expand Down