You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`unitId`| required | ShowHeroes MAX unit ID |`'1234abcd-5678efgh'`|`string`|
28
+
|`unitId`| required | ShowHeroes MAX unit ID |`'1234abcd-5678efgh'`|`string`|
28
29
29
30
All other parameters should be sent inside openRTB request.
30
31
31
-
###openRTB2 support
32
+
## openRTB2 support
32
33
33
34
{: .alert.alert-danger :}
34
35
Starting with Prebid.js version 9.18 ShowHeores bidder adapter is requesting bids via openRTB protocol.
35
36
Publishers can use the `ortb2` method of setting [First Party Data](https://docs.prebid.org/features/firstPartyData.html). Bidder supports all first-party data fields: site, user, segments, and imp-level first-party data.
36
37
37
-
###testing
38
+
## testing
38
39
39
40
While developing or testing locally, you can request a test request by marking the openRTB as a test.
40
-
To do that specifically for `showheroes-Bs` you can do:
41
+
To do that specifically for `showheroes` you can do:
41
42
42
43
```javascript
43
44
pbjs.setBidderConfig({
44
-
bidders: ['showheroesBs'],
45
+
bidders: ['showheroes'],
45
46
config: {
46
47
ortb2: {
47
48
test:1
@@ -56,7 +57,7 @@ Or, more easily you can mark the whole request as a test request by doing:
56
57
pbjs.setConfig({ortb2: {test:1}})
57
58
```
58
59
59
-
####Prebid Server Test Request
60
+
### Prebid Server Test Request
60
61
61
62
To verify that the Prebid Server is working properly with the server-side `Showheroes` adapter a `test` property can be utilized.
62
63
@@ -77,7 +78,7 @@ To verify that the Prebid Server is working properly with the server-side `Showh
77
78
}
78
79
```
79
80
80
-
####Outstream
81
+
### Outstream
81
82
82
83
Example of adunit configuration for the outstream unit:
83
84
@@ -105,7 +106,7 @@ var adUnits = [
105
106
},
106
107
},
107
108
bids: [{
108
-
bidder:"showheroes-bs",
109
+
bidder:"showheroes",
109
110
params: {
110
111
unitId:"1234abcd-5678efgh",
111
112
}
@@ -121,7 +122,7 @@ pbjs.que.push(function () {
121
122
122
123
You could use this example and place it in .html example pages inside the Prebid.js repository.
123
124
124
-
####instream
125
+
### instream
125
126
126
127
Example of adunit configuration for the instream unit:
127
128
@@ -137,7 +138,7 @@ var videoAdUnit = {
137
138
},
138
139
bids: [
139
140
{
140
-
bidder:'showheroesBs',
141
+
bidder:'showheroes',
141
142
params: {
142
143
unitId:"1234abcd-5678efgh",
143
144
}
@@ -164,7 +165,7 @@ pbjs.que.push(function(){
164
165
165
166
You could use this example and place it in the `test/pages/instream.html` example page inside the Prebid.js repository.
0 commit comments