Skip to content

Commit 7255d1a

Browse files
nickllerandi“Nick
andauthored
KRKPD-1061: adds ORTB blocking to docs (#2) (prebid#5238)
* adds ORTB blocking to docs * adds EOF newline --------- Co-authored-by: “Nick <“nick.llerandi”@kargo.com>
1 parent 237ad9e commit 7255d1a

1 file changed

Lines changed: 34 additions & 0 deletions

File tree

dev-docs/bidders/kargo.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,3 +52,37 @@ pbjs.bidderSettings = {
5252
| Name | Scope | Description | Example | Type |
5353
|---------------|----------|-------------|---------|----------|
5454
| `placementId` | required | The placementId of the ad slot. |`'_jWuc8Hks'`| `string` |
55+
56+
### ORTB Blocking
57+
58+
Kargo supports blocking advertisers in `badv` and categories in `bcat` parameters.
59+
The blocked advertisers/categories list has no length limitation, but response timeout is more likely to occur as the number of entries grow.
60+
Blocked advertisers list (`badv`) is an array of domains as strings.
61+
Blocked categories list (`bcat`) is an array of IAB categories as strings.
62+
63+
For example:
64+
65+
#### Globally defined ORTB Blocking
66+
67+
```javascript
68+
pbjs.setConfig({
69+
ortb2: {
70+
badv: ["domain1.com", "domain2.com"],
71+
bcat: ["IAB23-1", "IAB23-5", "IAB25-3", "IAB25-2"]
72+
}
73+
)};
74+
```
75+
76+
#### ORTB Blocking specific only to rtbhouse bidder
77+
78+
```javascript
79+
pbjs.setBidderConfig({
80+
bidders: ['kargo'],
81+
config:{
82+
ortb2: {
83+
badv: ["domain1.com", "domain2.com"],
84+
bcat: ["IAB23-1", "IAB23-5", "IAB25-3", "IAB25-2"]
85+
}
86+
}
87+
});
88+
```

0 commit comments

Comments
 (0)