diff --git a/dev-docs/modules/scoremedia.md b/dev-docs/modules/scoremedia.md new file mode 100644 index 0000000000..430c77b423 --- /dev/null +++ b/dev-docs/modules/scoremedia.md @@ -0,0 +1,121 @@ +--- +layout: bidder +title: scoremedia +description: Prebid scoremedia Bidder Adapter +pbjs: true +biddercode: scoremedia +gvl_id: 965 +tcfeu_supported: true +usp_supported: true +gpp_supported: true +schain_supported: true +dchain_supported: false +floors_supported: true +userIds: all +tcfeu_supported: true +media_types: banner, video, native +safeframes_ok: true +deals_supported: true +sidebarType: 1 +fpd_supported: true +multiformat_supported: will-bid-on-any + +--- + +### Bid Params + +{: .table .table-bordered .table-striped } +| Name | Scope | Description | Example | Type | +|---------------|----------|----------------------------|-------------------------------------- |-----------| +| `tagId` | required | tag ID | `"795dtj21"` | `string` | + +### First Party Data + +Publishers should use the `ortb2` method of setting [First Party Data](/features/firstPartyData.html). +The following fields are supported: + +* ortb2.site.ext.data.* +* ortb2.site.content.data[] +* ortb2.user.ext.data.* +* ortb2.user.data[] + +### Test Parameters + +```javascript +var adUnits = [ + // Banner adUnit + { + code: 'banner-div', + mediaTypes: { + banner: { + sizes: [[300, 250], [300,600]] + } + }, + bids: [{ + bidder: 'scoremedia', + params: { + tagId: '795dtj21' + } + }] + }, + // Video adUnit + { + code: 'video1', + mediaTypes: { + video: { + playerSize: [640, 480], + context: 'instream' + } + }, + bids: [{ + bidder: 'scoremedia', + params: { + tagId: '795dtj21' + } + }] + }, + // Native adUnit + { + code: 'native1', + mediaTypes: + native: { + title: { + required: true + }, + image: { + required: true + }, + sponsoredBy: { + required: true + } + } + }, + bids: [{ + bidder: 'scoremedia', + params: { + tagId: '795dtj21' + } + }] + }, + // Multiformat Ad + { + code: 'multi1', + mediaTypes: { + video: { + playerSize: [640, 480], + context: 'instream' + }, + banner: { + sizes: [[300, 250], [300,600]] + } + }, + bids: [{ + bidder: 'scoremedia', + params: { + tagId: '795dtj21', + videoTagId: 'testscore' + } + }] + }; +]; +```