From 3b888242ebc8a45dc820c0fdfc44c7e8cb3c7f31 Mon Sep 17 00:00:00 2001 From: CPG Date: Mon, 5 May 2025 13:24:11 +0200 Subject: [PATCH] added spm.md documentation --- dev-docs/modules/spm.md | 121 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 121 insertions(+) create mode 100644 dev-docs/modules/spm.md diff --git a/dev-docs/modules/spm.md b/dev-docs/modules/spm.md new file mode 100644 index 0000000000..15f6ab7a41 --- /dev/null +++ b/dev-docs/modules/spm.md @@ -0,0 +1,121 @@ +--- +layout: bidder +title: Sportplatz Media +description: Prebid spm Bidder Adapter +pbjs: true +biddercode: spm +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 | `"n1x53vta"` | `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: 'spm', + params: { + tagId: 'n1x53vta' + } + }] + }, + // Video adUnit + { + code: 'video1', + mediaTypes: { + video: { + playerSize: [640, 480], + context: 'instream' + } + }, + bids: [{ + bidder: 'spm', + params: { + tagId: 'n1x53vta' + } + }] + }, + // Native adUnit + { + code: 'native1', + mediaTypes: + native: { + title: { + required: true + }, + image: { + required: true + }, + sponsoredBy: { + required: true + } + } + }, + bids: [{ + bidder: 'spm', + params: { + tagId: 'n1x53vta' + } + }] + }, + // Multiformat Ad + { + code: 'multi1', + mediaTypes: { + video: { + playerSize: [640, 480], + context: 'instream' + }, + banner: { + sizes: [[300, 250], [300,600]] + } + }, + bids: [{ + bidder: 'spm', + params: { + tagId: 'n1x53vta', + videoTagId: 'n1x53vta' + } + }] + }; +]; +```