Skip to content

Commit

Permalink
mgidAdapter description
Browse files Browse the repository at this point in the history
  • Loading branch information
gaudeamus committed Feb 15, 2019
1 parent 5aa9d0c commit 19eea57
Showing 1 changed file with 43 additions and 0 deletions.
43 changes: 43 additions & 0 deletions modules/mgidBidAdapter.md
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 -->
```

0 comments on commit 19eea57

Please sign in to comment.