forked from prebid/Prebid.js
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgrade Audience Network adapter for Prebid 1.0 (prebid#1750)
- Loading branch information
1 parent
84c6264
commit a48fe09
Showing
3 changed files
with
456 additions
and
691 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
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,49 @@ | ||
# Overview | ||
|
||
Module Name: Audience Network Bid Adapter | ||
|
||
Module Type: Bidder Adapter | ||
|
||
Maintainer: Lovell Fuller | ||
|
||
# Parameters | ||
|
||
| Name | Scope | Description | Example | | ||
| :------------ | :------- | :---------------------------------------------- | :--------------------------------- | | ||
| `placementId` | required | The Placement ID from Audience Network | "555555555555555\_555555555555555" | | ||
| `format` | optional | Format, one of "native", "fullwidth" or "video" | "native" | | ||
|
||
# Example ad units | ||
|
||
```javascript | ||
const adUnits = [{ | ||
code: "test-iab", | ||
sizes: [[300, 250]], | ||
bids: [{ | ||
bidder: "audienceNetwork", | ||
params: { | ||
placementId: "555555555555555_555555555555555" | ||
} | ||
}] | ||
}, { | ||
code: "test-native", | ||
sizes: [[300, 250]], | ||
bids: [{ | ||
bidder: "audienceNetwork", | ||
params: { | ||
format: "native", | ||
placementId: "555555555555555_555555555555555" | ||
} | ||
}] | ||
}, { | ||
code: "test-video", | ||
sizes: [[640, 360]], | ||
bids: [{ | ||
bidder: "audienceNetwork", | ||
params: { | ||
format: "video", | ||
placementId: "555555555555555_555555555555555" | ||
} | ||
}] | ||
}]; | ||
``` |
Oops, something went wrong.