diff --git a/dev-docs/bidders/apacdex.md b/dev-docs/bidders/apacdex.md index 82abae394b..3257909e1a 100644 --- a/dev-docs/bidders/apacdex.md +++ b/dev-docs/bidders/apacdex.md @@ -8,12 +8,166 @@ media_types: banner, video gdpr_supported: true schain_supported: true usp_supported: true +userIds: all +getFloor: true --- +### Table of Contents + +- [Bid Params](#apacdex-bid-params) +- [Geo Object](#apacdex-geo-object) +- [Video Ad Unit](#apacdex-video-ad-unit) +- [Sample Banner Ad Unit](#apacdex-sample-banner-ad-unit) +- [Sample Video Ad Unit: Instream](#apacdex-sample-instream-ad-unit) +- [Sample Video Ad Unit: Outstream](#apacdex-sample-outstream-ad-unit) + + ### Bid Params {: .table .table-bordered .table-striped } -| Name | Scope | Description | Example | Type | -|-------------|----------|--------------------------------------------------------------------------------------------------------------------------------|------------|----------| -| `siteId` | required | Publisher site ID from Apacdex | `'apacdex1234'` | `string` | +| Name | Scope | Description | Example | Type | +|--------------|----------|-------------------------------------------------------------------------------------|---------------------------------------------------|----------| +| `siteId` | required | Publisher site ID from Apacdex | `'apacdex1234'` | `string` | +| `floorPrice` | optional | CPM bidfloor in USD | `0.03` | `float` | +| `geo` | optional | GEO data of device. See [Geo Object](#apacdex-geo-object) for details. | `{"lat":17.98928,"lon":99.7741712,"accuracy":20}` | `object` | + + + + +### Geo Object + +If the publisher has GEO data of the user's device. Make it available through the geo audience so we can improve ad targeting, which means improving bids. The list of fields can be referenced in Section 3.2.19 from the [OpenRTB 2.5](https://www.iab.com/wp-content/uploads/2016/03/OpenRTB-API-Specification-Version-2-5-FINAL.pdf) document. + +{: .table .table-bordered .table-striped } +| Name | Scope | Description | Example | Type | +|--------------|----------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------|-----------| +| `lat` | required | Latitude from -90.0 to +90.0, where negative is south. | `17.98928` | `float` | +| `lon` | required | Longitude from -180.0 to +180.0, where negative is west. | `99.7741712` | `float` | +| `accuracy` | required | Estimated location accuracy in meters; recommended when lat/lon are specified and derived from a device’s location services (i.e., type = 1). Note that this is the accuracy as reported from the device. Consult OS specific documentation (e.g., Android, iOS) for exact interpretation. | `20` | `integer` | +| `lastfix` | optional | Number of seconds since this geolocation fix was established. Note that devices may cache location data across multiple fetches. Ideally, this value should be from the time the actual fix was taken. | `30` | `integer` | +| `utcoffset` | optional | Local time as the number +/- of minutes from UTC. | `-420` | `integer` | + + + +### Video Ad Unit + +Publishers declare video inventory by passing the following parameters via mediaTypes.video + +{: .table .table-bordered .table-striped } +| Name | Scope | Description | Example | Type | +|----------------|--------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------|-----------| +| `context` | required | instream or outstream |`"outstream"` | `string` | +| `playerSize`| required | width, height of the player in pixels | `[640,360]` - will be translated to w and h in bid request | `array` | +| `mimes` | required | List of content MIME types supported by the player (see openRTB v2.5 for options) | `["video/mp4"]`| `array`| +| `protocols` | required | Supported video bid response protocol values
1: VAST 1.0
2: VAST 2.0
3: VAST 3.0
4: VAST 1.0 Wrapper
5: VAST 2.0 Wrapper
6: VAST 3.0 Wrapper
7: VAST 4.0
8: VAST 4.0 Wrapper | `[2,3,5,6]` | `array`| +| `api` | required | Supported API framework values:
1: VPAID 1.0
2: VPAID 2.0
3: MRAID-1
4: ORMMA
5: MRAID-2 | `[2]` | `array` | +| `maxduration` | recommended | Maximum video ad duration in seconds. | `30` | `integer` | +| `minduration` | recommended | Minimum video ad duration in seconds | `6` | `integer` | +| `playbackmethod` | recommended | Playback methods that may be in use. Only one method is typically used in practice. (see openRTB v2.5 section 5.10 for options)| `[2]`| `array` | +| `skip` | optional | Indicates if the player will allow the video to be skipped, where 0 = no, 1 = yes. | `1` | `integer` | +| `skipafter`| optional | Number of seconds a video must play before skipping is enabled; only applicable if the ad is skippable. | `6` | `integer`| +| `minbitrate` | optional | Minimum bit rate in Kbps. | `300` | `integer` | +| `maxbitrate` | optional | Maximum bit rate in Kbps. | `9600` | `integer` | +| `startdelay`* | recommended | Indicates the start delay in seconds for pre-roll, mid-roll, or post-roll ad placements.
>0: Mid-Roll (value indicates start delay in second)
0: Pre-Roll
-1: Generic Mid-Roll
-2: Generic Post-Roll | `0` | `integer` | +| `placement`* | recommended | Placement type for the impression. (see openRTB v2.5 section 5.9 for options) | `1` | `integer` | + +Lists of values are in the [OpenRTB 2.5](https://www.iab.com/wp-content/uploads/2016/03/OpenRTB-API-Specification-Version-2-5-FINAL.pdf) documentation as referenced above. + +
+ +### Sample Banner Ad Unit +``` +var adUnits = [ + { + code: 'test-div', + mediaTypes: { + banner: { + sizes: [[300, 250], [300,600]] + } + }, + bids: [ + { + bidder: 'apacdex', + params: { + siteId: 'apacdex1234', // siteId provided by Apacdex + floorPrice: 0.01, // default is 0.01 if not declared + } + } + ] + } +]; +``` + + + +### Sample Video Ad Unit: Instream +``` +var instreamAdUnit = { + code: 'test-div', + sizes: [[640, 480]], + mediaTypes: { + video: { + playerSize: [[640, 480]], + context: "instream" + api: [2], + placement: 1, + skip: 1, + linearity: 1, + minduration: 1, + maxduration: 120, + mimes: ["video/mp4", "video/x-flv", "video/x-ms-wmv", "application/vnd.apple.mpegurl", "application/x-mpegurl", "video/3gpp", "video/mpeg", "video/ogg", "video/quicktime", "video/webm", "video/x-m4v", "video/ms-asf", video/x-msvideo"], + playbackmethod: [6], + startdelay: 0, + protocols: [1, 2, 3, 4, 5, 6] + }, + }, + bids: [ + { + bidder: 'apacdex', + params: { + siteId: 'apacdex1234', // siteId provided by Apacdex + floorPrice: 0.01, // default is 0.01 if not declared + } + } + ] +}; +``` +mediaTypes.video object reference to section 3.2.7 Object: Video in the OpenRTB 2.5 document +You must review all video parameters to ensure validity for your player and DSPs + + + +### Sample Video Ad Unit: Outstream +``` +var outstreamAdUnit = { + code: 'test-div', + sizes: [[410, 231]], + mediaTypes: { + video: { + playerSize: [[410, 231]], + context: "outstream" + api: [2], + placement: 5, + linearity: 1, + minduration: 1, + maxduration: 120, + mimes: ["video/mp4", "video/x-flv", "video/x-ms-wmv", "application/vnd.apple.mpegurl", "application/x-mpegurl", "video/3gpp", "video/mpeg", "video/ogg", "video/quicktime", "video/webm", "video/x-m4v", "video/ms-asf", video/x-msvideo"], + playbackmethod: [6], + startdelay: 0, + protocols: [1, 2, 3, 4, 5, 6] + }, + }, + bids: [ + { + bidder: 'apacdex', + params: { + siteId: 'apacdex1234', // siteId provided by Apacdex + floorPrice: 0.01, // default is 0.01 if not declared + } + } + ] +}; +``` +mediaTypes.video object reference to section 3.2.7 Object: Video in the OpenRTB 2.5 document +You must review all video parameters to ensure validity for your player and DSPs \ No newline at end of file diff --git a/dev-docs/bidders/quantumdex.md b/dev-docs/bidders/quantumdex.md index 4c441cb970..1119a035c4 100644 --- a/dev-docs/bidders/quantumdex.md +++ b/dev-docs/bidders/quantumdex.md @@ -9,12 +9,9 @@ media_types: banner, video gdpr_supported: true schain_supported: true usp_supported: true +userIds: all +getFloor: true --- - -### Bid Params - -{: .table .table-bordered .table-striped } -| Name | Scope | Description | Example | Type | -|-------------|----------|--------------------------------------------------------------------------------------------------------------------------------|------------|----------| -| `siteId` | required | Publisher site ID from Quantumdex | `'quantumdex-site-id'` | `string` | +# Description +Quantumdex is an aliased bidder of Apacdex bid adapter. Please refer to [Apacdex documentation](https://docs.prebid.org/dev-docs/bidders/apacdex) for bid parameters and implementation guide. \ No newline at end of file diff --git a/dev-docs/bidders/valueimpression.md b/dev-docs/bidders/valueimpression.md index 23f8edeaba..75e9352402 100644 --- a/dev-docs/bidders/valueimpression.md +++ b/dev-docs/bidders/valueimpression.md @@ -9,13 +9,10 @@ media_types: banner, video gdpr_supported: true schain_supported: true usp_supported: true +userIds: all +getFloor: true pbs: true --- - -### Bid Params - -{: .table .table-bordered .table-striped } -| Name | Scope | Description | Example | Type | -|-------------|----------|--------------------------------------------------------------------------------------------------------------------------------|------------|----------| -| `siteId` | required | Publisher site ID from Valueimpression | `'vi-site-id'` | `string` | +# Description +Valueimpression is an aliased bidder of Apacdex bid adapter. Please refer to [Apacdex documentation](https://docs.prebid.org/dev-docs/bidders/apacdex) for bid parameters and implementation guide. \ No newline at end of file