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

Setupad #5114

Merged
merged 7 commits into from
Mar 20, 2024
Merged

Setupad #5114

Changes from 6 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
64 changes: 64 additions & 0 deletions dev-docs/bidders/setupad.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
---
layout: bidder
title: Setupad
description: Setupad bid adapter
gvl_id: 1241
tcfeu_supported: true
usp_supported: true
coppa_supported: false
schain_supported: false
dchain_supported: false
safeframes_ok: false
deals_supported: false
floors_supported: false
fpd_supported: false
pbs_app_supported: false
pbjs: true
pbs: false
biddercode: setupad
media_types: banner
prebid_member: true
sidebarType: 1
---

### Bid Params

{: .table .table-bordered .table-striped }
| Name | Scope | Description | Example | Type |
|----------------+-------+-----------------------------------+-----------+---------|
| `placement_id` | required | Placement ID, provided by setupad | `'12345'` | String |
| `account_id` | optional | Account ID, provided by setupad | `'12345'` | String |

### Additional options

#### User Sync

Add the following code to activate user sync. Setupad advises enabling user syncing through iFrames, as it significantly improves partners' user match rates and increases the Setupad bid rate and bid price. Be sure to call `pbjs.setConfig()` only once.

```javascript
pbjs.setConfig({
userSync: {
iframeEnabled: true,
filterSettings: {
iframe: {
bidders: ['setupad'],
filter: 'include',
},
},
},
});
```

#### disabledSendingStatisticData

The `disabledSendingStatisticData` parameter disables sending statistics data to the Setupad server, such as bidRequested, bidResponse, noBid, and bidTimeout events.
An example of enabling this option:

```javascript
pbjs.setBidderConfig({
bidders: ['setupad'],
config: {
disabledSendingStatisticData: true,
},
});
```
Loading