You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: modules/adagioBidAdapter.md
+56-4Lines changed: 56 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -38,8 +38,8 @@ Connects to Adagio demand source to fetch bids.
38
38
category:'sport', // Recommended. Category of the content displayed in the page.
39
39
subcategory:'handball', // Optional. Subcategory of the content displayed in the page.
40
40
postBid:false, // Optional. Use it in case of Post-bid integration only.
41
-
useAdUnitCodeAsAdUnitElementId:false// Optional. Use it by-pass adUnitElementId and use the adUnit code as value
42
-
useAdUnitCodeAsPlacement:false// Optional. Use it to by-pass placement and use the adUnit code as value
41
+
useAdUnitCodeAsAdUnitElementId:false,// Optional. Use it by-pass adUnitElementId and use the adUnit code as value
42
+
useAdUnitCodeAsPlacement:false,// Optional. Use it to by-pass placement and use the adUnit code as value
43
43
// Optional debug mode, used to get a bid response with expected cpm.
44
44
debug: {
45
45
enabled:true,
@@ -78,8 +78,8 @@ Connects to Adagio demand source to fetch bids.
78
78
category:'sport', // Recommended. Category of the content displayed in the page.
79
79
subcategory:'handball', // Optional. Subcategory of the content displayed in the page.
80
80
postBid:false, // Optional. Use it in case of Post-bid integration only.
81
-
useAdUnitCodeAsAdUnitElementId:false// Optional. Use it by-pass adUnitElementId and use the adUnit code as value
82
-
useAdUnitCodeAsPlacement:false// Optional. Use it to by-pass placement and use the adUnit code as value
81
+
useAdUnitCodeAsAdUnitElementId:false,// Optional. Use it by-pass adUnitElementId and use the adUnit code as value
82
+
useAdUnitCodeAsPlacement:false,// Optional. Use it to by-pass placement and use the adUnit code as value
83
83
video: {
84
84
skip:0
85
85
// OpenRTB 2.5 video options defined here override ones defined in mediaTypes.
@@ -91,6 +91,58 @@ Connects to Adagio demand source to fetch bids.
91
91
}
92
92
}
93
93
}]
94
+
},
95
+
{
96
+
code:'article_native',
97
+
mediaTypes: {
98
+
native: {
99
+
// generic Prebid options
100
+
title: {
101
+
required:true,
102
+
len:80
103
+
},
104
+
// …
105
+
// Custom Adagio data assets
106
+
ext: {
107
+
adagio_bvw: {
108
+
required:false
109
+
}
110
+
}
111
+
}
112
+
},
113
+
bids: [{
114
+
bidder:'adagio', // Required
115
+
params: {
116
+
organizationId:'1002', // Required - Organization ID provided by Adagio.
117
+
site:'adagio-io', // Required - Site Name provided by Adagio.
118
+
placement:'in_article', // Required. Refers to the placement of an adunit in a page. Must not contain any information about the type of device. Other example: `mpu_btf'.
119
+
adUnitElementId:'article_native', // Required - AdUnit element id. Refers to the adunit id in a page. Usually equals to the adunit code above.
120
+
121
+
// The following params are limited to 30 characters,
122
+
// and can only contain the following characters:
123
+
// - alphanumeric (A-Z+a-z+0-9, case-insensitive)
124
+
// - dashes `-`
125
+
// - underscores `_`
126
+
// Also, each param can have at most 50 unique active values (case-insensitive).
127
+
pagetype:'article', // Highly recommended. The pagetype describes what kind of content will be present in the page.
128
+
environment:'mobile', // Recommended. Environment where the page is displayed.
129
+
category:'sport', // Recommended. Category of the content displayed in the page.
130
+
subcategory:'handball', // Optional. Subcategory of the content displayed in the page.
131
+
postBid:false, // Optional. Use it in case of Post-bid integration only.
132
+
useAdUnitCodeAsAdUnitElementId:false, // Optional. Use it by-pass adUnitElementId and use the adUnit code as value
133
+
useAdUnitCodeAsPlacement:false, // Optional. Use it to by-pass placement and use the adUnit code as value
134
+
// Optional OpenRTB Native 1.2 request object. Only `context`, `plcmttype` fields are supported.
135
+
native: {
136
+
context:1,
137
+
plcmttype:2
138
+
},
139
+
// Optional debug mode, used to get a bid response with expected cpm.
0 commit comments