From 7d060719a37d8058138dc337bec59a843163b02d Mon Sep 17 00:00:00 2001 From: balajikrishrepo Date: Fri, 7 Jan 2022 02:16:48 +0530 Subject: [PATCH 1/5] removed mediafuse md files as we are deploying new pull request we wanted to remove the existing bidders list on the name mediafuse --- dev-docs/bidders/mediafuse.md | 70 ------------------------------- dev-docs/bidders/mediafuseLift.md | 22 ---------- 2 files changed, 92 deletions(-) delete mode 100644 dev-docs/bidders/mediafuse.md delete mode 100644 dev-docs/bidders/mediafuseLift.md diff --git a/dev-docs/bidders/mediafuse.md b/dev-docs/bidders/mediafuse.md deleted file mode 100644 index bea840ecbb..0000000000 --- a/dev-docs/bidders/mediafuse.md +++ /dev/null @@ -1,70 +0,0 @@ ---- -layout: bidder -title: MediaFuse -description: Prebid MediaFuse Bidder Adapter -pbjs: true -pbs: true -biddercode: mediafuse -aliasCode: adtelligent -media_types: banner, video ---- - -### Bid params - -{: .table .table-bordered .table-striped } -| Name | Scope | Description | Example | Type | -|-------|----------|---------------------------------|----------|-----------| -| `aid` | required | The traffic source ID | `529814` | `integer` | - - -### Test Parameters -``` - var adUnits = [ - - // Video instream adUnit - { - code: 'div-test-div', - sizes: [[640, 480]], - mediaTypes: { - video: { - context: 'instream' - } - }, - bids: [{ - bidder: 'mediafuse', - params: { - aid: 331133 - } - }] - }, - - // Video outstream adUnit - { - code: 'outstream-test-div', - sizes: [[640, 480]], - mediaTypes: { - video: { - context: 'outstream' - } - }, - bids: [{ - bidder: 'mediafuse', - params: { - aid: 331133 - } - }] - }, - - // Banner adUnit - { - code: 'div-test-div', - sizes: [[300, 250]], - bids: [{ - bidder: 'mediafuse', - params: { - aid: 529814 - } - }] - } - ]; -``` diff --git a/dev-docs/bidders/mediafuseLift.md b/dev-docs/bidders/mediafuseLift.md deleted file mode 100644 index fd95ca0f39..0000000000 --- a/dev-docs/bidders/mediafuseLift.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -layout: bidder -title: MediaFuse Lift -description: Prebid MediaFuse Lift Bidder Adaptor -top_nav_section: dev_docs -nav_section: reference -pbjs: true -biddercode: mediafuseLift -aliasCode : orbitsoft ---- - - -### Bid Params - -{: .table .table-bordered .table-striped } -| Name | Scope | Description | Example | Type | -|----------------|----------|----------------------------------------------------------------------|-------------------------------------|-----------| -| `placementId` | required | The placement ID (site channel ID) | `142` | `integer` | -| `requestUrl` | required | Url to perform search request | `'http://adserver.com/ads/show/hb'` | `string` | -| `style` | optional | Creative styles. Actual only for text ads | | `string` | -| `customParams` | optional | Permits passing any publisher key-value pairing into the bid request | `{"macro_name": "macro_value" }` | `object` | - From fb49c32fc9ac746a3f7d02e4cd357bf7c5229cab Mon Sep 17 00:00:00 2001 From: balajikrishrepo Date: Thu, 3 Feb 2022 03:40:41 +0530 Subject: [PATCH 2/5] created mediafuse bidder md file --- dev-docs/bidders/mediafuse.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 dev-docs/bidders/mediafuse.md diff --git a/dev-docs/bidders/mediafuse.md b/dev-docs/bidders/mediafuse.md new file mode 100644 index 0000000000..037c68e7de --- /dev/null +++ b/dev-docs/bidders/mediafuse.md @@ -0,0 +1,15 @@ +--- +layout: bidder +title: MediaFuse +description: Prebid MediaFuse Bidder Adapter +biddercode: mediafuse +media_types: video,banner +gdpr_supported: true +schain_supported: true +coppa_supported: true +usp_supported: true +safeframes_ok: true +prebid_member: true +pbjs: true +pbs: true +--- \ No newline at end of file From f32a43e81c7f075341405f3550280419031e9f1b Mon Sep 17 00:00:00 2001 From: balajikrishrepo Date: Thu, 3 Feb 2022 03:47:02 +0530 Subject: [PATCH 3/5] Revert "created mediafuse bidder md file" This reverts commit fb49c32fc9ac746a3f7d02e4cd357bf7c5229cab. --- dev-docs/bidders/mediafuse.md | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 dev-docs/bidders/mediafuse.md diff --git a/dev-docs/bidders/mediafuse.md b/dev-docs/bidders/mediafuse.md deleted file mode 100644 index 037c68e7de..0000000000 --- a/dev-docs/bidders/mediafuse.md +++ /dev/null @@ -1,15 +0,0 @@ ---- -layout: bidder -title: MediaFuse -description: Prebid MediaFuse Bidder Adapter -biddercode: mediafuse -media_types: video,banner -gdpr_supported: true -schain_supported: true -coppa_supported: true -usp_supported: true -safeframes_ok: true -prebid_member: true -pbjs: true -pbs: true ---- \ No newline at end of file From 51685d281a89c2728cee0b248fd5151461e09111 Mon Sep 17 00:00:00 2001 From: balajikrishrepo Date: Thu, 3 Feb 2022 03:56:18 +0530 Subject: [PATCH 4/5] Created MediaFuse bidder md file --- dev-docs/bidders/mediafuse.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 dev-docs/bidders/mediafuse.md diff --git a/dev-docs/bidders/mediafuse.md b/dev-docs/bidders/mediafuse.md new file mode 100644 index 0000000000..037c68e7de --- /dev/null +++ b/dev-docs/bidders/mediafuse.md @@ -0,0 +1,15 @@ +--- +layout: bidder +title: MediaFuse +description: Prebid MediaFuse Bidder Adapter +biddercode: mediafuse +media_types: video,banner +gdpr_supported: true +schain_supported: true +coppa_supported: true +usp_supported: true +safeframes_ok: true +prebid_member: true +pbjs: true +pbs: true +--- \ No newline at end of file From e1f796aad5adf555bf9d12e7c6d080d65b2dbef1 Mon Sep 17 00:00:00 2001 From: balajikrishrepo Date: Thu, 24 Feb 2022 21:41:45 +0530 Subject: [PATCH 5/5] updated test parameters --- dev-docs/bidders/mediafuse.md | 143 +++++++++++++++++++++++++++++++++- 1 file changed, 142 insertions(+), 1 deletion(-) diff --git a/dev-docs/bidders/mediafuse.md b/dev-docs/bidders/mediafuse.md index 037c68e7de..188298e188 100644 --- a/dev-docs/bidders/mediafuse.md +++ b/dev-docs/bidders/mediafuse.md @@ -12,4 +12,145 @@ safeframes_ok: true prebid_member: true pbjs: true pbs: true ---- \ No newline at end of file +--- + +#### Prebid Server Test Request + +The following test parameters can be used to verify that Prebid Server is working properly with the server-side Mediafuse adapter. This example includes an Mediafuse test placement ID and sizes that would match with the test creative. + +``` +var adUnits = [ + // Banner adUnit + { + code: 'banner-div', + mediaTypes: { + banner: { + sizes: [[300, 250], [300,600]] + } + }, + bids: [{ + bidder: 'mediafuse', + params: { + placementId: 13144370 + } + }] + }, + // Native adUnit + { + code: 'native-div', + sizes: [[1, 1]], + mediaTypes: { + native: { + title: { + required: true + }, + body: { + required: true + }, + image: { + required: true + }, + sponsoredBy: { + required: true + }, + icon: { + required: false + } + } + }, + bids: [{ + bidder: 'mediafuse', + params: { + placementId: 13232354, + allowSmallerSizes: true + } + }] + }, + // Video instream adUnit + { + code: 'video-instream', + sizes: [[640, 480]], + mediaTypes: { + video: { + playerSize: [[640, 480]], + context: 'instream' + }, + }, + bids: [{ + bidder: 'mediafuse', + params: { + placementId: 13232361, + video: { + skippable: true, + playback_methods: ['auto_play_sound_off'] + } + } + }] + }, + // Video outstream adUnit + { + code: 'video-outstream', + sizes: [[300, 250]], + mediaTypes: { + video: { + playerSize: [[300, 250]], + context: 'outstream', + // Certain ORTB 2.5 video values can be read from the mediatypes object; below are examples of supported params. + // To note - mediafuse supports additional values for our system that are not part of the ORTB spec. If you want + // to use these values, they will have to be declared in the bids[].params.video object instead using the mediafuse syntax. + // Between the corresponding values of the mediaTypes.video and params.video objects, the properties in params.video will + // take precedence if declared; eg in the example below, the `skippable: true` setting will be used instead of the `skip: 0`. + minduration: 1, + maxduration: 60, + skip: 0, // 1 - true, 0 - false + skipafter: 5, + playbackmethod: [2], // note - we only support options 1-4 at this time + api: [1,2,3] // note - option 6 is not supported at this time + } + }, + bids: [ + { + bidder: 'mediafuse', + params: { + placementId: 13232385, + video: { + skippable: true, + playback_method: 'auto_play_sound_off' + } + } + } + ] + }, + // Banner adUnit in a App Webview + // Only use this for situations where prebid.js is in a webview of an App + // See Prebid Mobile for displaying ads via an SDK + { + code: 'banner-div', + mediaTypes: { + banner: { + sizes: [[300, 250], [300,600]] + } + } + bids: [{ + bidder: 'mediafuse', + params: { + placementId: 13144370, + app: { + id: "B1O2W3M4AN.com.prebid.webview", + geo: { + lat: 40.0964439, + lng: -75.3009142 + }, + device_id: { + idfa: "4D12078D-3246-4DA4-AD5E-7610481E7AE", // Apple advertising identifier + aaid: "38400000-8cf0-11bd-b23e-10b96e40000d", // Android advertising identifier + md5udid: "5756ae9022b2ea1e47d84fead75220c8", // MD5 hash of the ANDROID_ID + sha1udid: "4DFAA92388699AC6539885AEF1719293879985BF", // SHA1 hash of the ANDROID_ID + windowsadid: "750c6be243f1c4b5c9912b95a5742fc5" // Windows advertising identifier + } + } + } + }] + } +]; +``` \ No newline at end of file