From 7fd1d89199cd03b8d18b6e5fea071d3c7ffcea7c Mon Sep 17 00:00:00 2001 From: Yohan Boutin Date: Thu, 8 Dec 2022 20:52:12 +0100 Subject: [PATCH] update doc example for inBanner and inStream examples (#4142) --- dev-docs/bidders/seedtag.md | 61 +++++++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) diff --git a/dev-docs/bidders/seedtag.md b/dev-docs/bidders/seedtag.md index 03d7dffc0b..7326fb048b 100644 --- a/dev-docs/bidders/seedtag.md +++ b/dev-docs/bidders/seedtag.md @@ -6,6 +6,7 @@ pbjs: true gdpr_supported: true usp_supported: true schain_supported: true +safeframes_ok: true gvl_id: 157 media_types: banner, video biddercode: seedtag @@ -81,3 +82,63 @@ const adUnits = [ } ] ``` + +## InBanner example +```js +const adUnits = [ + { + code: '/21804003197/prebid_test_300x250', + mediaTypes: { + banner: { + sizes: [[300, 250]] + } + }, + bids: [ + { + bidder: 'seedtag', + params: { + publisherId: '0000-0000-01', // required + adUnitId: '0000', // required + placement: 'inBanner', // required + } + } + ] + } +] +``` + +## inStream example +```js +var adUnits = [{ + code: 'video', + mediaTypes: { + video: { + context: 'instream', // required + playerSize: [640, 360], // required + // Video object as specified in OpenRTB 2.5 + mimes: ['video/mp4'], // recommended + minduration: 5, // optional + maxduration: 60, // optional + boxingallowed: 1, // optional + skip: 1, // optional + startdelay: 1, // optional + linearity: 1, // optional + battr: [1, 2], // optional + maxbitrate: 10, // optional + playbackmethod: [1], // optional + delivery: [1], // optional + placement: 1, // optional + } + }, + bids: [ + { + bidder: 'seedtag', + params: { + publisherId: '0000-0000-01', // required + adUnitId: '0000', // required + placement: 'inStream', // required + } + } + ] +}]; +```