Skip to content

Commit

Permalink
Smile Wanted : Update doc to support User Sync (#2852)
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxSmileWanted authored Apr 22, 2021
1 parent 4fae2ad commit fd66cd9
Showing 1 changed file with 29 additions and 12 deletions.
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'
}
}
}
});
```

0 comments on commit fd66cd9

Please sign in to comment.