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

Kargo: adds ORTB blocking to docs #5238

Merged
merged 1 commit into from
Apr 4, 2024
Merged
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
34 changes: 34 additions & 0 deletions dev-docs/bidders/kargo.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,37 @@ pbjs.bidderSettings = {
| Name | Scope | Description | Example | Type |
|---------------|----------|-------------|---------|----------|
| `placementId` | required | The placementId of the ad slot. |`'_jWuc8Hks'`| `string` |

### ORTB Blocking

Kargo supports blocking advertisers in `badv` and categories in `bcat` parameters.
The blocked advertisers/categories list has no length limitation, but response timeout is more likely to occur as the number of entries grow.
Blocked advertisers list (`badv`) is an array of domains as strings.
Blocked categories list (`bcat`) is an array of IAB categories as strings.

For example:

#### Globally defined ORTB Blocking

```javascript
pbjs.setConfig({
ortb2: {
badv: ["domain1.com", "domain2.com"],
bcat: ["IAB23-1", "IAB23-5", "IAB25-3", "IAB25-2"]
}
)};
```

#### ORTB Blocking specific only to rtbhouse bidder

```javascript
pbjs.setBidderConfig({
bidders: ['kargo'],
config:{
ortb2: {
badv: ["domain1.com", "domain2.com"],
bcat: ["IAB23-1", "IAB23-5", "IAB25-3", "IAB25-2"]
}
}
});
```
Loading