-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
gaudeamus
committed
Feb 15, 2019
1 parent
5aa9d0c
commit 19eea57
Showing
1 changed file
with
43 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# Overview | ||
|
||
``` | ||
Module Name: Mgid Bidder Adapter | ||
Module Type: Bidder Adapter | ||
Maintainer: prebid@mgid.com | ||
``` | ||
|
||
# Description | ||
|
||
One of the easiest way to gain access to MGID demand sources - MGID header bidding adapter. | ||
|
||
MGID header bidding adapter connects with MGID demand sources to fetch bids for display placements | ||
|
||
# Bid Parameters | ||
## Banner | ||
|
||
| Name | Scope | Type | Description | Example | ||
| ---- | ----- | ---- | ----------- | ------- | ||
| `accountId` | required | String | The account ID from Mgid | "123" | ||
| `placementId` | required | String | The placement ID from Mgid | "123456" | ||
|
||
|
||
# Ad Unit and page Setup: | ||
|
||
```html | ||
<!-- Prebid Config section --> | ||
<script> | ||
var PREBID_TIMEOUT = 2000; | ||
var adUnits = [{ | ||
code: 'placement_div_id', | ||
sizes: [[300, 250]], | ||
bids: [{ | ||
bidder: 'mgid' | ||
accountId : "PUT_YOUR_mgid_accountId", | ||
placementId : "PUT_YOUR_mgid_placementId", | ||
}] | ||
}]; | ||
var pbjs = pbjs || {}; | ||
pbjs.que = pbjs.que || []; | ||
</script> | ||
<!-- End Prebid Config section --> | ||
``` |