Skip to content

Commit 2cfeb70

Browse files
mk0x9bretg
authored andcommitted
VIS.X update documentation (prebid#1612)
1 parent fef1b88 commit 2cfeb70

1 file changed

Lines changed: 39 additions & 8 deletions

File tree

dev-docs/bidders/visx.md

Lines changed: 39 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,24 +14,55 @@ To be able to use the full bandwidth of VIS.X high impact ad products, we strong
1414

1515
If you require SafeFrames to be activated, please reach out to your YOC account manager to obtain further details.
1616

17-
The YOC VIS.X adaptor requires setup and approval from your YOC account manager team, even for existing YOC publishers. Please reach out to your account manager to enable Prebid.js for your account.
17+
The YOC VIS.X adaptor requires setup and approval from your YOC account manager team, even for existing YOC publishers.
18+
Please reach out to your account manager to enable Prebid.js for your account.
1819

1920
### Bid params
2021

2122
{: .table .table-bordered .table-striped }
22-
| Name | Scope | Description | Example | Type |
23-
|-------------|----------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------|----------|
24-
| `uid` | required | The publisher's ad unit ID in VIS.X | `'903536'` | `string` |
23+
| Name | Scope | Description | Example | Type |
24+
|-------|----------|-------------------------------------|------------|----------|
25+
| `uid` | required | The publisher's ad unit ID in VIS.X | `'903536'` | `string` |
2526

2627
### Configuration
2728

28-
The VIS.X adaptor has the ability to work in different currencies. Currently this adaptor supports `'EUR'`, `'USD'`, `'GBP'`, `'PLN'`. Defaults to `'EUR'`.
29+
The VIS.X adaptor has the ability to work in different currencies. Currently this adaptor supports `EUR`, `USD`,
30+
`GBP`, `PLN`. Defaults to `EUR`. If your Ad Server uses `EUR`, you don't need any additional currency settings.
31+
If you would like to trade with VIS.X in a currency different from `EUR`, you should implement some additional settings.
32+
33+
1. Download and configure the Prebid.js Currency module.
34+
35+
`http://prebid.org/dev-docs/modules/currency.html`
36+
37+
2. Setup the currency in Currency config.
38+
39+
a) If your Ad Server uses the currency from the list of VIS.X supported currencies (e.g. `GPB`), use the following settings:
40+
41+
```javascript
42+
pbjs.setConfig({
43+
currency: {
44+
adServerCurrency: 'GBP',
45+
bidderCurrencyDefault: {
46+
visx: 'GBP'
47+
}
48+
}
49+
});
50+
```
51+
52+
b) If your Ad Server uses an unsupported currency for VIS.X (e.g. `JPY`), use the following settings:
2953

3054
```javascript
31-
$$PREBID_GLOBAL$$.setConfig({
55+
pbjs.setConfig({
3256
currency: {
33-
adServerCurrency: 'GBP'
57+
adServerCurrency: 'JPY',
58+
bidderCurrencyDefault: {
59+
visx: 'EUR'
60+
}
3461
}
3562
});
3663
```
37-
Note: this currency config should correspond with your VIS.X account setting. Please reach out to your account manager for more information.
64+
65+
Best practices:
66+
- Please make sure that currency module is set up and configured in order to trade with VIS.X in a currency that is not supported by VIS.X bidder.
67+
- You should set `EUR` in `bidderCurrencyDefault` parameter if you use unsupported currency for VIS.X.
68+
- Feel free to reach out to your contact at VIS.X if you need additional support setting up Prebid.js and currency config.

0 commit comments

Comments
 (0)