Skip to content

Commit de23e85

Browse files
authored
VISX: Update type support for uid (#4273)
* Update uid for video configuration - Updated type documentation of `uid` for video configuration - Synced to latest upstream master * Fix typo in parameter description
1 parent 8f9fb72 commit de23e85

File tree

1 file changed

+19
-11
lines changed

1 file changed

+19
-11
lines changed

dev-docs/bidders/visx.md

Lines changed: 19 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,13 @@ Please reach out to your account manager to enable Prebid.js for your account.
3030

3131
### Configuration: Currency
3232

33+
{: .table .table-bordered .table-striped }
34+
| Name | Scope | Description | Example | Type |
35+
| ----- | -------- | ---------------------------------------------------------------------------------------------------------------------------------------- | -------- | --------- |
36+
| `uid` | required | The publisher's ad unit ID in VIS.X. The parameter can be either an `integer` or `string` for Prebid.js, however `integer` is preferred. | `903536` | `integer` |
37+
38+
### Configuration
39+
3340
The YOC VIS.X adapter has the ability to work in different currencies. Currently, this adapter supports `EUR`, `USD`,
3441
`GBP`, `PLN`. Defaults to `EUR`. If your Ad Server uses `EUR`, you don't need any additional currency settings.
3542
If you would like to trade with VIS.X in a currency different from `EUR`, you should implement some additional settings.
@@ -86,25 +93,26 @@ pbjs.setConfig({
8693
### Bid params
8794

8895
{: .table .table-bordered .table-striped }
89-
| Name | Scope | Description | Example | Type |
90-
|-------|----------|-------------------------------------|------------|----------|
91-
| `uid` | required | The publisher's Ad unit ID in VIS.X. | `903536` | `integer` |
96+
97+
| Name | Scope | Description | Example | Type |
98+
| ----- | -------- | ---------------------------------------------------------------------------------------------------------------------------------------- | -------- | --------- |
99+
| `uid` | required | The publisher's ad unit ID in VIS.X. The parameter can be either an `integer` or `string` for Prebid.js, however `integer` is preferred. | `903536` | `integer` |
92100

93101
### Media type Banner object params
94102

95103
{: .table .table-bordered .table-striped }
96-
| Name | Scope | Description | Example | Type |
97-
|-------|----------|-------------------------------------|------------|----------|
98-
| `sizes` | required | All sizes this ad unit can accept. | `[[300, 250], [300, 600]]` | `array of integer arrays` |
104+
| Name | Scope | Description | Example | Type |
105+
| ------- | -------- | ---------------------------------- | -------------------------- | ------------------------- |
106+
| `sizes` | required | All sizes this ad unit can accept. | `[[300, 250], [300, 600]]` | `array of integer arrays` |
99107

100108
### Media type Video object params
101109

102110
{: .table .table-bordered .table-striped }
103-
| Name | Scope | Description | Example | Type |
104-
|-------|----------|-------------------------------------|------------|----------|
105-
| `context` | required | The video context, only 'instream' is allowed. | `'instream'` | `string` |
106-
| `playerSize` | required | The size (width, height) of the video player on the page, in pixels. | `[640, 480]` | `integer array` |
107-
| `mimes` | optional | Content MIME types supported. | `['video/mp4', 'video/x-ms-wmv']` | `string array` |
111+
| Name | Scope | Description | Example | Type |
112+
| ------------ | -------- | -------------------------------------------------------------------- | --------------------------------- | --------------- |
113+
| `context` | required | The video context, only 'instream' is allowed. | `'instream'` | `string` |
114+
| `playerSize` | required | The size (width, height) of the video player on the page, in pixels. | `[640, 480]` | `integer array` |
115+
| `mimes` | optional | Content MIME types supported. | `['video/mp4', 'video/x-ms-wmv']` | `string array` |
108116

109117
### Example of Banner Ad unit
110118

0 commit comments

Comments
 (0)