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.
AppnexusAst bidadapter markdown file (prebid#1696)
* added appnexusAst bidadapter markdown file * updated mediatype native config
- Loading branch information
1 parent
9b548d1
commit 85efe91
Showing
1 changed file
with
103 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,103 @@ | ||
# Overview | ||
|
||
``` | ||
Module Name: AppnexusAst Bid Adapter | ||
Module Type: Bidder Adapter | ||
Maintainer: [email protected] | ||
``` | ||
|
||
# Description | ||
|
||
Connects to Appnexus exchange for bids. | ||
|
||
AppnexusAst bid adapter supports Banner, Video (instream and outstream) and Native. | ||
|
||
# Test Parameters | ||
``` | ||
var adUnits = [ | ||
// Banner adUnit | ||
{ | ||
code: 'banner-div', | ||
sizes: [[300, 250], [300,600]], | ||
bids: [{ | ||
bidder: 'appnexusAst', | ||
params: { | ||
placementId: '10433394' | ||
} | ||
}] | ||
}, | ||
// Native adUnit | ||
{ | ||
code: 'native-div', | ||
sizes: [[300, 250], [300,600]], | ||
mediaTypes: { | ||
native: { | ||
title: { | ||
required: true, | ||
len: 80 | ||
}, | ||
body: { | ||
required: true | ||
}, | ||
brand: { | ||
required: true | ||
}, | ||
image: { | ||
required: true | ||
}, | ||
clickUrl: { | ||
required: true | ||
}, | ||
} | ||
}, | ||
bids: [{ | ||
bidder: 'appnexusAst', | ||
params: { | ||
placementId: '9880618' | ||
} | ||
}] | ||
}, | ||
// Video instream adUnit | ||
{ | ||
code: 'video-instream', | ||
sizes: [640, 480], | ||
mediaTypes: { | ||
video: { | ||
context: 'instream' | ||
}, | ||
}, | ||
bids: [{ | ||
bidder: 'appnexusAst', | ||
params: { | ||
placementId: '9333431', | ||
video: { | ||
skippable: true, | ||
playback_methods: ['auto_play_sound_off'] | ||
} | ||
} | ||
}] | ||
}, | ||
// Video outstream adUnit | ||
{ | ||
code: 'video-outstream', | ||
sizes: [[640, 480]], | ||
mediaTypes: { | ||
video: { | ||
context: 'outstream' | ||
} | ||
}, | ||
bids: [ | ||
{ | ||
bidder: 'appnexusAst', | ||
params: { | ||
placementId: '5768085', | ||
video: { | ||
skippable: true, | ||
playback_method: ['auto_play_sound_off'] | ||
} | ||
} | ||
} | ||
] | ||
} | ||
]; | ||
``` |