Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 31770f4

Browse files
author
Rich Loveland
committed
Add AppNexus AST bidder docs (incl. video)
1 parent 68da81d commit 31770f4

File tree

1 file changed

+60
-0
lines changed

1 file changed

+60
-0
lines changed

dev-docs/bidders/appnexus-ast.md

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
---
2+
layout: bidder
3+
title: AppNexus AST
4+
description: Prebid AppNexus AST Bidder Adaptor
5+
top_nav_section: dev_docs
6+
nav_section: reference
7+
hide: true
8+
biddercode: appnexusAst
9+
biddercode_longer_than_12: false
10+
---
11+
12+
### bid params
13+
14+
{: .table .table-bordered .table-striped }
15+
| Name | Scope | Description | Example |
16+
|---------------------+----------+---------------------------------------------------------------------------------------------------------------------------+-------------------------------------------------------|
17+
| `placementId` | required | The placement ID from AppNexus. You may identify a placement using the `invCode` and `member` instead of a placement ID. | `"234234"` |
18+
| `allowSmallerSizes` | optional | If `true`, ads smaller than the values in your ad unit's `sizes` array will be allowed to serve. Defaults to `false`. | `true` |
19+
| `keywords` | optional | A set of key-value pairs applied to all ad slots on the page. Mapped to query string segments for buy-side targeting. | `keywords: { genre: ['rock', 'pop'] }` |
20+
| `video` | optional | Video targeting parameters. See the [video section below](#appnexus-ast-video) for details. | `video: { playback_method: ['auto_play_sound_off'] }` |
21+
| `invCode` | optional | The inventory code from AppNexus. Must be used with `member`. | `"abc123"` |
22+
| `member` | optional | The member ID from AppNexus. Must be used with `invCode`. | `"12345"` |
23+
24+
(Sizes set in `adUnit` object will also apply to the AppNexus bid requests.)
25+
26+
<a name="appnexus-ast-video"></a>
27+
28+
#### video
29+
30+
The following video parameters are supported. For more information, see the video parameters in the [OpenRTB specification](http://www.iab.com/wp-content/uploads/2016/01/OpenRTB-API-Specification-Version-2-4-DRAFT.pdf).
31+
32+
* `id`: An *Integer*.
33+
34+
+ `mimes`: An array of strings listing the content MIME types supported, e.g., `["video/x-flv", "video/x-ms-wmv"]`.
35+
36+
+ `minduration`: An integer that defines the minimum audio ad duration, in seconds.
37+
38+
+ `maxduration`: An integer that defines the maximum audio ad duration, in seconds.
39+
40+
+ `startdelay`: An integer that determines whether the ad should be shown before, during, or after the video content. If the value is greater than 0, the position is mid-roll and the value indicates the start delay, in seconds. Defaults to 0.
41+
+ Pre-roll: `0`
42+
+ Mid-roll: `-1`
43+
+ Post-roll: `-2`
44+
45+
+ `skippable`: A boolean which, if `true`, means the user can click a button to skip the video ad. Defaults to `false`.
46+
47+
+ `playback_method`: An array of strings listing the playback methods supported by the publisher. Allowed values:
48+
+ `"auto_play_sound_on"`
49+
+ `"auto_play_sound_off"`
50+
+ `"click_to_play"`
51+
+ `"mouseover"`
52+
+ `"auto_play_sound_unknown"`
53+
54+
+ `frameworks`: An array of integers listing the API frameworks supported by the publisher. Allowed values:
55+
+ None: `0`
56+
+ VPAID 1.0: `1`
57+
+ VPAID 2.0: `2`
58+
+ MRAID 1.0: `3`
59+
+ ORMMA: `4`
60+
+ MRAID 2.0: `5`

0 commit comments

Comments
 (0)