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

New bid adapter for Smaato #2091

Merged
merged 5 commits into from
Jul 23, 2020
Merged
Changes from 4 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
59 changes: 59 additions & 0 deletions dev-docs/bidders/smaato.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
---
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
---

### 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 Ad Unit

```javascript
var adUnit = {
"code": "header-bid-tag-1",
"mediaTypes": {
"banner": {
"sizes": [320, 50]
}
},
"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
}
});
```