Skip to content

Commit c642dfc

Browse files
author
Erik Poul
committed
MGID: update docs to use ID placeholders
1 parent f866c27 commit c642dfc

1 file changed

Lines changed: 11 additions & 14 deletions

File tree

dev-docs/bidders/mgid.md

Lines changed: 11 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ multiformat_supported: will-bid-on-any
1515
sidebarType: 1
1616
---
1717

18-
### Table of Contents
18+
## Table of Contents
1919

2020
- [Table of Contents](#table-of-contents)
2121
- [Description](#description)
@@ -39,7 +39,6 @@ MGID header bidding adapter connects with MGID demand sources to fetch bids for
3939
| Name | Scope | Description | Example | Type |
4040
|--------------|----------|------------------------------------|------------|----------|
4141
| `accountId` | required | The account ID from Mgid | `'123'` | `string` |
42-
| `placementId`| optional | The placement ID from Mgid | `'123456'` | `string` |
4342
| `bidFloor` | optional | Lowest value of expected bid price | `1.1` | `float` |
4443
| `currency` | optional | Currency of request and response | `'GBP'` | `string` |
4544

@@ -57,11 +56,10 @@ var adUnits = [{
5756
sizes: [[300, 600]]
5857
}
5958
},
60-
// Replace this object to test a new Adapter!
6159
bids: [{
6260
bidder: 'mgid',
63-
params : {
64-
accountId : "219" //test accountId, please replace after test
61+
params: {
62+
accountId: "#{accountId}" // replace with your accountId
6563
}
6664
}]
6765
}];
@@ -77,11 +75,10 @@ var adUnits = [{
7775
sizes: [[300, 250]]
7876
}
7977
},
80-
// Replace this object to test a new Adapter!
8178
bids: [{
8279
bidder: 'mgid',
83-
params : {
84-
accountId : "219" //test accountId, please replace after test
80+
params: {
81+
accountId: "#{accountId}" // replace with your accountId
8582
}
8683
}]
8784
}];
@@ -107,16 +104,15 @@ var adUnits = [{
107104
required: true,
108105
len: 80
109106
},
110-
sponsored: {
107+
sponsoredBy: {
111108
required: false
112109
}
113110
}
114111
},
115-
// Replace this object to test a new Adapter!
116112
bids: [{
117113
bidder: 'mgid',
118-
params : {
119-
accountId : "219" //test accountId, please replace after test
114+
params: {
115+
accountId: "#{accountId}" // replace with your accountId
120116
}
121117
}]
122118
}];
@@ -147,10 +143,11 @@ For Prebid.js v1.14.0 and before:
147143

148144
```javascript
149145
pbjs.setConfig({
150-
userSync: {
146+
userSync: {
151147
iframeEnabled: true,
152148
enabledBidders: ['mgid']
153-
}});
149+
}
150+
});
154151
```
155152

156153
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

Comments
 (0)