-
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.
Add smartx.md markdown for docs (#2272)
* initial commit * adjustments * adjustments * adjustments * typo, further adjustments Co-authored-by: Gino <skylinar@web.de>
- Loading branch information
1 parent
c285ee9
commit 5cf8211
Showing
1 changed file
with
43 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,43 @@ | ||
--- | ||
layout: bidder | ||
title: smartx | ||
description: Prebid smartx Bidder Adapter | ||
biddercode: smartx | ||
media_types: no-display, video | ||
gdpr_supported: true | ||
tcf2_supported: true | ||
userIds: id5Id, pubCommonId | ||
prebid_member: true | ||
schain_supported: true | ||
usp_supported: true | ||
safeframes_ok: false | ||
pbjs: true | ||
--- | ||
|
||
### Bid Params | ||
|
||
{: .table .table-bordered .table-striped } | ||
| Name | Scope | Description | Example | Type | | ||
|----------------------|----------|---------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------| | ||
| `tagId` | required | A unique ID. | `'Nu68JuOWAvrbzoyrOR9a7A'` | `string` | | ||
| `publisherId` | required | A unique PublisherID. | `'publisher_Id'` | `string` | | ||
| `siteId` | required | A unique SiteID. | `'site_id'` | `string` | | ||
| `bidfloor` | required | Value of Bidfloor. | `0.3` | `float` | | ||
| `bidfloorcur` | required | Used Currency. (e.g. EUR, USD etc.) | `'EUR'` | `string` | | ||
| `context` | optional | Token that describes which context to play: 'instream' or 'outstream' | `'outstream'` | `string` | | ||
| `outstream_function` | optional | Custom function to be used as a renderer. | `function(bid){console.log(bid);}` | `function` | | ||
| `outstream_options` | required | Object to set options on the smartx renderer. (Only required when setting mediaType.video.context = 'outstream') | `{}` | `object` | | ||
| `secure` | optional | Boolean identifying whether the requests should be https or not (used to override the protocol if the page isn't secure). | `true` | `boolean` | | ||
| `mimes` | optional | List of MIME types to allow in ad. | `['application/javascript', 'video/mp4', 'video/webm']` | `array` | | ||
| `price_floor` | optional | Set the current channel price floor in real time. | `10` | `integer` | | ||
| `min_duration` | optional | Minimum video ad duration in seconds | | `integer` | | ||
| `max_duration` | optional | Maximum video ad duration in seconds | | `integer` | | ||
|
||
<a name="smartx-outstream-options-object" /> | ||
|
||
#### outstream_options Object | ||
|
||
{: .table .table-bordered .table-striped } | ||
| Name | Scope | Description | Example | Type | | ||
|----------------------|----------|---------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------| | ||
| `slot` | required | ID of element that video ad should be rendered into. | `'adSlot1'` | `string` | |