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

Smile Wanted : Update doc to support User Sync #2852

Merged
merged 1 commit into from
Apr 22, 2021
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
41 changes: 29 additions & 12 deletions dev-docs/bidders/smilewanted.md
Original file line number Diff line number Diff line change
@@ -1,28 +1,45 @@
---
layout: bidder
title: SmileWanted
description: SmileWanted Bidder Adaptor
title: Smile Wanted
description: SmileWanted Bidder Adapter
media_types: banner, video
pbjs: true
biddercode: smilewanted
gdpr_supported: true

usp_supported: true
gvl_id: 639
---

### Note

To use us as a bidder you must have an account and an active "zoneId" on our SmileWanted platform.

### Test zoneId

zoneId: 1

This zoneId will always deliver an ad, a SmileWanted creation with a price of requested CPM, which offer you to test and to win every auctions.
(Please note that impressions and revenues of this test zone this will not be recorded and not be paid)
To use us as a bidder you must have an account and an active "zoneId" on our Smile Wanted platform.

### Bid params

{: .table .table-bordered .table-striped }
| Name | Scope | Description | Example | Type |
|----------|----------|-----------------------|----------|-----------|
| `zoneId` | required | The placement zone ID | `350975` | `integer` |
| `zoneId` | required | The placement zone ID | `test.com_header_bidding_display_atf` | `string` |

### Testing

You can add `#sw_test_campaign` at the end of any url, this will have the effect of responding with a Smile Wanted creative, with a high CPM which allows to win every auctions and see if the ad displays correctly.
(Please note that impressions and revenues of this test ad this will not be recorded and not be paid)

### User Sync

Add the following code to enable user sync. Smile Wanted strongly recommends enabling user syncing through iFrames. This functionality improves partners user match rates and increases the Smile Wanted bid rate and bid price. Be sure to call `pbjs.setConfig()` only once.

```
pbjs.setConfig({
userSync: {
iframeEnabled: true,
filterSettings: {
iframe: {
bidders: '*', // '*' means all bidders
filter: 'include'
}
}
}
});
```