Skip to content

Commit 70d36d1

Browse files
author
Erik Poul
committed
MGID: update docs to use ID placeholders
1 parent 1ac8c47 commit 70d36d1

1 file changed

Lines changed: 11 additions & 13 deletions

File tree

dev-docs/bidders/mgid.md

Lines changed: 11 additions & 13 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)
@@ -57,11 +57,10 @@ var adUnits = [{
5757
sizes: [[300, 600]]
5858
}
5959
},
60-
// Replace this object to test a new Adapter!
6160
bids: [{
6261
bidder: 'mgid',
63-
params : {
64-
accountId : "219" //test accountId, please replace after test
62+
params: {
63+
accountId: "#{accountId}" // replace with your accountId
6564
}
6665
}]
6766
}];
@@ -77,11 +76,10 @@ var adUnits = [{
7776
sizes: [[300, 250]]
7877
}
7978
},
80-
// Replace this object to test a new Adapter!
8179
bids: [{
8280
bidder: 'mgid',
83-
params : {
84-
accountId : "219" //test accountId, please replace after test
81+
params: {
82+
accountId: "#{accountId}" // replace with your accountId
8583
}
8684
}]
8785
}];
@@ -107,16 +105,15 @@ var adUnits = [{
107105
required: true,
108106
len: 80
109107
},
110-
sponsored: {
108+
sponsoredBy: {
111109
required: false
112110
}
113111
}
114112
},
115-
// Replace this object to test a new Adapter!
116113
bids: [{
117114
bidder: 'mgid',
118-
params : {
119-
accountId : "219" //test accountId, please replace after test
115+
params: {
116+
accountId: "#{accountId}" // replace with your accountId
120117
}
121118
}]
122119
}];
@@ -147,10 +144,11 @@ For Prebid.js v1.14.0 and before:
147144

148145
```javascript
149146
pbjs.setConfig({
150-
userSync: {
147+
userSync: {
151148
iframeEnabled: true,
152149
enabledBidders: ['mgid']
153-
}});
150+
}
151+
});
154152
```
155153

156154
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)