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

Publir bid adapter #5043

Merged
merged 10 commits into from
Mar 19, 2024
55 changes: 55 additions & 0 deletions dev-docs/bidders/publir.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
---
layout: bidder
title: Publir
description: Prebid Publir Bidder Adapter
multiformat_supported: will-bid-on-any
pbjs: true
biddercode: publir
media_types: banner
schain_supported: true
gdpr_supported: true
mdghousesaqlain marked this conversation as resolved.
Show resolved Hide resolved
usp_supported: true
floors_supported: true
userIds: all
gvl_id: none
mdghousesaqlain marked this conversation as resolved.
Show resolved Hide resolved
sidebarType: 1
---

### Note

The Publir adapter requires setup and approval. Please reach out to [[email protected]] to setup an Publir account.

### Bid Parameters

#### Banner, Video

{: .table .table-bordered .table-striped }
| Name | Scope | Type | Description | Example
| ---- | ----- | ---- | ----------- | -------
| `pubId` | required | String | Publir publisher Id provided by your Publir representative | "1234567890abcdef12345678"

## Example

```javascript
var adUnits = [{
code: 'hre_div-hre-vcn-1',
sizes: [[1080, 1920]]],
mediaTypes: {
banner: {
sizes: [
[1080, 1920],
],
},
},
bids: [{
bidder: 'publir',
params: {
pubId: '1234567890abcdef12345678'
}
}]
}];
```

### Configuration

Publir required setting UserSync by iframe for monetization.