-
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.
* Smaato: Initial version of bid adapter doc. * Smaato: Add fpd info * Smaato: Adjust first party data confif example * Smaato: Adjust adapter docs to reference correct yob and keywords * Smaato: Add video ad unit example
- Loading branch information
1 parent
2f5cda0
commit 4f35f04
Showing
1 changed file
with
90 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,90 @@ | ||
--- | ||
layout: bidder | ||
title: Smaato | ||
description: Prebid Smaato Bidder Adaptor | ||
hide: true | ||
biddercode: smaato | ||
gdpr_supported: true | ||
usp_supported: true | ||
coppa_supported: true | ||
media_types: banner, video | ||
--- | ||
|
||
### Note | ||
|
||
The Smaato adapter requires setup and approval from the Smaato team, even for existing Smaato publishers. Please reach out to your account team or [email protected] for more information. | ||
|
||
### Bid Params | ||
|
||
{: .table .table-bordered .table-striped } | ||
| Name | Scope | Description | Example | Type | | ||
|------------|----------|----------------------|------------|----------| | ||
| `publisherId` | required | Your Smaato publisher id | `'1100012345'` | `string` | | ||
| `adspaceId` | required | Your Smaato adspace id | `'11002234'` | `string` | | ||
|
||
### Example Banner Ad Unit | ||
|
||
```javascript | ||
var adUnit = { | ||
"code": "header-bid-tag-1", | ||
"mediaTypes": { | ||
"banner": { | ||
"sizes": [320, 50] | ||
} | ||
}, | ||
"bids": [{ | ||
"bidder": "smaato", | ||
"params": { | ||
"publisherId": "1100012345", | ||
"adspaceId": "11002234" | ||
} | ||
}] | ||
} | ||
``` | ||
|
||
### Example Video Ad Unit | ||
|
||
```javascript | ||
var adUnit = { | ||
"code": "video unit", | ||
"mediaTypes": { | ||
"video": { | ||
"context": "instream", | ||
"playerSize": [640, 480], | ||
"mimes": ["video/mp4"], | ||
"minduration": 5, | ||
"maxduration": 30, | ||
"startdelay": 0, | ||
"linearity": 1, | ||
"protocols": [7], | ||
"skip": 1, | ||
"skipmin": 5, | ||
"api": [7], | ||
"ext": {"rewarded": 0} | ||
} | ||
}, | ||
"bids": [{ | ||
"bidder": "smaato", | ||
"params": { | ||
"publisherId": "1100012345", | ||
"adspaceId": "11002234" | ||
} | ||
}] | ||
}; | ||
``` | ||
|
||
The Smaato adapter supports passing through first party data configured in your prebid integration. | ||
|
||
```javascript | ||
pbjs.setConfig({ | ||
fpd: { | ||
context: { | ||
keywords: "power tools" | ||
}, | ||
user: { | ||
keywords: "a,b", | ||
gender: "M", | ||
yob: 1984 | ||
} | ||
}); | ||
``` |