Skip to content

Commit 87af482

Browse files
jaiminpanchal27Rachel Joyce
authored and
Rachel Joyce
committedOct 20, 2017
AppnexusAst bidadapter markdown file (prebid#1696)
* added appnexusAst bidadapter markdown file * updated mediatype native config
1 parent 5a85549 commit 87af482

File tree

1 file changed

+103
-0
lines changed

1 file changed

+103
-0
lines changed
 

‎modules/appnexusAstBidAdapter.md

Lines changed: 103 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,103 @@
1+
# Overview
2+
3+
```
4+
Module Name: AppnexusAst Bid Adapter
5+
Module Type: Bidder Adapter
6+
Maintainer: info@prebid.org
7+
```
8+
9+
# Description
10+
11+
Connects to Appnexus exchange for bids.
12+
13+
AppnexusAst bid adapter supports Banner, Video (instream and outstream) and Native.
14+
15+
# Test Parameters
16+
```
17+
var adUnits = [
18+
// Banner adUnit
19+
{
20+
code: 'banner-div',
21+
sizes: [[300, 250], [300,600]],
22+
bids: [{
23+
bidder: 'appnexusAst',
24+
params: {
25+
placementId: '10433394'
26+
}
27+
}]
28+
},
29+
// Native adUnit
30+
{
31+
code: 'native-div',
32+
sizes: [[300, 250], [300,600]],
33+
mediaTypes: {
34+
native: {
35+
title: {
36+
required: true,
37+
len: 80
38+
},
39+
body: {
40+
required: true
41+
},
42+
brand: {
43+
required: true
44+
},
45+
image: {
46+
required: true
47+
},
48+
clickUrl: {
49+
required: true
50+
},
51+
}
52+
},
53+
bids: [{
54+
bidder: 'appnexusAst',
55+
params: {
56+
placementId: '9880618'
57+
}
58+
}]
59+
},
60+
// Video instream adUnit
61+
{
62+
code: 'video-instream',
63+
sizes: [640, 480],
64+
mediaTypes: {
65+
video: {
66+
context: 'instream'
67+
},
68+
},
69+
bids: [{
70+
bidder: 'appnexusAst',
71+
params: {
72+
placementId: '9333431',
73+
video: {
74+
skippable: true,
75+
playback_methods: ['auto_play_sound_off']
76+
}
77+
}
78+
}]
79+
},
80+
// Video outstream adUnit
81+
{
82+
code: 'video-outstream',
83+
sizes: [[640, 480]],
84+
mediaTypes: {
85+
video: {
86+
context: 'outstream'
87+
}
88+
},
89+
bids: [
90+
{
91+
bidder: 'appnexusAst',
92+
params: {
93+
placementId: '5768085',
94+
video: {
95+
skippable: true,
96+
playback_method: ['auto_play_sound_off']
97+
}
98+
}
99+
}
100+
]
101+
}
102+
];
103+
```

0 commit comments

Comments
 (0)
Failed to load comments.