-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Smile Wanted : Update doc to support User Sync (#2852)
- Loading branch information
1 parent
4fae2ad
commit fd66cd9
Showing
1 changed file
with
29 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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' | ||
} | ||
} | ||
} | ||
}); | ||
``` |