Skip to content

Commit

Permalink
Add smartx.md markdown for docs (#2272)
Browse files Browse the repository at this point in the history
* initial commit

* adjustments

* adjustments

* adjustments

* typo, further adjustments

Co-authored-by: Gino <skylinar@web.de>
  • Loading branch information
smartclip-adtech and Skylinar authored Aug 26, 2020
1 parent c285ee9 commit 5cf8211
Showing 1 changed file with 43 additions and 0 deletions.
43 changes: 43 additions & 0 deletions dev-docs/bidders/smartx.md
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` |

0 comments on commit 5cf8211

Please sign in to comment.