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
|`accountId`| required | The account ID from Mgid |`'123'`|`string`|
42
-
|`placementId`| optional | The placement ID from Mgid |`'123456'`|`string`|
43
42
|`bidFloor`| optional | Lowest value of expected bid price |`1.1`|`float`|
44
43
|`currency`| optional | Currency of request and response |`'GBP'`|`string`|
45
44
@@ -57,11 +56,10 @@ var adUnits = [{
57
56
sizes: [[300, 600]]
58
57
}
59
58
},
60
-
// Replace this object to test a new Adapter!
61
59
bids: [{
62
60
bidder:'mgid',
63
-
params: {
64
-
accountId:"219"//test accountId, please replace after test
61
+
params: {
62
+
accountId:"#{accountId}"//replace with your accountId
65
63
}
66
64
}]
67
65
}];
@@ -77,11 +75,10 @@ var adUnits = [{
77
75
sizes: [[300, 250]]
78
76
}
79
77
},
80
-
// Replace this object to test a new Adapter!
81
78
bids: [{
82
79
bidder:'mgid',
83
-
params: {
84
-
accountId:"219"//test accountId, please replace after test
80
+
params: {
81
+
accountId:"#{accountId}"//replace with your accountId
85
82
}
86
83
}]
87
84
}];
@@ -107,16 +104,15 @@ var adUnits = [{
107
104
required:true,
108
105
len:80
109
106
},
110
-
sponsored: {
107
+
sponsoredBy: {
111
108
required:false
112
109
}
113
110
}
114
111
},
115
-
// Replace this object to test a new Adapter!
116
112
bids: [{
117
113
bidder:'mgid',
118
-
params: {
119
-
accountId:"219"//test accountId, please replace after test
114
+
params: {
115
+
accountId:"#{accountId}"//replace with your accountId
120
116
}
121
117
}]
122
118
}];
@@ -147,10 +143,11 @@ For Prebid.js v1.14.0 and before:
147
143
148
144
```javascript
149
145
pbjs.setConfig({
150
-
userSync: {
146
+
userSync: {
151
147
iframeEnabled:true,
152
148
enabledBidders: ['mgid']
153
-
}});
149
+
}
150
+
});
154
151
```
155
152
156
153
Note: Combine the above configuration with any other UserSync configuration. Multiple setConfig() calls overwrite each other and only the last call for a given attribute will take effect.
0 commit comments