From b419c20c75bd31ed3e263f7746802c12b31e4a5d Mon Sep 17 00:00:00 2001 From: Maxime Deymes Date: Sun, 11 Apr 2021 14:01:44 +0200 Subject: [PATCH] Smile Wanted : Update doc to support User Sync --- dev-docs/bidders/smilewanted.md | 41 +++++++++++++++++++++++---------- 1 file changed, 29 insertions(+), 12 deletions(-) diff --git a/dev-docs/bidders/smilewanted.md b/dev-docs/bidders/smilewanted.md index 2cf3a77ce2..b38af9159c 100644 --- a/dev-docs/bidders/smilewanted.md +++ b/dev-docs/bidders/smilewanted.md @@ -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' + } + } + } +}); +```