From 9b0fa3231aa55e3ced988e2b070f0e5d342266c7 Mon Sep 17 00:00:00 2001 From: Pranav Sheth Date: Fri, 11 Oct 2024 16:22:54 +0530 Subject: [PATCH 1/3] New Bidder:tapnative --- dev-docs/bidders/tapnative.md | 87 +++++++++++++++++++++++++++++++++++ 1 file changed, 87 insertions(+) create mode 100644 dev-docs/bidders/tapnative.md diff --git a/dev-docs/bidders/tapnative.md b/dev-docs/bidders/tapnative.md new file mode 100644 index 0000000000..5d22c4b7ec --- /dev/null +++ b/dev-docs/bidders/tapnative.md @@ -0,0 +1,87 @@ +--- +layout: bidder +title: Tapnative +description: Prebid Tapnative Bidder Adaptor +pbjs: true +biddercode: tapnative +media_types: banner, native +tcfeu_supported: false +usp_supported: true +coppa_supported: true +gpp_sids: usstate_all +schain_supported: false +safeframes_ok: false +ortb_blocking_supported: false +dsa_supported: false +deals_supported: true +floors_supported: true +sidebarType: 1 +--- + +### Banner Params + +| Name | Scope | Description | Example | Type | +|----------------|-----------|-----------------------|----------------|----------| +| `placement_id` | mandatory | Placement Id | `111520` | `number` | +| `height` | optional | Height of the creative| `250` | `number` | +| `width` | optional | Width of the creative | `300` | `number` | +| `bid_floor` | optional | Bid Floor Price | `0.5` | `decimal`| + +### AdUnit Format for Banner + +```javascript +var adUnits = [ + { + code: 'banner-ad', + mediaTypes: { + banner: { + sizes: [[300, 250]] + } + }, + bids: [{ + bidder: 'tapnative', + params: { + placement_id: 111520, + height: 250, + width: 300, + bid_floor: 0.5 + } + }] + } + ]; +``` + +### Native Params + +| Name | Scope | Description | Example | Type | +|----------------|-----------|-----------------------|----------------|----------| +| `placement_id` | mandatory | Placement Id | `111519` | `number` | +| `bid_floor` | optional | Bid Floor Price | `1` | `decimal`| + +### AdUnit Format for Native + +```javascript +var adUnits = [ + { + code: 'native-ad-container', + mediaTypes: { + native: { + title: { required: true, len: 100 }, + image: { required: true, sizes: [300, 250] }, + sponsored: { required: false }, + clickUrl: { required: true }, + desc: { required: true }, + icon: { required: false, sizes: [50, 50] }, + cta: { required: false } + } + }, + bids: [{ + bidder: 'tapnative', + params: { + placement_id: 111519, // Required parameter + bid_floor: 1 // Optional parameter + } + }] + } + ]; +``` From af03ff310f8a7f3bccb2868c28d953a15e5e6bdb Mon Sep 17 00:00:00 2001 From: Pranav Sheth Date: Mon, 14 Oct 2024 15:15:35 +0530 Subject: [PATCH 2/3] made requested changes --- dev-docs/bidders/tapnative.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/dev-docs/bidders/tapnative.md b/dev-docs/bidders/tapnative.md index 5d22c4b7ec..3985d13035 100644 --- a/dev-docs/bidders/tapnative.md +++ b/dev-docs/bidders/tapnative.md @@ -17,9 +17,13 @@ deals_supported: true floors_supported: true sidebarType: 1 --- +### Registration + +For assistance or setup instructions, please contact us at support@tapnative.com ### Banner Params +{: .table .table-bordered .table-striped } | Name | Scope | Description | Example | Type | |----------------|-----------|-----------------------|----------------|----------| | `placement_id` | mandatory | Placement Id | `111520` | `number` | @@ -53,6 +57,7 @@ var adUnits = [ ### Native Params +{: .table .table-bordered .table-striped } | Name | Scope | Description | Example | Type | |----------------|-----------|-----------------------|----------------|----------| | `placement_id` | mandatory | Placement Id | `111519` | `number` | From 116a6c42f183ca5e76d7e18917cad1272c281513 Mon Sep 17 00:00:00 2001 From: Pranav Sheth Date: Mon, 14 Oct 2024 15:19:02 +0530 Subject: [PATCH 3/3] made requested changes --- dev-docs/bidders/tapnative.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-docs/bidders/tapnative.md b/dev-docs/bidders/tapnative.md index 3985d13035..c7dc68d99e 100644 --- a/dev-docs/bidders/tapnative.md +++ b/dev-docs/bidders/tapnative.md @@ -19,7 +19,7 @@ sidebarType: 1 --- ### Registration -For assistance or setup instructions, please contact us at support@tapnative.com +For assistance or setup instructions, please contact us at . ### Banner Params