From d6c537c9100b6bce4cd2bddfd436b154ca46b12b Mon Sep 17 00:00:00 2001
From: amoltchan <56824198+amoltchan@users.noreply.github.com>
Date: Thu, 7 May 2020 17:10:52 +0200
Subject: [PATCH 001/101] Add LiveIntent ID module to the overview (#1960)
---
dev-docs/modules/index.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-docs/modules/index.md b/dev-docs/modules/index.md
index 41806bdfab..7a34321d4d 100644
--- a/dev-docs/modules/index.md
+++ b/dev-docs/modules/index.md
@@ -34,7 +34,7 @@ If you are looking for bidder adapter parameters, see [Bidders' Params]({{site.b
| **ConsentManagement** | Collecting and passing consent information in support of privacy regulations:{::nomarkdown}
{:/} |
| [**Google Ad Manager Express**](/dev-docs/modules/dfp_express.html) | A simplified installation mechanism for publishers that have Google Publisher Tag (GPT) ad calls in their pages. |
| [**Supply Chain Object**](/dev-docs/modules/schain.html) | Validates and makes the Supply Object available to bidders |
-| [**User ID**](/dev-docs/modules/userId.html) | Sub-modules are available to support a range of identification approaches: Criteo RTUS, DigiTrust, ID5 Universal ID, IdentityLink, PubCommon ID, and Unified ID. |
+| [**User ID**](/dev-docs/modules/userId.html) | Sub-modules are available to support a range of identification approaches: Criteo RTUS, DigiTrust, ID5 Universal ID, IdentityLink, PubCommon ID, Unified ID and LiveIntent ID. |
| [**Browsi Viewability**]({{site.baseurl}}/dev-docs/modules/browsiRtdProvider.html) | Browsi provider for real time data module. |
| [**Advanced Size Mapping**](/dev-docs/modules/sizeMappingV2.html) | Display Responsive AdUnits in demanding page environments. |
From b67fffdcaaecddb7d445b3c467618a11c0f1b71f Mon Sep 17 00:00:00 2001
From: bretg
Date: Thu, 7 May 2020 15:30:05 -0400
Subject: [PATCH 002/101] updated-membership-link (#1964)
---
partners/partners.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/partners/partners.md b/partners/partners.md
index 29abbb1301..a6209eb3c4 100644
--- a/partners/partners.md
+++ b/partners/partners.md
@@ -32,7 +32,7 @@ Companies join Prebid.org because they want to take an active role in supporting
## How To Join
1. Download and review the [Prebid.org Bylaws](https://files.prebid.org/docs/Prebid_org_bylaws_jun_2019.pdf).
-2. Complete the [Prebid.org Membership Agreement](https://na3.docusign.net/Member/PowerFormSigning.aspx?PowerFormId=2208cbf4-d455-4c6b-ba4f-f00e3e0b4cda&env=na3-eu1&acct=2160069d-b42e-4c0a-9528-3a58d1c58bf9&v=2).
+2. Complete the [Prebid.org Membership Agreement](https://na3.docusign.net/Member/PowerFormSigning.aspx?PowerFormId=610f838a-3001-4999-aca0-6682cbcac66c&env=na3-eu1&acct=2160069d-b42e-4c0a-9528-3a58d1c58bf9&v=2).
3. Prebid will consider your membership application.
From 11f66ccf7bf405be4377c1fff535d923a1e124d6 Mon Sep 17 00:00:00 2001
From: Sourabh Gandhe
Date: Fri, 8 May 2020 22:49:39 +0530
Subject: [PATCH 003/101] DeepIntent: Gdpr support (#1954)
* gdpr support doc addeed
* gdpr support doc addeed
---
dev-docs/bidders/deepintent.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-docs/bidders/deepintent.md b/dev-docs/bidders/deepintent.md
index a0d5113998..ad99caf1db 100644
--- a/dev-docs/bidders/deepintent.md
+++ b/dev-docs/bidders/deepintent.md
@@ -5,7 +5,7 @@ description: Prebid Deepintent Bidder Adaptor
hide: true
biddercode: deepintent
media_types: banner
-gdpr_supported: false
+gdpr_supported: true
usp_supported: true
---
From 4d3b842f8e0057380179f4843d00362c41154595 Mon Sep 17 00:00:00 2001
From: Catalin Ciocov
Date: Fri, 8 May 2020 20:30:52 +0300
Subject: [PATCH 004/101] Show Inskin bid adapter as supporting GDPR (#1958)
---
dev-docs/bidders/inskin.md | 1 +
1 file changed, 1 insertion(+)
diff --git a/dev-docs/bidders/inskin.md b/dev-docs/bidders/inskin.md
index dc10b897a0..4d1ef21b59 100644
--- a/dev-docs/bidders/inskin.md
+++ b/dev-docs/bidders/inskin.md
@@ -4,6 +4,7 @@ title: Inskin
description: Inskin Media Bidder Adaptor
hide: true
biddercode: inskin
+gdpr_supported: true
---
### Note:
From 1fcddf6a116f70dfc50287f3dcf43bdbcb8e2b7c Mon Sep 17 00:00:00 2001
From: Klaas-Jan Boon
Date: Sat, 9 May 2020 00:42:03 +0200
Subject: [PATCH 005/101] New bid adapter: Blue Billywig docs (#1921)
* add Blue Billywig bidder adaptor dev docs
* Added unifiedId support to dev-docs/bidders/bluebillywig.md
Co-Authored-By: Scott
Co-authored-by: Klaas-Jan Boon
Co-authored-by: Scott
---
dev-docs/bidders/bluebillywig.md | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
create mode 100644 dev-docs/bidders/bluebillywig.md
diff --git a/dev-docs/bidders/bluebillywig.md b/dev-docs/bidders/bluebillywig.md
new file mode 100644
index 0000000000..1312c42859
--- /dev/null
+++ b/dev-docs/bidders/bluebillywig.md
@@ -0,0 +1,24 @@
+---
+layout: bluebillywig
+title: Blue Billywig
+description: Prebid Blue Billywig Bidder Adaptor
+biddercode: bluebillywig
+hide: true
+media_types: video
+gdpr_supported: true
+schain_supported: true
+coppa_supported: true
+usp_supported: true
+userIds: britepoolId, criteo, digitrust, id5Id, identityLink, liveIntentId, netId, parrableId, pubCommonId, unifiedId
+---
+
+#### Bid Params
+
+{: .table .table-bordered .table-striped }
+
+| Name | Scope | Description | Example | Type |
+|-----------|----------|---------------------------|------------|----------|
+| `publicationName` | required | The name of your Blue Billywig publication | `"bbprebid"` | `string` |
+| `accountId` | required | Your publication ID at Blue Billywig | `642` | `integer` |
+| `rendererCode` | required | The name of the renderer to use in your Blue Billywig publication | `"renderer"` | `string` |
+| `connections` | required | Back-ends to connect with. For every value in this a param matching the back-end should exist too. | `["bluebillywig"]` | `array` |
From 84ce1c689edee72cb5193322c144f40ca557a7f5 Mon Sep 17 00:00:00 2001
From: Konduit <55142865+konduit-dev@users.noreply.github.com>
Date: Sat, 9 May 2020 01:43:08 +0300
Subject: [PATCH 006/101] Konduit Accelerate documentation (#1945)
* Konduit Module initial documentation version.
* re-ordering modules in left-nav
* minor edits
added the gulp build command, general wordsmithing
* Updated konduit documentation
* Updated konduit.md file
* Reverted chacges in sidebar.yml
Co-authored-by: Alexander Kislitsyn
Co-authored-by: bretg
Co-authored-by: Max Shevchenko
---
dev-docs/modules/index.md | 2 +-
dev-docs/modules/konduit.md | 87 +++++++++++++++++++++++++------------
overview/analytics.md | 1 +
3 files changed, 61 insertions(+), 29 deletions(-)
diff --git a/dev-docs/modules/index.md b/dev-docs/modules/index.md
index 7a34321d4d..0ca44327a4 100644
--- a/dev-docs/modules/index.md
+++ b/dev-docs/modules/index.md
@@ -47,7 +47,7 @@ If you are looking for bidder adapter parameters, see [Bidders' Params]({{site.b
| [**Freewheel**](/dev-docs/modules/freewheel.html) | Passes key value targeting to Freewheel SDK |
| [**Google Ad Manager Video**](/dev-docs/modules/dfp_video.html) | Required for serving instream video through Google Ad Manager. |
| [**IAB Category Translation**](/dev-docs/modules/categoryTranslation.html) | Converts IAB sub category to Ad server category for long-form videos. |
-| [**Konduit Accelerate**](/dev-docs/modules/konduit.html) | Module for serving instream video through Konduit Accelerate service. |
+| [**Konduit Accelerate**](/dev-docs/modules/konduit.html) | Provides Real Time Start Rate Performance per Bidder. |
## Testing and Debug Modules
diff --git a/dev-docs/modules/konduit.md b/dev-docs/modules/konduit.md
index ffec9daf42..86aa76663e 100644
--- a/dev-docs/modules/konduit.md
+++ b/dev-docs/modules/konduit.md
@@ -8,55 +8,86 @@ display_name : Konduit Accelerate
enable_download : true
sidebarType : 1
---
-
+
# Konduit Accelerate Module
{:.no_toc}
-
-The Konduit Accelerate module applies the [Konduit](http://konduit.me/) video acceleration optimization to a publisher’s existing Prebid setup. This optimization can reduce load times and increase ad starts. To install the module, follow these instructions:
-
-
+
+The Konduit Accelerate module applies the [Konduit](https://konduitvideo.com/) video acceleration optimization to a publisher’s existing Prebid setup. This optimization provides publishers with tools to monetize previously lost revenue and drive higher fill rates on their video inventory.
+
+To install the module, follow these instructions:
+
### Step 1: Prepare the base Prebid file
-
+
Build your Prebid.js package in one of two ways:
-
-1. Receive an email package from the Prebid [Download](/download.html) page.
-2. From the command line, run
+
+- Receive an email package from the Prebid [Download](/download.html) page.
+
+- From the command line, run
`gulp build --modules=konduitWrapper,...`
-
-
+
+
### Step 2: Implement module code on page
-
+
+- Add konduitId as config using `setConfig` prebid method (`pbjs.setConfig({ konduit: { konduitId: your_konduit_id } })`)
+
- Insert the Konduit module code in the source code of your page.
- The module exposes the `pbjs.adServers.konduit.buildVastUrl` function.
-- Provide input parameters to the function, including a bid to be accelerated (usually a winning bid) and Konduit-specific parameters (as shown in the sample code below).
-
-
+ The module exposes the `pbjs.adServers.konduit.processBids` function.
+
+- Provide input parameters to the function (all parameters are shown in the table below).
+
+{: .table .table-bordered .table-striped }
+ | Param | Type | Description | Default |
+ |---+---+---+---+---|
+ | bid | object | prebid object with VAST url that should be cached | if the bid parameter is not passed then first winning bid will be used |
+ | adUnitCode | string | adUnitCode where a winner bid can be found | - |
+ | timeout | number | max time to wait for Konduit response with cache key and kCpm data | 1000 |
+ | callback | function | callback function is called once Konduit caches data for the bid. Arguments of this function are - `error` and `bids` (error should be `null` if Konduit request is successful). | - |
+
+### Step 3: GAM related configuration
+
+In order for Konduit’s module to be completely integrated, line item Creatives need to be adjusted in GAM.
+Please contact [support@konduit.me](mailto:support@konduit.me) for assistance.
+
+Standard implementation requires only Creative VAST URL update with the following URL:
+```
+https://p.konduit.me/api/vastProxy?konduit_hb=1&konduit_hb_awarded=1&konduit_cache_key=%%PATTERN:konduit_cache_key%%&konduit_id=%%PATTERN:konduit_id%%
+```
+
### Sample Code
-
+
We recommended using the Konduit module function call in the `bidsBackHandler` callback function.
-
+
```javascript
pbjs.que.push(function() {
+ pbjs.setConfig({
+ konduit: {
+ konduitId: your_konduit_id,
+ }
+ });
pbjs.addAdUnits(videoAdUnits);
pbjs.requestBids({
bidsBackHandler: function(bids) {
var winnerBid = pbjs.getHighestCpmBids('videoAd')[0];
-
- var vastTagUrl = pbjs.adServers.konduit.buildVastUrl({
+
+ pbjs.adServers.konduit.processBids({
bid: winnerBid,
- params: {
- konduit_id: '{konduit_client_id}',
+ adUnitCode: videoAdUnit[0].code,
+ timeout: 1500,
+ callback: function (error, bids) {
+ var videoUrl = pbjs.adServers.dfp.buildVideoUrl({
+ ...
+ });
+
+ invokeVideoPlayer(videoUrl);
}
});
-
- invokeVideoPlayer(vastTagUrl);
}
});
});
```
-
-
+
+
## Further Reading
-
+
[Getting Started Example]({{site.baseurl}}/dev-docs/getting-started.html)
-[Prebid.js for Video]({{site.baseurl}}/prebid-video/video-overview.html)
+[Prebid.js for Video]({{site.baseurl}}/prebid-video/video-overview.html)
diff --git a/overview/analytics.md b/overview/analytics.md
index 0f43d7b402..6bb485e5af 100644
--- a/overview/analytics.md
+++ b/overview/analytics.md
@@ -22,6 +22,7 @@ There are several analytics adapter plugins available to track header bidding pe
| [Google Analytics]({{site.baseurl}}/overview/ga-analytics.html) | Free up to a certain volume. See [terms](https://www.google.com/analytics/terms/) | [Website](https://www.google.com/analytics) |
| Invisibly Analytics | Contact vendor | [Website](https://invisibly.com/) |
| Kargo Analytics | Contact vendor | [Website](https://kargo.com/) |
+| Konduit Accelerate | Contact vendor | [Website](https://konduitvideo.com/) |
| Livewrapped Analytics | Contact vendor | [Website](https://livewrapped.com/) |
| LiveYield | Contact vendor | [Website](https://www.pubocean.com/liveyield) |
| OpenX | Contact vendor | [Website](https://www.openx.com/publishers/header-bidding/) |
From 82b441f831038ea6b4b2abdfb67377ac44ad12f2 Mon Sep 17 00:00:00 2001
From: Galphimbl
Date: Sat, 9 May 2020 01:43:42 +0300
Subject: [PATCH 007/101] add gdpr and usp (#1950)
---
dev-docs/bidders/admixer.md | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/dev-docs/bidders/admixer.md b/dev-docs/bidders/admixer.md
index 6d44f6ebac..2399696391 100644
--- a/dev-docs/bidders/admixer.md
+++ b/dev-docs/bidders/admixer.md
@@ -5,7 +5,8 @@ description: Prebid AdMixer Bidder Adaptor
hide: true
biddercode: admixer
media_types: video
-
+gdpr_supported: true
+usp_supported: true
---
### Bid Params
From ce4e6338671a75c75c1ae19f0796d782d9744c92 Mon Sep 17 00:00:00 2001
From: thuyhq <61451682+thuyhq@users.noreply.github.com>
Date: Sat, 9 May 2020 05:44:11 +0700
Subject: [PATCH 008/101] Add Quantumdex Bid Adapter docs (#1951)
Add Quantumdex Bid Adapter docs
---
dev-docs/bidders/quantumdex.md | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
create mode 100644 dev-docs/bidders/quantumdex.md
diff --git a/dev-docs/bidders/quantumdex.md b/dev-docs/bidders/quantumdex.md
new file mode 100644
index 0000000000..5fcd3f45bf
--- /dev/null
+++ b/dev-docs/bidders/quantumdex.md
@@ -0,0 +1,19 @@
+---
+layout: bidder
+title: Quantumdex
+description: Prebid Quantum Digital Exchange Bidder Adapter
+hide: true
+biddercode: quantumdex
+media_types: banner, video
+gdpr_supported: true
+schain_supported: true
+usp_supported: true
+---
+
+
+### Bid Params
+
+{: .table .table-bordered .table-striped }
+| Name | Scope | Description | Example | Type |
+|-------------|----------|--------------------------------------------------------------------------------------------------------------------------------|------------|----------|
+| `siteId` | required | Publisher site ID from Quantumdex | `'quantumdex-site-id'` | `string` |
From 63018edc0e9e2c3966382ac50ff0a75dc06008de Mon Sep 17 00:00:00 2001
From: Adprime <64427228+Adprime@users.noreply.github.com>
Date: Sat, 9 May 2020 01:44:35 +0300
Subject: [PATCH 009/101] New Adprime Prebid adapter (#1952)
* docs
* added quotes to string arg
Co-authored-by: Aigolkin1991
Co-authored-by: bretg
---
dev-docs/bidders/adprime.md | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
create mode 100644 dev-docs/bidders/adprime.md
diff --git a/dev-docs/bidders/adprime.md b/dev-docs/bidders/adprime.md
new file mode 100644
index 0000000000..73b2f47e16
--- /dev/null
+++ b/dev-docs/bidders/adprime.md
@@ -0,0 +1,21 @@
+---
+layout: bidder
+title: Adprime
+description: Prebid Adprime Bidder Adapter
+hide: true
+biddercode: adprime
+gdpr_supported: true
+media_types: banner, video
+---
+
+### Note:
+
+The Adprime Bidding adapter requires setup before beginning. Please contact us at rafal@adprime.com
+
+### Bid Params
+
+{: .table .table-bordered .table-striped }
+| Name | Scope | Description | Example | Type |
+|---------------|----------|-----------------------|-----------|-----------|
+| `id` | required | Adprime placement id | `'1234asdf'` | `string` |
+
From 940489c2756fd9b2c0efe895bd4016cd73ce6a20 Mon Sep 17 00:00:00 2001
From: bretg
Date: Mon, 11 May 2020 15:50:32 -0400
Subject: [PATCH 010/101] added meta.mediaType (#1966)
---
dev-docs/bidder-adaptor.md | 2 ++
1 file changed, 2 insertions(+)
diff --git a/dev-docs/bidder-adaptor.md b/dev-docs/bidder-adaptor.md
index d072fd1ded..a8d0379738 100644
--- a/dev-docs/bidder-adaptor.md
+++ b/dev-docs/bidder-adaptor.md
@@ -377,6 +377,7 @@ The `interpretResponse` function will be called when the browser has received th
brandName: BRAND_NAME,
primaryCatId: IAB_CATEGORY,
secondaryCatIds: [ARRAY_OF_IAB_CATEGORIES],
+ mediaType: MEDIA_TYPE
}
};
bidResponses.push(bidResponse);
@@ -419,6 +420,7 @@ The parameters of the `bidResponse` object are:
| `meta.brandName` | Optional | Brand Name | `"BrandB"` |
| `meta.primaryCatId` | Optional | Primary [IAB category ID](https://www.iab.com/guidelines/iab-quality-assurance-guidelines-qag-taxonomy/) | `"IAB-111"` |
| `meta.secondaryCatIds` | Optional | Array of secondary IAB category IDs | `["IAB-222","IAB-333"]` |
+| `meta.mediaType` | Optional | "banner", "native", or "video" - this should be set in scenarios where a bidder responds to a "banner" mediaType with a creative that's actually a video (e.g. outstream) or native. | `"native"` |
From a4d4cb80936909a809b3d1dd53e0692ef3f7f757 Mon Sep 17 00:00:00 2001
From: bretg
Date: Tue, 12 May 2020 09:26:54 -0400
Subject: [PATCH 011/101] fixing vendorException descriptions (#1969)
---
dev-docs/modules/gdprEnforcement.md | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/dev-docs/modules/gdprEnforcement.md b/dev-docs/modules/gdprEnforcement.md
index eb0caf12bc..8fd1bdfed4 100644
--- a/dev-docs/modules/gdprEnforcement.md
+++ b/dev-docs/modules/gdprEnforcement.md
@@ -58,7 +58,7 @@ These are the fields related to GDPR enforcment that are supported in the [`cons
| gdpr.rules[].purpose | `String` | The only currently supported value is "storage", corresponding to TCF Purpose 1. | "storage" |
| gdpr.rules[].enforcePurpose | `Boolean` | Determines whether to enforce the purpose consent or not. The default in Prebid.js 3.x is not to enforce purposes. The plan for Prebid.js 4.0 is to enforce consent for Purpose 1 and no others. | true |
| gdpr.rules[].enforceVendor | `Boolean` | Determines whether to enforce vendor signals for this purpose or not. The default in Prebid.js 3.x is not to enforce vendor signals. The plan for Prebid.js 4.0 to enforce signals for Purpose 1 and no others. | true |
-| gdpr.rules[].vendorExceptions | `Array of Strings` | Defines a list of biddercodes or module names that are exempt from the enforcement of this Purpose. | true |
+| gdpr.rules[].vendorExceptions | `Array of Strings` | Defines a list of biddercodes or module names that are exempt from the enforcement of this Purpose. | ["bidderA", "userID-module-B"] |
Note:
@@ -86,7 +86,7 @@ pbjs.setConfig({
});
```
-2) Enforce that the user consents to DeviceAccess as an activity and consider their per-vendor selection. However, BidderA is a special case - the publisher has entrusted BidderA for this activity regardless of what the user says.
+2) Enforce that the user consents to DeviceAccess as an activity and consider their per-vendor selection. However, BidderA is a special case - the publisher has entrusted BidderA for this activity.
...
rules: [{
@@ -105,7 +105,7 @@ pbjs.setConfig({
enforceVendor: false,
}
-4) Enforce that the user consents to DeviceAccess as an activity, but don't consider their per-vendor selection for any bidders except BidderA. BidderA is entrusted to enforce the rules on their own.
+4) Enforce that the user consents to DeviceAccess as an activity, but don't consider their per-vendor selection. BidderA is entrusted to enforce the rules on their own.
...
rules: [{
@@ -133,7 +133,7 @@ pbjs.setConfig({
enforceVendor: true
}
-7) Don't enforce the user's DeviceAccess consent, but do consider their per-vendor selection; don't enforce vendor selection for BidderA.
+7) Don't enforce the user's DeviceAccess consent, but do consider their per-vendor selection except for BidderA.
...
rules: [{
From 8d66d250e36bee680a306b53a9effdd85d5b5a83 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?L=C3=A9onard=20Labat?=
Date: Tue, 12 May 2020 15:36:28 +0200
Subject: [PATCH 012/101] Criteo - added tcf2_supported to adapter
documentation (#1967)
---
dev-docs/bidders/criteo.md | 1 +
1 file changed, 1 insertion(+)
diff --git a/dev-docs/bidders/criteo.md b/dev-docs/bidders/criteo.md
index 282a570a88..5f579bd660 100755
--- a/dev-docs/bidders/criteo.md
+++ b/dev-docs/bidders/criteo.md
@@ -8,6 +8,7 @@ media_types: display, native, video
gdpr_supported: true
usp_supported: true
prebid_member: true
+tcf2_supported: true
---
### Note
{: .alert.alert-warning :}
From 8fb3d212f4a3eca40c688aa33a6d354ac69d14bd Mon Sep 17 00:00:00 2001
From: bretg
Date: Tue, 12 May 2020 14:02:44 -0400
Subject: [PATCH 013/101] adding floors to module and download page (#1971)
---
_data/sidebar.yml | 2 +-
dev-docs/modules/floors.md | 2 +-
dev-docs/modules/index.md | 1 +
3 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/_data/sidebar.yml b/_data/sidebar.yml
index fe4b2f4c11..46ef1e034c 100644
--- a/_data/sidebar.yml
+++ b/_data/sidebar.yml
@@ -448,7 +448,7 @@
subgroup: 5
- sbSecId: 1
- title: Floors Module
+ title: Price Floors Module
link: /dev-docs/modules/floors.html
isHeader: 0
isSectionHeader: 0
diff --git a/dev-docs/modules/floors.md b/dev-docs/modules/floors.md
index 1f2c6cfab4..a59fb0e81a 100644
--- a/dev-docs/modules/floors.md
+++ b/dev-docs/modules/floors.md
@@ -5,7 +5,7 @@ title: Module - Price Floors
description: Determine and enforce auction price floors
module_code : floors
display_name : Price Floors
-enable_download : false
+enable_download : true
sidebarType : 1
---
diff --git a/dev-docs/modules/index.md b/dev-docs/modules/index.md
index 0ca44327a4..385b5545bc 100644
--- a/dev-docs/modules/index.md
+++ b/dev-docs/modules/index.md
@@ -37,6 +37,7 @@ If you are looking for bidder adapter parameters, see [Bidders' Params]({{site.b
| [**User ID**](/dev-docs/modules/userId.html) | Sub-modules are available to support a range of identification approaches: Criteo RTUS, DigiTrust, ID5 Universal ID, IdentityLink, PubCommon ID, Unified ID and LiveIntent ID. |
| [**Browsi Viewability**]({{site.baseurl}}/dev-docs/modules/browsiRtdProvider.html) | Browsi provider for real time data module. |
| [**Advanced Size Mapping**](/dev-docs/modules/sizeMappingV2.html) | Display Responsive AdUnits in demanding page environments. |
+| [**Price Floors Module**](/dev-docs/modules/floors.html) | Configure and enforce minimum bids. |
## Video Modules
From 053b6905aa0bea824ecdd2eddb9ad58913a72c9c Mon Sep 17 00:00:00 2001
From: bretg
Date: Tue, 12 May 2020 15:44:00 -0400
Subject: [PATCH 014/101] fixed mismatch in price floor module filename
(#1972)
---
dev-docs/modules/floors.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-docs/modules/floors.md b/dev-docs/modules/floors.md
index a59fb0e81a..5467cdb52f 100644
--- a/dev-docs/modules/floors.md
+++ b/dev-docs/modules/floors.md
@@ -3,7 +3,7 @@ layout: page_v2
page_type: module
title: Module - Price Floors
description: Determine and enforce auction price floors
-module_code : floors
+module_code : priceFloors
display_name : Price Floors
enable_download : true
sidebarType : 1
From 39685ee15d61970d49cbd5516b9e361a600a6ebb Mon Sep 17 00:00:00 2001
From: mfainshtein
Date: Wed, 13 May 2020 16:22:38 +0300
Subject: [PATCH 015/101] Update vidazoo.md (#1970)
Added note for usp_support
---
dev-docs/bidders/vidazoo.md | 1 +
1 file changed, 1 insertion(+)
diff --git a/dev-docs/bidders/vidazoo.md b/dev-docs/bidders/vidazoo.md
index b3c257b120..4346c392b5 100644
--- a/dev-docs/bidders/vidazoo.md
+++ b/dev-docs/bidders/vidazoo.md
@@ -5,6 +5,7 @@ description: Prebid Vidazoo Bidder Adaptor
biddercode: vidazoo
hide: true
gdpr_supported: true
+usp_supported: true
---
### Bid Params
From 2c6e16e310c52dee72716749e5d0de18e46fce0e Mon Sep 17 00:00:00 2001
From: Patrick McCann
Date: Wed, 13 May 2020 09:24:03 -0400
Subject: [PATCH 016/101] update key to hb_cache_id (#1975)
---
_includes/adops/adops-gam-video-setup.html | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/_includes/adops/adops-gam-video-setup.html b/_includes/adops/adops-gam-video-setup.html
index 5aa6714df9..67ea3ac629 100644
--- a/_includes/adops/adops-gam-video-setup.html
+++ b/_includes/adops/adops-gam-video-setup.html
@@ -49,13 +49,13 @@
Single Cache Location
If you’re using a single order for all bidders, then the VAST URL will be the same for each bidder:
From a5319e553a81d7a1a7ea0cc20b2e0428585ce64c Mon Sep 17 00:00:00 2001
From: bretg
Date: Wed, 13 May 2020 11:48:09 -0400
Subject: [PATCH 018/101] community members don't get a logo (#1980)
---
partners/partners.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/partners/partners.md b/partners/partners.md
index a6209eb3c4..30108efca5 100644
--- a/partners/partners.md
+++ b/partners/partners.md
@@ -45,7 +45,7 @@ Companies join Prebid.org because they want to take an active role in supporting
| Leader Members | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | $40,000 |
| Technology Partners | As a Group, Technology members elect a representative to the board | ✓ | ✓ | ✓ | ✓ | ✓ | $25,000 |
| Publishers | As a Group, Publisher members elect a representative to the board | ✓ | ✓ | ✓ | ✓ | ✓ | $5,000 |
-| Community | ✖ | ✓ | ✓ | ✓ | ✖ | ✓ | Free |
+| Community | ✖ | ✓ | ✓ | ✓ | ✖ | ✖ | Free |
Have questions about becoming a member, email us at [membership@prebid.org](mailto:membership@prebid.org).
From 06ff3390bbaacb1ccbd25196d4d2a5332fa3857b Mon Sep 17 00:00:00 2001
From: Bryan Szekely <49168870+bszekely1@users.noreply.github.com>
Date: Wed, 13 May 2020 12:17:09 -0400
Subject: [PATCH 019/101] PBSDK 1.6: video signals (#1981)
---
.../pbm-video-rewarded-adunit-android.md | 130 ++++++++++++++++
.../pbm-videointerstitialadunit-android.md | 113 ++++++++++++++
.../pbm-videooutstreamadunit-android.md | 124 ++++++++++++++-
.../ios/pbm-video-rewarded-adunit-ios.md | 119 ++++++++++++++-
.../ios/pbm-videointerstitialadunit-ios.md | 120 +++++++++++++++
.../ios/pbm-videooutstreamadunit-ios.md | 141 ++++++++++++++++--
6 files changed, 730 insertions(+), 17 deletions(-)
diff --git a/prebid-mobile/pbm-api/android/pbm-video-rewarded-adunit-android.md b/prebid-mobile/pbm-api/android/pbm-video-rewarded-adunit-android.md
index aa1452d242..dd08df289a 100755
--- a/prebid-mobile/pbm-api/android/pbm-video-rewarded-adunit-android.md
+++ b/prebid-mobile/pbm-api/android/pbm-video-rewarded-adunit-android.md
@@ -32,6 +32,105 @@ RewardedVideoAdUnit("configId");
`configId`: String; Prebid Server configuration ID.
+### Paramaters
+
+Parameters is a sub class of videoAdUnit.Create new Parameters class to define the parameters of the video ad unit. Parameters contain the OpenRTB video attributes.
+
+
+**Parameters**
+
+`placement: [int] or [enum]`: OpenRTB placement
+
+`api: [int] or [enum]`: OpenRTB api frameworks
+
+`maxBitrate: int`: OpenRTB maxBirate
+
+`minBitrate: int`: OpenRTB minBitrate
+
+`maxDuration:int`: OpenRTB maxDuration
+
+`minDuration: int`: OpenRTB minDuration
+
+`mimes: [string]`: OpenRTB mime types
+
+`playbackMethod: [int]`: OpenRTB playbackMethod
+
+`protocols: [int] or [enum]`: OpenRTB Protocols
+
+
+### placement
+
+[OpenRTB 2.5](https://www.iab.com/wp-content/uploads/2016/03/OpenRTB-API-Specification-Version-2-5-FINAL.pdf) Placement Type for the auction can be expressed as an integer array or can use an enum for easier readability. Option 1 (in-stream) is intentionally left out due to lack of in-stream support in Prebid SDK.
+
+In the context of a VideoInterstitialAdUnit, rewarded video ads are typically labled as interstitial. As such, Prebid SDK will default to value 5 if no placement value is supplied.
+
+* `2` or `InBanner` : In-Banner placement exists within a web banner that leverages the banner space to deliver a video experience as opposed to another static or rich media format. The format relies on the existence of display ad inventory on the page for its delivery.
+* `3` or `InArticle` : In-Article placement loads and plays dynamically between paragraphs of editorial content; existing as a standalone branded message.
+* `4` or `InFeed` : In-Feed placement is found in content, social, or product feeds.
+* `5` or `Slider` or `Floating` or `Interstitial` : Open RTB supports one of three values for option 5 as eitehr Slider, Floating or Interstitial. If an enum value is supplied in placement, bidders will recieve value 5 for placement type and assume to be interstitial with the instl flag set to 1.
+
+
+#### api
+
+Array of integers or enum representing the supported OpenRTB Frameworks:
+
+* `1` or `Signals.Api.VPAID_1` : VPAID 1.0
+* `2` or `Signals.Api.VPAID_2` : VPAID 2.0
+* `3` or `Signals.Api.MRAID_1` : MRAID-1
+* `4` or `Signals.Api.ORMMA` : ORMMA
+* `5` or `Signals.Api.MARAID_2` : MRAID-2
+* `6` or `Signals.Api.MARAID_3` : MRAID-3
+
+
+#### maxBitrate
+
+Integer representing the [OpenRTB 2.5](https://www.iab.com/wp-content/uploads/2016/03/OpenRTB-API-Specification-Version-2-5-FINAL.pdf) maximum bit rate in Kbps.
+
+
+#### minBitrate
+
+Integer representing the [OpenRTB 2.5](https://www.iab.com/wp-content/uploads/2016/03/OpenRTB-API-Specification-Version-2-5-FINAL.pdf) minimum bit rate in Kbps.
+
+
+#### maxDuration
+
+Integer representing the [OpenRTB 2.5](https://www.iab.com/wp-content/uploads/2016/03/OpenRTB-API-Specification-Version-2-5-FINAL.pdf) maximum video ad duration in seconds.
+
+
+#### minDuration
+
+Integer representing the [OpenRTB 2.5](https://www.iab.com/wp-content/uploads/2016/03/OpenRTB-API-Specification-Version-2-5-FINAL.pdf) minimum video ad duration in seconds.
+
+
+#### mimes
+
+Array of string representing the supported [OpenRTB 2.5](https://www.iab.com/wp-content/uploads/2016/03/OpenRTB-API-Specification-Version-2-5-FINAL.pdf) content MIME types (e.g., “video/x-ms-wmv”, “video/mp4”).
+
+
+#### playbackMethod
+
+Array of [OpenRTB 2.5](https://www.iab.com/wp-content/uploads/2016/03/OpenRTB-API-Specification-Version-2-5-FINAL.pdf) playback methods. If none are specified, any method may be used. Only one method is typically used in practice. It is strongly advised to use only the first element of the array.
+
+* `1` or `Signals.PlaybackMethod.AutoPlaySoundOn` : Initiates on Page Load with Sound On
+* `2` or `Signals.PlaybackMethod.AutoPlaySoundOff` : Initiates on Page Load with Sound Off by Default
+* `3` or `Signals.PlaybackMethod.ClickToPlay` : Initiates on Click with Sound On
+* `4` or `Signals.PlaybackMethod.MouseOver` : Initiates on Mouse-Over with Sound On
+* `5` or `Signals.PlaybackMethod.EnterSoundOn` : Initiates on Entering Viewport with Sound On
+* `6` or `Signals.PlaybackMethod.EnterSoundOff`: Initiates on Entering Viewport with Sound Off by Default
+
+
+#### protocols
+
+Array or enum of [OpenRTB 2.5](https://www.iab.com/wp-content/uploads/2016/03/OpenRTB-API-Specification-Version-2-5-FINAL.pdf) supported Protocols. Values can be one of:
+
+* `1` or `Signals.Protocols.VAST_1_0` : VAST 1.0
+* `2` or `Signals.Protocols.VAST_2_0` : VAST 2.0
+* `3` or `Signals.Protocols.VAST_3_0` : VAST 3.0
+* `4` or `Signals.Protocols.VAST_1_0_Wrapper` : VAST 1.0 Wrapper
+* `5` or `Signals.Protocols.VAST_2_0_Wrapper` : VAST 2.0 Wrapper
+* `6` or `Signals.Protocols.VAST_3_0_Wrapper` : VAST 3.0 Wrapper
+* `7` or `Signals.Protocols.VAST_4_0` : VAST 4.0
+* `8` or `Signals.Protocols.VAST_4_0_Wrapper` : VAST 4.0 Wrapper
## Methods
@@ -47,6 +146,21 @@ RewardedVideoAdUnit("configId");
```java
//setup PB RewardedVideo
RewardedVideoAdUnit adUnit = new RewardedVideoAdUnit("configId");
+
+VideoAdUnit.Parameters parameters = new VideoAdUnit.Parameters();
+
+parameters.setPlacement(5); // or alternative enum value Signals.Placement.Interstitial
+parameters.setApi(Arrays.asList(1,2)); // or alternative enum values [Signals.Api.VPAID_1, Signals.Api.VPAID_2]
+parameters.setMaxBitrate(1500);
+parameters.setMinBitrate(300);
+parameters.setMaxDuration(30);
+parameters.setMinDuration(5);
+parameters.setMimes(Arrays.asList("video/x-flv", "video/mp4"));
+parameters.setPlaybackMethod(1); // or alternative enum value (Signals.PlaybackMethod.AutoPlaySoundOn)
+parameters.setProtocols(Arrays.asList(2,3)); // or alternative enum values (Signals.Protocols.VAST_2_0, Signals.Protocols.VAST_3_0)
+
+adUnit.setParameters(parameters);
+
//setup AM RewardedVideo
RewardedAd amRewardedAd = new RewardedAd(this, "adUnitId");
//load AM RewardedVideo
@@ -96,6 +210,22 @@ adUnit.fetchDemand(request, new OnCompleteListener() {
```java
//setup PB RewardedVideo
RewardedVideoAdUnit adUnit = new RewardedVideoAdUnit("configId");
+
+VideoAdUnit.Parameters parameters = new VideoAdUnit.Parameters();
+
+parameters.setPlacement(5); // or alternative enum value Signals.Placement.Interstitial
+parameters.setApi(Arrays.asList(1,2)); // or alternative enum values [Signals.Api.VPAID_1, Signals.Api.VPAID_2]
+parameters.setMaxBitrate(1500);
+parameters.setMinBitrate(300);
+parameters.setMaxDuration(30);
+parameters.setMinDuration(5);
+parameters.setMimes(Arrays.asList("video/x-flv", "video/mp4"));
+parameters.setPlaybackMethod(1); // or alternative enum value (Signals.PlaybackMethod.AutoPlaySoundOn)
+parameters.setProtocols(Arrays.asList(2,3)); // or alternative enum values (Signals.Protocols.VAST_2_0, Signals.Protocols.VAST_3_0)
+
+adUnit.setParameters(parameters);
+
+
//setup MP RewardedVideo
SdkConfiguration sdkConfiguration = new SdkConfiguration.Builder("adUnitId").build();
MoPub.initializeSdk(this, sdkConfiguration, null);
diff --git a/prebid-mobile/pbm-api/android/pbm-videointerstitialadunit-android.md b/prebid-mobile/pbm-api/android/pbm-videointerstitialadunit-android.md
index 299dd3edfa..47378cdcdb 100755
--- a/prebid-mobile/pbm-api/android/pbm-videointerstitialadunit-android.md
+++ b/prebid-mobile/pbm-api/android/pbm-videointerstitialadunit-android.md
@@ -35,6 +35,105 @@ VideoInterstitialAdUnit("configId");
`configId`: String; Prebid Server configuration ID.
+### Paramaters
+
+Parameters is a sub class of videoAdUnit.Create new Parameters class to define the parameters of the video ad unit. Parameters contain the OpenRTB video attributes.
+
+
+**Parameters**
+
+`placement: [int] or [enum]`: OpenRTB Placement
+
+`api: [int] or [enum]`: OpenRTB api frameworks
+
+`maxBitrate: int`: OpenRTB maxBirate
+
+`minBitrate: int`: OpenRTB minBitrate
+
+`maxDuration:int`: OpenRTB maxDuration
+
+`minDuration: int`: OpenRTB minDuration
+
+`mimes: [string]`: OpenRTB mime types
+
+`playbackMethod: [int]`: OpenRTB playbackMethod
+
+`protocols: [int] or [enum]`: OpenRTB Protocols
+
+
+#### placement
+
+[OpenRTB 2.5](https://www.iab.com/wp-content/uploads/2016/03/OpenRTB-API-Specification-Version-2-5-FINAL.pdf) Placement Type for the auction can be expressed as an integer array or can use an enum for easier readability. Option 1 (in-stream) is intentionally left out due to lack of in-stream support in Prebid SDK.
+
+In the context of a VideoAdUnit, rewarded video ads are typically labled as interstitial. As such, Prebid SDK will default to value 5 if no placement value is supplied.
+
+* `2` or `InBanner` : In-Banner placement exists within a web banner that leverages the banner space to deliver a video experience as opposed to another static or rich media format. The format relies on the existence of display ad inventory on the page for its delivery.
+* `3` or `InArticle` : In-Article placement loads and plays dynamically between paragraphs of editorial content; existing as a standalone branded message.
+* `4` or `InFeed` : In-Feed placement is found in content, social, or product feeds.
+* `5` or `Slider` or `Floating` or `Interstitial` : Open RTB supports one of three values for option 5 as eitehr Slider, Floating or Interstitial. If an enum value is supplied in placement, bidders will recieve value 5 for placement type and assume to be interstitial with the instl flag set to 1.
+
+#### api
+
+Array of integers or enum representing the supported OpenRTB Frameworks:
+
+* `1` or `Signals.Api.VPAID_1` : VPAID 1.0
+* `2` or `Signals.Api.VPAID_2` : VPAID 2.0
+* `3` or `Signals.Api.MRAID_1` : MRAID-1
+* `4` or `Signals.Api.ORMMA` : ORMMA
+* `5` or `Signals.Api.MARAID_2` : MRAID-2
+* `6` or `Signals.Api.MARAID_3` : MRAID-3
+
+
+#### maxBitrate
+
+Integer representing the [OpenRTB 2.5](https://www.iab.com/wp-content/uploads/2016/03/OpenRTB-API-Specification-Version-2-5-FINAL.pdf) maximum bit rate in Kbps.
+
+
+#### minBitrate
+
+Integer representing the [OpenRTB 2.5](https://www.iab.com/wp-content/uploads/2016/03/OpenRTB-API-Specification-Version-2-5-FINAL.pdf) minimum bit rate in Kbps.
+
+
+#### maxDuration
+
+Integer representing the [OpenRTB 2.5](https://www.iab.com/wp-content/uploads/2016/03/OpenRTB-API-Specification-Version-2-5-FINAL.pdf) maximum video ad duration in seconds.
+
+
+#### minDuration
+
+Integer representing the [OpenRTB 2.5](https://www.iab.com/wp-content/uploads/2016/03/OpenRTB-API-Specification-Version-2-5-FINAL.pdf) minimum video ad duration in seconds.
+
+
+#### mimes
+
+Array of string representing the supported [OpenRTB 2.5](https://www.iab.com/wp-content/uploads/2016/03/OpenRTB-API-Specification-Version-2-5-FINAL.pdf) content MIME types (e.g., “video/x-ms-wmv”, “video/mp4”).
+
+
+#### playbackMethod
+
+Array of [OpenRTB 2.5](https://www.iab.com/wp-content/uploads/2016/03/OpenRTB-API-Specification-Version-2-5-FINAL.pdf) playback methods. If none are specified, any method may be used. Only one method is typically used in practice. It is strongly advised to use only the first element of the array.
+
+* `1` or `Signals.PlaybackMethod.AutoPlaySoundOn` : Initiates on Page Load with Sound On
+* `2` or `Signals.PlaybackMethod.AutoPlaySoundOff` : Initiates on Page Load with Sound Off by Default
+* `3` or `Signals.PlaybackMethod.ClickToPlay` : Initiates on Click with Sound On
+* `4` or `Signals.PlaybackMethod.MouseOver` : Initiates on Mouse-Over with Sound On
+* `5` or `Signals.PlaybackMethod.EnterSoundOn` : Initiates on Entering Viewport with Sound On
+* `6` or `Signals.PlaybackMethod.EnterSoundOff`: Initiates on Entering Viewport with Sound Off by Default
+
+
+#### protocols
+
+Array or enum of [OpenRTB 2.5](https://www.iab.com/wp-content/uploads/2016/03/OpenRTB-API-Specification-Version-2-5-FINAL.pdf) supported Protocols. Values can be one of:
+
+* `1` or `Signals.Protocols.VAST_1_0` : VAST 1.0
+* `2` or `Signals.Protocols.VAST_2_0` : VAST 2.0
+* `3` or `Signals.Protocols.VAST_3_0` : VAST 3.0
+* `4` or `Signals.Protocols.VAST_1_0_Wrapper` : VAST 1.0 Wrapper
+* `5` or `Signals.Protocols.VAST_2_0_Wrapper` : VAST 2.0 Wrapper
+* `6` or `Signals.Protocols.VAST_3_0_Wrapper` : VAST 3.0 Wrapper
+* `7` or `Signals.Protocols.VAST_4_0` : VAST 4.0
+* `8` or `Signals.Protocols.VAST_4_0_Wrapper` : VAST 4.0 Wrapper
+
## Methods
@@ -61,6 +160,20 @@ private void setupPBInterstitialVAST() {
PrebidMobile.setPrebidServerAccountId("AccountID");
adUnit = new VideoInterstitialAdUnit("configID");
+
+ VideoAdUnit.Parameters parameters = new VideoAdUnit.Parameters();
+
+ parameters.setPlacement(5); // or alternative enum value Signals.Placement.Interstitial
+ parameters.setApi(Arrays.asList(1,2)); // or alternative enum values [Signals.Api.VPAID_1, Signals.Api.VPAID_2]
+ parameters.setMaxBitrate(1500);
+ parameters.setMinBitrate(300);
+ parameters.setMaxDuration(30);
+ parameters.setMinDuration(5);
+ parameters.setMimes(Arrays.asList("video/x-flv", "video/mp4"));
+ parameters.setPlaybackMethod(1); // or alternative enum value (Signals.PlaybackMethod.AutoPlaySoundOn)
+ parameters.setProtocols(Arrays.asList(2,3)); // or alternative enum values (Signals.Protocols.VAST_2_0, Signals.Protocols.VAST_3_0)
+
+ adUnit.setParameters(parameters);
}
private void setupAMInterstitialVAST() {
diff --git a/prebid-mobile/pbm-api/android/pbm-videooutstreamadunit-android.md b/prebid-mobile/pbm-api/android/pbm-videooutstreamadunit-android.md
index 0cc2fea7da..c2b1915d09 100755
--- a/prebid-mobile/pbm-api/android/pbm-videooutstreamadunit-android.md
+++ b/prebid-mobile/pbm-api/android/pbm-videooutstreamadunit-android.md
@@ -25,7 +25,7 @@ Video Outstream is only supported with Google Ad Manager.
Create a new Outstream Video Ad Unit associated with a Prebid Server configuration ID and a video player size.
```java
-VideoAdUnit("configID", width, height, VideoAdUnit.PlacementType.placement);
+VideoAdUnit("configID", width, height, VideoAdUnit.PlacementType.placement); //placement to be deprecated in favor of parameters.placement)
```
**Parameters**
@@ -33,18 +33,118 @@ VideoAdUnit("configID", width, height, VideoAdUnit.PlacementType.placement);
* `configId`: String; Prebid Server configuration ID.
* `width`: Integer; Width of the video player.
* `height`: Integer; Height of the video player.
-* `placement` Enumeration. Possible values:
+* `placement` (DEPRECATED FIELD) Enumeration. Possible values:
* IN_BANNER
* IN_ARTICLE
* IN_FEED
+
+### Paramaters
+
+Parameters is a sub class of videoAdUnit.Create new Parameters class to define the parameters of the video ad unit. Parameters contain the OpenRTB video attributes.
+
+
+**Parameters**
+
+`placement: [int] or [enum]`: OpenRTB placement
+
+`protocols: [int] or [enum]`: OpenRTB Protocols
+
+`api: [int] or [enum]`: OpenRTB api frameworks
+
+`maxBitrate: int`: OpenRTB maxBirate
+
+`minBitrate: int`: OpenRTB minBitrate
+
+`maxDuration:int`: OpenRTB maxDuration
+
+`minDuration: int`: OpenRTB minDuration
+
+`mimes: [string]`: OpenRTB mime types
+
+`playbackMethod: [int]`: OpenRTB playbackMethod
+
+
+#### placement
+
+[OpenRTB 2.5](https://www.iab.com/wp-content/uploads/2016/03/OpenRTB-API-Specification-Version-2-5-FINAL.pdf) Placement Type for the auction can be expressed as an integer array or can use an enum for easier readability. Option 1 (in-stream) is intentionally left out due to lack of in-stream support in Prebid SDK.
+
+* `2` or `IN_BANNER` : In-Banner placement exists within a web banner that leverages the banner space to deliver a video experience as opposed to another static or rich media format. The format relies on the existence of display ad inventory on the page for its delivery.
+* `3` or `IN_ARTICLE` : In-Article placement loads and plays dynamically between paragraphs of editorial content; existing as a standalone branded message.
+* `4` or `IN_FEED` : In-Feed placement is found in content, social, or product feeds.
+* `5` : `Slider` / `Floater` While OpenRTB uses "5" to also designate interstitial as a placement type, interstitial is not used in the standard outsream format. For Interstital, use the videointerstital or RewardedVideoAdUnit ad unit
+
+
+#### api
+
+Array of integers or enum representing the supported OpenRTB Frameworks:
+
+* `1` or `Signals.Api.VPAID_1` : VPAID 1.0
+* `2` or `Signals.Api.VPAID_2` : VPAID 2.0
+* `3` or `Signals.Api.MRAID_1` : MRAID-1
+* `4` or `Signals.Api.ORMMA` : ORMMA
+* `5` or `Signals.Api.MARAID_2` : MRAID-2
+* `6` or `Signals.Api.MARAID_3` : MRAID-3
+
+
+#### maxBitrate
+
+Integer representing the [OpenRTB 2.5](https://www.iab.com/wp-content/uploads/2016/03/OpenRTB-API-Specification-Version-2-5-FINAL.pdf) maximum bit rate in Kbps.
+
+
+#### minBitrate
+
+Integer representing the [OpenRTB 2.5](https://www.iab.com/wp-content/uploads/2016/03/OpenRTB-API-Specification-Version-2-5-FINAL.pdf) minimum bit rate in Kbps.
+
+
+#### maxDuration
+
+Integer representing the [OpenRTB 2.5](https://www.iab.com/wp-content/uploads/2016/03/OpenRTB-API-Specification-Version-2-5-FINAL.pdf) maximum video ad duration in seconds.
+
+
+#### minDuration
+
+Integer representing the [OpenRTB 2.5](https://www.iab.com/wp-content/uploads/2016/03/OpenRTB-API-Specification-Version-2-5-FINAL.pdf) minimum video ad duration in seconds.
+
+
+#### mimes
+
+Array of string representing the supported [OpenRTB 2.5](https://www.iab.com/wp-content/uploads/2016/03/OpenRTB-API-Specification-Version-2-5-FINAL.pdf) content MIME types (e.g., “video/x-ms-wmv”, “video/mp4”).
+
+
+#### playbackMethod
+
+Array of [OpenRTB 2.5](https://www.iab.com/wp-content/uploads/2016/03/OpenRTB-API-Specification-Version-2-5-FINAL.pdf) playback methods. If none are specified, any method may be used. Only one method is typically used in practice. It is strongly advised to use only the first element of the array.
+
+* `1` or `Signals.PlaybackMethod.AutoPlaySoundOn` : Initiates on Page Load with Sound On
+* `2` or `Signals.PlaybackMethod.AutoPlaySoundOff` : Initiates on Page Load with Sound Off by Default
+* `3` or `Signals.PlaybackMethod.ClickToPlay` : Initiates on Click with Sound On
+* `4` or `Signals.PlaybackMethod.MouseOver` : Initiates on Mouse-Over with Sound On
+* `5` or `Signals.PlaybackMethod.EnterSoundOn` : Initiates on Entering Viewport with Sound On
+* `6` or `Signals.PlaybackMethod.EnterSoundOff`: Initiates on Entering Viewport with Sound Off by Default
+
+
+#### protocols
+
+Array or enum of [OpenRTB 2.5](https://www.iab.com/wp-content/uploads/2016/03/OpenRTB-API-Specification-Version-2-5-FINAL.pdf) supported Protocols. Values can be one of:
+
+* `1` or `Signals.Protocols.VAST_1_0` : VAST 1.0
+* `2` or `Signals.Protocols.VAST_2_0` : VAST 2.0
+* `3` or `Signals.Protocols.VAST_3_0` : VAST 3.0
+* `4` or `Signals.Protocols.VAST_1_0_Wrapper` : VAST 1.0 Wrapper
+* `5` or `Signals.Protocols.VAST_2_0_Wrapper` : VAST 2.0 Wrapper
+* `6` or `Signals.Protocols.VAST_3_0_Wrapper` : VAST 3.0 Wrapper
+* `7` or `Signals.Protocols.VAST_4_0` : VAST 4.0
+* `8` or `Signals.Protocols.VAST_4_0_Wrapper` : VAST 4.0 Wrapper
+
+
## Methods
`VideoAdUnit` inherits all methods from the [AdUnit]({{site.baseurl}}/prebid-mobile/pbm-api/android/pbm-adunit-android.html) object.
## Example
-```
+```java
private PublisherAdView amBanner;
AdUnit adUnit;
@@ -57,7 +157,23 @@ void setupAndLoadAMBannerVAST() {
private void setupPBBannerVAST() {
PrebidMobile.setPrebidServerHost(Host.RUBICON);
PrebidMobile.setPrebidServerAccountId("AccountID");
- adUnit = new VideoAdUnit("configId", 300, 250, VideoAdUnit.PlacementType.IN_BANNER);
+ adUnit = new VideoAdUnit("configId", 300, 250);
+
+ VideoInterstitialAdUnit adUnit = new VideoInterstitialAdUnit("1001-1");
+
+ VideoAdUnit.Parameters parameters = new VideoAdUnit.Parameters();
+
+ parameters.setPlacement(2); // or alternative enum value Signals.Placement.InBanner
+ parameters.setApi(Arrays.asList(1,2)); // or alternative enum values [Signals.Api.VPAID_1, Signals.Api.VPAID_2]
+ parameters.setMaxBitrate(1500);
+ parameters.setMinBitrate(300);
+ parameters.setMaxDuration(30);
+ parameters.setMinDuration(5);
+ parameters.setMimes(Arrays.asList("video/x-flv", "video/mp4"));
+ parameters.setPlaybackMethod(1); // or alternative enum value (Signals.PlaybackMethod.AutoPlaySoundOn)
+ parameters.setProtocols(Arrays.asList(2,3)); // or alternative enum values (Signals.Protocols.VAST_2_0, Signals.Protocols.VAST_3_0)
+
+ adUnit.setParameters(parameters);
}
private void setupAMBannerVAST() {
diff --git a/prebid-mobile/pbm-api/ios/pbm-video-rewarded-adunit-ios.md b/prebid-mobile/pbm-api/ios/pbm-video-rewarded-adunit-ios.md
index e2b3ded75a..d1be426cc1 100755
--- a/prebid-mobile/pbm-api/ios/pbm-video-rewarded-adunit-ios.md
+++ b/prebid-mobile/pbm-api/ios/pbm-video-rewarded-adunit-ios.md
@@ -20,6 +20,108 @@ Create a new Video Rewarded Ad Unit associated with a Prebid Server configuratio
`configId(String)`: Prebid Server configuration ID.
+
+# Paramaters
+
+Parameters is a sub class of RewardedVideoAdUnit.Create new Parameters class to define the parameters of the video ad unit. Parameters contain the OpenRTB video attributes.
+
+
+**Parameters**
+
+`placement: [int] or [enum]`: OpenRTB placement
+
+`api: [int] or [enum]`: OpenRTB api frameworks
+
+`maxBitrate: int`: OpenRTB maxBirate
+
+`minBitrate: int`: OpenRTB minBitrate
+
+`maxDuration:int`: OpenRTB maxDuration
+
+`minDuration: int`: OpenRTB minDuration
+
+`mimes: [string]`: OpenRTB mime types
+
+`playbackMethod: [int]`: OpenRTB playbackMethod
+
+`protocols: [int] or [enum]`: OpenRTB Protocols
+
+
+### placement
+
+[OpenRTB 2.5](https://www.iab.com/wp-content/uploads/2016/03/OpenRTB-API-Specification-Version-2-5-FINAL.pdf) Placement Type for the auction can be expressed as an integer array or can use an enum for easier readability. Option 1 (in-stream) is intentionally left out due to lack of in-stream support in Prebid SDK.
+
+In the context of a RewardedVideoAdUnit, rewarded video ads are typically labled as interstitial. As such, Prebid SDK will default to value 5 if no placement value is supplied.
+
+* `2` or `InBanner` : In-Banner placement exists within a web banner that leverages the banner space to deliver a video experience as opposed to another static or rich media format. The format relies on the existence of display ad inventory on the page for its delivery.
+* `3` or `InArticle` : In-Article placement loads and plays dynamically between paragraphs of editorial content; existing as a standalone branded message.
+* `4` or `InFeed` : In-Feed placement is found in content, social, or product feeds.
+* `5` or `Slider`, `Floating` or `Interstitial` : Open RTB supports one of three values for option 5 as eitehr Slider, Floating or Interstitial. If an enum value is supplied in placement, bidders will recieve value 5 for placement type and assume to be interstitial with the instl flag set to 1.
+
+
+### api
+
+Array of integers or enum representing the supported [OpenRTB 2.5](https://www.iab.com/wp-content/uploads/2016/03/OpenRTB-API-Specification-Version-2-5-FINAL.pdf) Frameworks:
+
+* `1` or `Signals.Api.VPAID_1` : VPAID 1.0
+* `2` or `Signals.Api.VPAID_2` : VPAID 2.0
+* `3` or `Signals.Api.MRAID_1` : MRAID-1
+* `4` or `Signals.Api.ORMMA` : ORMMA
+* `5` or `Signals.Api.MARAID_2` : MRAID-2
+* `6` or `Signals.Api.MARAID_3` : MRAID-3
+
+
+### maxBitrate
+
+Integer representing the [OpenRTB 2.5](https://www.iab.com/wp-content/uploads/2016/03/OpenRTB-API-Specification-Version-2-5-FINAL.pdf) maximum bit rate in Kbps.
+
+
+### minBitrate
+
+Integer representing the [OpenRTB 2.5](https://www.iab.com/wp-content/uploads/2016/03/OpenRTB-API-Specification-Version-2-5-FINAL.pdf) minimum bit rate in Kbps.
+
+
+### maxDuration
+
+Integer representing the [OpenRTB 2.5](https://www.iab.com/wp-content/uploads/2016/03/OpenRTB-API-Specification-Version-2-5-FINAL.pdf) maximum video ad duration in seconds.
+
+
+### minDuration
+
+Integer representing the [OpenRTB 2.5](https://www.iab.com/wp-content/uploads/2016/03/OpenRTB-API-Specification-Version-2-5-FINAL.pdf) minimum video ad duration in seconds.
+
+
+### mimes
+
+Array of string representing the supported [OpenRTB 2.5](https://www.iab.com/wp-content/uploads/2016/03/OpenRTB-API-Specification-Version-2-5-FINAL.pdf) content MIME types (e.g., “video/x-ms-wmv”, “video/mp4”).
+
+
+### playbackMethod
+
+Array of [OpenRTB 2.5](https://www.iab.com/wp-content/uploads/2016/03/OpenRTB-API-Specification-Version-2-5-FINAL.pdf) playback methods. If none are specified, any method may be used. Only one method is typically used in practice. It is strongly advised to use only the first element of the array.
+
+* `1` or `Signals.PlaybackMethod.AutoPlaySoundOn` : Initiates on Page Load with Sound On
+* `2` or `Signals.PlaybackMethod.AutoPlaySoundOff` : Initiates on Page Load with Sound Off by Default
+* `3` or `Signals.PlaybackMethod.ClickToPlay` : Initiates on Click with Sound On
+* `4` or `Signals.PlaybackMethod.MouseOver` : Initiates on Mouse-Over with Sound On
+* `5` or `Signals.PlaybackMethod.EnterSoundOn` : Initiates on Entering Viewport with Sound On
+* `6` or `Signals.PlaybackMethod.EnterSoundOff`: Initiates on Entering Viewport with Sound Off by Default
+
+
+### protocols
+
+Array or enum of [OpenRTB 2.5](https://www.iab.com/wp-content/uploads/2016/03/OpenRTB-API-Specification-Version-2-5-FINAL.pdf) supported Protocols. Values can be one of:
+
+* `1` or `Signals.Protocols.VAST_1_0` : VAST 1.0
+* `2` or `Signals.Protocols.VAST_2_0` : VAST 2.0
+* `3` or `Signals.Protocols.VAST_3_0` : VAST 3.0
+* `4` or `Signals.Protocols.VAST_1_0_Wrapper` : VAST 1.0 Wrapper
+* `5` or `Signals.Protocols.VAST_2_0_Wrapper` : VAST 2.0 Wrapper
+* `6` or `Signals.Protocols.VAST_3_0_Wrapper` : VAST 3.0 Wrapper
+* `7` or `Signals.Protocols.VAST_4_0` : VAST 4.0
+* `8` or `Signals.Protocols.VAST_4_0_Wrapper` : VAST 4.0 Wrapper
+
+
See [AdUnit]({{site.baseurl}}/prebid-mobile/pbm-api/ios/pbm-adunit-ios.html) for additional parameters and methods.
---
@@ -31,9 +133,22 @@ See [AdUnit]({{site.baseurl}}/prebid-mobile/pbm-api/ios/pbm-adunit-ios.html) for
Import the GoogleMobileAds from [google-mobile-sdk](https://developers.google.com/admob/ios/download).
**Swift**
-```
+```swift
//setup PB RewardedVideo
let adUnit = RewardedVideoAdUnit(configId: "1001-1")
+
+//video parameters
+parameters.mimes = ["video/mp4"]
+parameters.protocols = [2,3,7] // or alternative enum values [Protocols.VAST_2_0, Protocols.VAST_3_0]
+parameters.playbackMethod = [1] // or alternative enum value [PlaybackMethod.AutoPlaySoundOn]
+parameters.api = [1,2] // or alternative enum values [Api.VPAID_1, Api.VPAID_2]
+parameters.maxBitrate = 1500
+parameters.minBitrate = 300
+parameters.maxDuration = 30
+parameters.minDuration = 5
+
+adUnit.parameters = parameters
+
//setup AM RewardedVideo
let amRewardedAd = GADRewardedAd(adUnitID: "adUnitId")
//load AM RewardedVideo
@@ -56,7 +171,7 @@ let adUnit.fetchDemand(adObject: amRequest) { (resultCode: ResultCode) in
Import the Mopub SDK from [Mopub](https://developers.mopub.com/publishers/ios/integrate/).
**Swift**
-```
+```swift
//setup PB RewardedVideo
let adUnit = RewardedVideoAdUnit(configId: "1001-1")
//setup MP RewardedVideo
diff --git a/prebid-mobile/pbm-api/ios/pbm-videointerstitialadunit-ios.md b/prebid-mobile/pbm-api/ios/pbm-videointerstitialadunit-ios.md
index 29bec1a7aa..385bac77d3 100755
--- a/prebid-mobile/pbm-api/ios/pbm-videointerstitialadunit-ios.md
+++ b/prebid-mobile/pbm-api/ios/pbm-videointerstitialadunit-ios.md
@@ -19,6 +19,110 @@ Video Insterstital is only supported with Google Ad Manager.
`configId(String)`: Prebid Server configuration ID.
+
+# Paramaters
+
+Parameters is a sub class of VideoInterstitialAdUnit.Create new Parameters class to define the parameters of the video ad unit. Parameters contain the OpenRTB video attributes.
+
+
+**Parameters**
+
+`placement: [int] or [enum]`: OpenRTB placement
+
+`api: [int] or [enum]`: OpenRTB api frameworks
+
+`maxBitrate: int`: OpenRTB maxBirate
+
+`minBitrate: int`: OpenRTB minBitrate
+
+`maxDuration:int`: OpenRTB maxDuration
+
+`minDuration: int`: OpenRTB minDuration
+
+`mimes: [string]`: OpenRTB mime types
+
+`playbackMethod: [int]`: OpenRTB playbackMethod
+
+`protocols: [int] or [enum]`: OpenRTB Protocols
+
+
+### placement
+
+[OpenRTB 2.5](https://www.iab.com/wp-content/uploads/2016/03/OpenRTB-API-Specification-Version-2-5-FINAL.pdf) Placement Type for the auction can be expressed as an integer array or can use an enum for easier readability. Option 1 (in-stream) is intentionally left out due to lack of in-stream support in Prebid SDK.
+
+In the context of a VideoInterstitialAdUnit, rewarded video ads are typically labled as interstitial. As such, Prebid SDK will default to value 5 if no placement value is supplied.
+
+* `2` or `InBanner` : In-Banner placement exists within a web banner that leverages the banner space to deliver a video experience as opposed to another static or rich media format. The format relies on the existence of display ad inventory on the page for its delivery.
+* `3` or `InArticle` : In-Article placement loads and plays dynamically between paragraphs of editorial content; existing as a standalone branded message.
+* `4` or `InFeed` : In-Feed placement is found in content, social, or product feeds.
+* `5` or `Slider`, `Floating` or `Interstitial` : Open RTB supports one of three values for option 5 as eitehr Slider, Floating or Interstitial. If an enum value is supplied in placement, bidders will recieve value 5 for placement type and assume to be interstitial with the instl flag set to 1.
+
+
+### api
+
+Array of integers or enum representing the supported [OpenRTB 2.5](https://www.iab.com/wp-content/uploads/2016/03/OpenRTB-API-Specification-Version-2-5-FINAL.pdf) Frameworks:
+
+* `1` or `Signals.Api.VPAID_1` : VPAID 1.0
+* `2` or `Signals.Api.VPAID_2` : VPAID 2.0
+* `3` or `Signals.Api.MRAID_1` : MRAID-1
+* `4` or `Signals.Api.ORMMA` : ORMMA
+* `5` or `Signals.Api.MARAID_2` : MRAID-2
+* `6` or `Signals.Api.MARAID_3` : MRAID-3
+
+
+### maxBitrate
+
+Integer representing the [OpenRTB 2.5](https://www.iab.com/wp-content/uploads/2016/03/OpenRTB-API-Specification-Version-2-5-FINAL.pdf) maximum bit rate in Kbps.
+
+
+### minBitrate
+
+Integer representing the [OpenRTB 2.5](https://www.iab.com/wp-content/uploads/2016/03/OpenRTB-API-Specification-Version-2-5-FINAL.pdf) minimum bit rate in Kbps.
+
+
+### maxDuration
+
+Integer representing the [OpenRTB 2.5](https://www.iab.com/wp-content/uploads/2016/03/OpenRTB-API-Specification-Version-2-5-FINAL.pdf) maximum video ad duration in seconds.
+
+
+### minDuration
+
+Integer representing the [OpenRTB 2.5](https://www.iab.com/wp-content/uploads/2016/03/OpenRTB-API-Specification-Version-2-5-FINAL.pdf) minimum video ad duration in seconds.
+
+
+### mimes
+
+Array of string representing the supported [OpenRTB 2.5](https://www.iab.com/wp-content/uploads/2016/03/OpenRTB-API-Specification-Version-2-5-FINAL.pdf) content MIME types (e.g., “video/x-ms-wmv”, “video/mp4”).
+
+
+### playbackMethod
+
+Array of [OpenRTB 2.5](https://www.iab.com/wp-content/uploads/2016/03/OpenRTB-API-Specification-Version-2-5-FINAL.pdf) playback methods. If none are specified, any method may be used. Only one method is typically used in practice. It is strongly advised to use only the first element of the array.
+
+* `1` or `Signals.PlaybackMethod.AutoPlaySoundOn` : Initiates on Page Load with Sound On
+* `2` or `Signals.PlaybackMethod.AutoPlaySoundOff` : Initiates on Page Load with Sound Off by Default
+* `3` or `Signals.PlaybackMethod.ClickToPlay` : Initiates on Click with Sound On
+* `4` or `Signals.PlaybackMethod.MouseOver` : Initiates on Mouse-Over with Sound On
+* `5` or `Signals.PlaybackMethod.EnterSoundOn` : Initiates on Entering Viewport with Sound On
+* `6` or `Signals.PlaybackMethod.EnterSoundOff`: Initiates on Entering Viewport with Sound Off by Default
+
+
+### protocols
+
+Array or enum of [OpenRTB 2.5](https://www.iab.com/wp-content/uploads/2016/03/OpenRTB-API-Specification-Version-2-5-FINAL.pdf) supported Protocols. Values can be one of:
+
+* `1` or `Signals.Protocols.VAST_1_0` : VAST 1.0
+* `2` or `Signals.Protocols.VAST_2_0` : VAST 2.0
+* `3` or `Signals.Protocols.VAST_3_0` : VAST 3.0
+* `4` or `Signals.Protocols.VAST_1_0_Wrapper` : VAST 1.0 Wrapper
+* `5` or `Signals.Protocols.VAST_2_0_Wrapper` : VAST 2.0 Wrapper
+* `6` or `Signals.Protocols.VAST_3_0_Wrapper` : VAST 3.0 Wrapper
+* `7` or `Signals.Protocols.VAST_4_0` : VAST 4.0
+* `8` or `Signals.Protocols.VAST_4_0_Wrapper` : VAST 4.0 Wrapper
+
+
+
+
See [AdUnit]({{site.baseurl}}/prebid-mobile/pbm-api/ios/pbm-adunit-ios.html) for additional parameters and methods.
---
@@ -46,6 +150,22 @@ Import the GoogleMobileAds from [google-mobile-sdk](https://developers.google.co
Prebid.shared.prebidServerHost = .Rubicon
Prebid.shared.prebidServerAccountId = "accountId"
adUnit = VideoInterstitialAdUnit(configId: "configId")
+
+
+ //video parameters
+ parameters.mimes = ["video/mp4"]
+ parameters.protocols = [2,3,7] // or alternative enum values [Protocols.VAST_2_0, Protocols.VAST_3_0]
+ parameters.playbackMethod = [1] // or alternative enum value [PlaybackMethod.AutoPlaySoundOn]
+ parameters.api = [1,2] // or alternative enum values [Api.VPAID_1, Api.VPAID_2]
+ parameters.maxBitrate = 1500
+ parameters.minBitrate = 300
+ parameters.maxDuration = 30
+ parameters.minDuration = 5
+
+ adUnit.parameters = parameters
+
+ self.adUnit = adUnit
+
}
func setupAMInterstitialVAST() {
diff --git a/prebid-mobile/pbm-api/ios/pbm-videooutstreamadunit-ios.md b/prebid-mobile/pbm-api/ios/pbm-videooutstreamadunit-ios.md
index 981afc7b00..d33a6bd6fd 100755
--- a/prebid-mobile/pbm-api/ios/pbm-videooutstreamadunit-ios.md
+++ b/prebid-mobile/pbm-api/ios/pbm-videooutstreamadunit-ios.md
@@ -18,9 +18,8 @@ Video Outstream is only supported with Google Ad Manager.
- TOC
{:toc}
-## Object
-### VideoAdUnit
+
Create a new Video Outstream Ad Unit associated with a Prebid Server configuration ID and a video size.
@@ -35,10 +34,13 @@ See [AdUnit]({{site.baseurl}}/prebid-mobile/pbm-api/ios/pbm-adunit-ios.html) for
`size(CGSize)`: Width and height of the video ad unit.
-`type:Enum`: OpenRTB Placement Type.
+`type:Enum`: OpenRTB Placement Type. This field is being deprecated in favor of parameters.type
+
+
+
-#### CGSize
+## CGSize
Size of video ad unit.
@@ -49,13 +51,117 @@ Size of video ad unit.
`height`: Height of video ad unit in DIPs.
-#### type
+## type
+
+{% capture deprecate %}
+VideoAdUnit type will be deprecated in future releases. Use parameters.placement below for future usage of type.
+{% endcapture %}
+{% include /alerts/alert_important.html content=deprecate %}
OpenRTB Placement Type represented as an enumeration of values:
-* `inBanner` is transformed into OpenRTB value 2 to bid adapters
-* `inArticle` is transformed into OpenRTB value 3 to bid adapters
-* `inFeed` is transformed into OpenRTB value 4 to bid adapters
+* inBanner is transformed into OpenRTB value 2 to bid adapters
+* inArticle is transformed into OpenRTB value 3 to bid adapters
+* inFeed is transformed into OpenRTB value 4 to bid adapters
+
+
+## Paramaters
+
+Parameters is a sub class of videoAdUnit.Create new Parameters class to define the parameters of the video ad unit. Parameters contain the OpenRTB video attributes.
+
+
+**Parameters**
+
+`placement: [int] or [enum]`: OpenRTB placement
+
+`api: [int] or [enum]`: OpenRTB api frameworks
+
+`maxBitrate: int`: OpenRTB maxBirate
+
+`minBitrate: int`: OpenRTB minBitrate
+
+`maxDuration:int`: OpenRTB maxDuration
+
+`minDuration: int`: OpenRTB minDuration
+
+`mimes: [string]`: OpenRTB mime types
+
+`playbackMethod: [int]`: OpenRTB playbackMethod
+
+`protocols: [int] or [enum]`: OpenRTB Protocols
+
+
+#### placement
+
+[OpenRTB 2.5](https://www.iab.com/wp-content/uploads/2016/03/OpenRTB-API-Specification-Version-2-5-FINAL.pdf) Placement Type for the auction can be expressed as an integer array or can use an enum for easier readability. Option 1 (in-stream) is intentionally left out due to lack of in-stream support in Prebid SDK.
+
+* `2` or `InBanner` : In-Banner placement exists within a web banner that leverages the banner space to deliver a video experience as opposed to another static or rich media format. The format relies on the existence of display ad inventory on the page for its delivery.
+* `3` or `InArticle` : In-Article placement loads and plays dynamically between paragraphs of editorial content; existing as a standalone branded message.
+* `4` or `InFeed` : In-Feed placement is found in content, social, or product feeds.
+* `5` or `Slider` or `Floating` : While OpenRTB uses "5" to also designate interstitial as a placement type, interstitial is not used in the standard outsream format. For Interstital, use the videointerstital or RewardedVideoAdUnit ad unit
+
+
+#### api
+
+Array of integers or enum representing the supported [OpenRTB 2.5](https://www.iab.com/wp-content/uploads/2016/03/OpenRTB-API-Specification-Version-2-5-FINAL.pdf) Frameworks:
+
+* `1` or `Signals.Api.VPAID_1` : VPAID 1.0
+* `2` or `Signals.Api.VPAID_2` : VPAID 2.0
+* `3` or `Signals.Api.MRAID_1` : MRAID-1
+* `4` or `Signals.Api.ORMMA` : ORMMA
+* `5` or `Signals.Api.MARAID_2` : MRAID-2
+* `6` or `Signals.Api.MARAID_3` : MRAID-3
+
+
+#### maxBitrate
+
+Integer representing the [OpenRTB 2.5](https://www.iab.com/wp-content/uploads/2016/03/OpenRTB-API-Specification-Version-2-5-FINAL.pdf) maximum bit rate in Kbps.
+
+
+#### minBitrate
+
+Integer representing the [OpenRTB 2.5](https://www.iab.com/wp-content/uploads/2016/03/OpenRTB-API-Specification-Version-2-5-FINAL.pdf) minimum bit rate in Kbps.
+
+
+#### maxDuration
+
+Integer representing the [OpenRTB 2.5](https://www.iab.com/wp-content/uploads/2016/03/OpenRTB-API-Specification-Version-2-5-FINAL.pdf) maximum video ad duration in seconds.
+
+
+#### minDuration
+
+Integer representing the [OpenRTB 2.5](https://www.iab.com/wp-content/uploads/2016/03/OpenRTB-API-Specification-Version-2-5-FINAL.pdf) minimum video ad duration in seconds.
+
+
+#### mimes
+
+Array of string representing the supported [OpenRTB 2.5](https://www.iab.com/wp-content/uploads/2016/03/OpenRTB-API-Specification-Version-2-5-FINAL.pdf) content MIME types (e.g., “video/x-ms-wmv”, “video/mp4”).
+
+
+#### playbackMethod
+
+Array of [OpenRTB 2.5](https://www.iab.com/wp-content/uploads/2016/03/OpenRTB-API-Specification-Version-2-5-FINAL.pdf) playback methods. If none are specified, any method may be used. Only one method is typically used in practice. It is strongly advised to use only the first element of the array.
+
+* `1` or `Signals.PlaybackMethod.AutoPlaySoundOn` : Initiates on Page Load with Sound On
+* `2` or `Signals.PlaybackMethod.AutoPlaySoundOff` : Initiates on Page Load with Sound Off by Default
+* `3` or `Signals.PlaybackMethod.ClickToPlay` : Initiates on Click with Sound On
+* `4` or `Signals.PlaybackMethod.MouseOver` : Initiates on Mouse-Over with Sound On
+* `5` or `Signals.PlaybackMethod.EnterSoundOn` : Initiates on Entering Viewport with Sound On
+* `6` or `Signals.PlaybackMethod.EnterSoundOff`: Initiates on Entering Viewport with Sound Off by Default
+
+
+#### protocols
+
+Array or enum of [OpenRTB 2.5](https://www.iab.com/wp-content/uploads/2016/03/OpenRTB-API-Specification-Version-2-5-FINAL.pdf) supported Protocols. Values can be one of:
+
+* `1` or `Signals.Protocols.VAST_1_0` : VAST 1.0
+* `2` or `Signals.Protocols.VAST_2_0` : VAST 2.0
+* `3` or `Signals.Protocols.VAST_3_0` : VAST 3.0
+* `4` or `Signals.Protocols.VAST_1_0_Wrapper` : VAST 1.0 Wrapper
+* `5` or `Signals.Protocols.VAST_2_0_Wrapper` : VAST 2.0 Wrapper
+* `6` or `Signals.Protocols.VAST_3_0_Wrapper` : VAST 3.0 Wrapper
+* `7` or `Signals.Protocols.VAST_4_0` : VAST 4.0
+* `8` or `Signals.Protocols.VAST_4_0_Wrapper` : VAST 4.0 Wrapper
@@ -73,7 +179,7 @@ See [AdUnit]({{site.baseurl}}/prebid-mobile/pbm-api/ios/pbm-adunit-ios.html) for
Import the GoogleMobileAds from [google-mobile-sdk](https://developers.google.com/admob/ios/download) into the UIViewController displaying the VideoAdUnit.
**Swift**
-```
+```swift
var amBanner: DFPBannerView!
var adUnit: AdUnit!
@@ -91,11 +197,24 @@ Import the GoogleMobileAds from [google-mobile-sdk](https://developers.google.co
Prebid.shared.prebidServerHost = .Rubicon
Prebid.shared.prebidServerAccountId = "accountId"
- adUnit = VideoAdUnit(configId: "configId", size: CGSize(width: 300, height: 250), type: .inBanner)
+ adUnit = VideoAdUnit(configId: "configId", size: CGSize(width: 300, height: 250))
+
+ let parameters = VideoBaseAdUnit.Parameters()
+ parameters.mimes = ["video/mp4"]
+ parameters.protocols = [2,3,7] // or alternative enum values [Protocols.VAST_2_0, Protocols.VAST_3_0]
+ parameters.playbackMethod = [1] // or alternative enum value [PlaybackMethod.AutoPlaySoundOn]
+ parameters.api = [1,2] // or alternative enum values [Api.VPAID_1, Api.VPAID_2]
+ parameters.maxBitrate = 1500
+ parameters.minBitrate = 300
+ parameters.maxDuration = 30
+ parameters.minDuration = 5
+ parameters.placement = 2 // or alternative enum value Signals.Placement.InBanner
+
+ adUnit.parameters = parameters
}
func setupAMBannerVAST() {
- setupAMBanner(id: "/5300653/test_adunit_vast_pavliuchyk")
+ setupAMBanner(id: "/networkID/adUnit")
}
func setupAMBanner(id: String) {
From 30fbb0b0776cb30a094ff570a5baa47a0f1d172e Mon Sep 17 00:00:00 2001
From: bretg
Date: Thu, 14 May 2020 11:20:53 -0400
Subject: [PATCH 020/101] adding buyer tier (#1984)
---
partners/partners.md | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/partners/partners.md b/partners/partners.md
index 30108efca5..34e9fce27c 100644
--- a/partners/partners.md
+++ b/partners/partners.md
@@ -44,7 +44,8 @@ Companies join Prebid.org because they want to take an active role in supporting
|---------------------|-----------------------------------------------------------------------|-------------------|------------------------|----------------------------------|--------------------------|----------------------------|-------------|
| Leader Members | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | $40,000 |
| Technology Partners | As a Group, Technology members elect a representative to the board | ✓ | ✓ | ✓ | ✓ | ✓ | $25,000 |
-| Publishers | As a Group, Publisher members elect a representative to the board | ✓ | ✓ | ✓ | ✓ | ✓ | $5,000 |
+| Publishers | As a Group, Publisher members elect a representative to the board | ✓ | ✓ | ✓ | ✓ | ✓ | $5,000 |
+| Buyers | As a Group, Buyer members elect a representative to the board | ✓ | ✓ | ✓ | ✓ | ✓ | $5,000 |
| Community | ✖ | ✓ | ✓ | ✓ | ✖ | ✖ | Free |
Have questions about becoming a member, email us at [membership@prebid.org](mailto:membership@prebid.org).
From e07564e113521e91241a9f392455198c894b64c7 Mon Sep 17 00:00:00 2001
From: Gena
Date: Mon, 18 May 2020 19:28:07 +0300
Subject: [PATCH 021/101] Add selectmedia to bidders list & downloads page
(#1959)
---
dev-docs/bidders/selectmedia.md | 69 +++++++++++++++++++++++++++++++++
1 file changed, 69 insertions(+)
create mode 100644 dev-docs/bidders/selectmedia.md
diff --git a/dev-docs/bidders/selectmedia.md b/dev-docs/bidders/selectmedia.md
new file mode 100644
index 0000000000..573e11f194
--- /dev/null
+++ b/dev-docs/bidders/selectmedia.md
@@ -0,0 +1,69 @@
+---
+layout: bidder
+title: Select Media
+description: Prebid Select Media Bidder Adapter
+hide: true
+biddercode: selectmedia
+aliasCode: adtelligent
+media_types: banner, video
+---
+
+### Bid params
+
+{: .table .table-bordered .table-striped }
+| Name | Scope | Description | Example | Type |
+|-------|----------|---------------------------------|----------|-----------|
+| `aid` | required | The traffic source ID | `232131` | `integer` |
+
+
+### Test Parameters
+```
+ var adUnits = [
+
+ // Video instream adUnit
+ {
+ code: 'div-test-div',
+ sizes: [[640, 480]],
+ mediaTypes: {
+ video: {
+ context: 'instream'
+ }
+ },
+ bids: [{
+ bidder: 'selectmedia',
+ params: {
+ aid: 331133
+ }
+ }]
+ },
+
+ // Video outstream adUnit
+ {
+ code: 'outstream-test-div',
+ sizes: [[640, 480]],
+ mediaTypes: {
+ video: {
+ context: 'outstream'
+ }
+ },
+ bids: [{
+ bidder: 'selectmedia',
+ params: {
+ aid: 331133
+ }
+ }]
+ },
+
+ // Banner adUnit
+ {
+ code: 'div-test-div',
+ sizes: [[300, 250]],
+ bids: [{
+ bidder: 'selectmedia',
+ params: {
+ aid: 350975
+ }
+ }]
+ }
+ ];
+```
From bdfbbed93c8b88941af94898165eeb17c66fada8 Mon Sep 17 00:00:00 2001
From: Filip Stamenkovic
Date: Mon, 18 May 2020 18:36:06 +0200
Subject: [PATCH 022/101] fix some small typos for pbAdSlot exampe (#1983)
---
features/pbAdSlot.md | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/features/pbAdSlot.md b/features/pbAdSlot.md
index b07d3ec9d0..8f891ee77f 100644
--- a/features/pbAdSlot.md
+++ b/features/pbAdSlot.md
@@ -51,14 +51,14 @@ var setPbAdSlot = function setPbAdSlot(adunits) {
// check if AdUnit.code has a div with a matching id value
const adUnitCodeDiv = document.getElementById(adUnit.code);
- if (!adUnitCodeDiv) {
+ if (adUnitCodeDiv) {
// try to retrieve a data element from the div called data-adslotid.
if (adUnitCodeDiv.dataset.adslotid) {
adUnit.fpd.context.pbAdSlot = adUnitCodeDiv.dataset.adslotid;
return;
}
// Else if AdUnit.code matched a div and it's a banner mediaType and googletag is present
- if (adUnit.mediaType && typeof adUnit.mediaType === 'object' && adUnit.mediaType.banner && adUnit.mediaTypes.banner.sizes && window.googletag && googletag.apiReady) {
+ if (adUnit.mediaTypes && typeof adUnit.mediaTypes === 'object' && adUnit.mediaTypes.banner && adUnit.mediaTypes.banner.sizes && window.googletag && googletag.apiReady) {
var gptSlots = googletag.pubads().getSlots();
// look up the GPT slot name from the div.
var linkedSlot = gptSlots.find(function (gptSlot) {
@@ -72,7 +72,7 @@ var setPbAdSlot = function setPbAdSlot(adunits) {
}
// Else, just use the AdUnit.code, assuming that it's an ad unit slot
adUnit.fpd.context.pbAdSlot = adUnit.code;
- };
+ });
};
pbjs.onEvent('beforeRequestBids', setPbAdSlot);
From 088a30e47c1afaf373ab6451e51afe02e7517818 Mon Sep 17 00:00:00 2001
From: MartianTribe
Date: Tue, 19 May 2020 11:41:31 -0400
Subject: [PATCH 023/101] Pb usersync edits (#1991)
* Refactored side nav for PBS
* Made small edits to AMP page.
* Added link for Appnexus managed service for AMP
Co-authored-by: Steve
Co-authored-by: Steve Suranie
---
_data/sidebar.yml | 270 +++++++++++++++++++----
dev-docs/bidders/appnexus.md | 7 +
dev-docs/show-prebid-ads-on-amp-pages.md | 16 +-
3 files changed, 238 insertions(+), 55 deletions(-)
diff --git a/_data/sidebar.yml b/_data/sidebar.yml
index 46ef1e034c..3c88b179c5 100644
--- a/_data/sidebar.yml
+++ b/_data/sidebar.yml
@@ -486,7 +486,7 @@
isSectionHeader: 0
sectionTitle:
subgroup: 5
-
+
- sbSecId: 1
title: Google Ad Manager Video
link: /dev-docs/modules/dfp_video.html
@@ -1616,183 +1616,357 @@
subgroup: 0
- sbSecId: 5
- title: Overview
- link: /prebid-server/prebid-server-overview.html
+ title: What is Prebid Server
+ link: /prebid-server/overview/prebid-server-overview.html
isHeader: 0
isSectionHeader: 0
sectionTitle:
subgroup: 0
- sbSecId: 5
- title: Developers
+ title: Hosted vs. Self-Hosted Solutions
+ link: /prebid-server/overview/hosting-options.html
+ isHeader: 0
+ isSectionHeader: 0
+ sectionTitle:
+ subgroup: 0
+
+- sbSecId: 5
+ title: Go or Java
+ link: /prebid-server/overview/go-or-java.html
+ isHeader: 0
+ isSectionHeader: 0
+ sectionTitle:
+ subgroup: 0
+
+- sbSecId: 5
+ title: "Use Cases"
link:
- isHeader: 1
- headerId: serverdevelopers
+ isHeader: 0
isSectionHeader: 0
+ isCatHeader: 1
sectionTitle:
- subgroup: 1
+ subgroup: 0
- sbSecId: 5
- title: Add A New Analytics Module
- link: /prebid-server/developers/add-new-analytics-module.html
+ title: ' Prebid.js'
+ link: /prebid-server/overview/use-cases/prebid.html
isHeader: 0
isSectionHeader: 0
sectionTitle:
- subgroup: 1
+ subgroup: 0
+
+- sbSecId: 5
+ title: ' Mobile'
+ link: /prebid-server/overview/use-cases/mobile.html
+ isHeader: 0
+ isSectionHeader: 0
+ sectionTitle:
+ subgroup: 0
+
+- sbSecId: 5
+ title: ' AMP'
+ link: /prebid-server/overview/use-cases/amp.html
+ isHeader: 0
+ isSectionHeader: 0
+ sectionTitle:
+ subgroup: 0
+
+- sbSecId: 5
+ title: ' Video'
+ link: /prebid-server/overview/use-cases/video.html
+ isHeader: 0
+ isSectionHeader: 0
+ sectionTitle:
+ subgroup: 0
+
+- sbSecId: 5
+ title: Features
+ link:
+ isHeader: 1
+ headerId: serveroverview
+ isSectionHeader: 0
+ sectionTitle:
+ subgroup: 0
- sbSecId: 5
- title: Add A Bidder
- link: /prebid-server/developers/add-new-bidder.html
+ title: Targeting and Price Granularity
+ link: /prebid-server/overview/targeting.html
isHeader: 0
isSectionHeader: 0
sectionTitle:
subgroup: 1
- sbSecId: 5
- title: Prebid Server Bidders - Additional Info
- link: /prebid-server/developers/pbs-bidder-info.html
+ title: Bid and VAST XML Caching
+ link: /prebid-server/overview/caching.html
isHeader: 0
isSectionHeader: 0
sectionTitle:
subgroup: 1
- sbSecId: 5
- title: Cookie Sync Technical Details
- link: /prebid-server/developers/cookie-syncs.html
+ title: Currency Conversion
+ link: /prebid-server/overview/currency.html
isHeader: 0
isSectionHeader: 0
sectionTitle:
subgroup: 1
- sbSecId: 5
- title: COPPA Compliance
- link: /prebid-server/developers/coppa.html
+ title: Stored Requests
+ link: /prebid-server/overview/stored-requests.html
isHeader: 0
isSectionHeader: 0
sectionTitle:
subgroup: 1
- sbSecId: 5
- title: Currency Converter
- link: /prebid-server/developers/currency-converter.html
+ title: Interstitials
+ link: /prebid-server/overview/interstitials.html
isHeader: 0
isSectionHeader: 0
sectionTitle:
subgroup: 1
- sbSecId: 5
- title: Default Request
- link: /prebid-server/developers/default-request.html
+ title: Events
+ link: /prebid-server/overview/events.html
isHeader: 0
isSectionHeader: 0
sectionTitle:
subgroup: 1
- sbSecId: 5
- title: GDPR Mechanics
- link: /prebid-server/developers/gdpr.html
+ title: Analytics
+ link: /prebid-server/overview/analytics.html
isHeader: 0
isSectionHeader: 0
sectionTitle:
subgroup: 1
- sbSecId: 5
- title: Stored Requests
- link: /prebid-server/developers/stored-requests.html
+ title: Privacy
+ link: /prebid-server/overview/privacy.html
isHeader: 0
isSectionHeader: 0
sectionTitle:
subgroup: 1
- sbSecId: 5
- title: Endpoints
+ title: Bid Adapters
link:
isHeader: 1
- headerId: endpoints
+ headerId: bidadapters
isSectionHeader: 0
sectionTitle:
subgroup: 2
- sbSecId: 5
- title: Info - Bidders
- link: /prebid-server/endpoints/info/bidders.html
+ title: List of Bid Adapters
+ link: /prebid-server/bid-adapters/list.html
isHeader: 0
isSectionHeader: 0
sectionTitle:
subgroup: 2
- sbSecId: 5
- title: Info - Bidder Name
+ title: Hosting Instructions
+ link:
+ isHeader: 1
+ headerId: serverhosting
+ isSectionHeader: 0
+ sectionTitle:
+ subgroup: 3
+
+- sbSecId: 5
+ title: Go Integration
+ link: /prebid-server/hosting/go.html
+ isHeader: 0
+ isSectionHeader: 0
+ sectionTitle:
+ subgroup: 3
+
+- sbSecId: 5
+ title: Java Integration
+ link: /prebid-server/hosting/java.html
+ isHeader: 0
+ isSectionHeader: 0
+ sectionTitle:
+ subgroup: 3
+
+- sbSecId: 5
+ title: Enabling Bidder Adapters
+ link: /prebid-server/hosting/enable-bid-adapter.html
+ isHeader: 0
+ isSectionHeader: 0
+ sectionTitle:
+ subgroup: 3
+
+- sbSecId: 5
+ title: Registering Bidder Adapters
+ link: /prebid-server/hosting/register-bid-adapter.html
+ isHeader: 0
+ isSectionHeader: 0
+ sectionTitle:
+ subgroup: 3
+
+- sbSecId: 5
+ title: Setting Up Metrics
+ link: /prebid-server/hosting/setup-metrics.html
+ isHeader: 0
+ isSectionHeader: 0
+ sectionTitle:
+ subgroup: 3
+
+- sbSecId: 5
+ title: Developers
+ link:
+ isHeader: 1
+ headerId: serverdevelopers
+ isSectionHeader: 0
+ sectionTitle:
+ subgroup: 4
+
+- sbSecId: 5
+ title: Building a Server Side Adapter
+ link: /prebid-server/developers/build-server-adapter.html
+ isHeader: 0
+ isSectionHeader: 0
+ sectionTitle:
+ subgroup: 4
+
+- sbSecId: 5
+ title: Cookie Sync
+ link: /prebid-server/developers/cookie-sync.html
+ isHeader: 0
+ isSectionHeader: 0
+ sectionTitle:
+ subgroup: 4
+
+- sbSecId: 5
+ title: Building an Analytics Adapter
+ link: /prebid-server/developers/build-analytics-adapter.html
+ isHeader: 0
+ isSectionHeader: 0
+ sectionTitle:
+ subgroup: 4
+
+- sbSecId: 5
+ title: Debugging Stored Requests
+ link: /prebid-server/developers/debug-stored-requests.html
+ isHeader: 0
+ isSectionHeader: 0
+ sectionTitle:
+ subgroup: 4
+
+- sbSecId: 5
+ title: Debugging Stored Requests
+ link: /prebid-server/developers/debug-stored-requests.html
+ isHeader: 0
+ isSectionHeader: 0
+ sectionTitle:
+ subgroup: 4
+
+- sbSecId: 5
+ title: References
+ link:
+ isHeader: 1
+ headerId: serverdevelopers
+ isSectionHeader: 0
+ sectionTitle:
+ subgroup: 5
+
+- sbSecId: 5
+ title: "Endpoints"
+ link:
+ isHeader: 0
+ isSectionHeader: 0
+ isCatHeader: 1
+ sectionTitle:
+ subgroup: 5
+
+- sbSecId: 5
+ title: ' Info - Bidders'
+ link: /prebid-server/endpoints/info/bidders.html
+ isHeader: 0
+ isSectionHeader: 0
+ sectionTitle:
+ subgroup: 5
+
+- sbSecId: 5
+ title: ' Info - Bidder Name'
link: /prebid-server/endpoints/info/bidders/bidderName.html
isHeader: 0
isSectionHeader: 0
sectionTitle:
- subgroup: 2
+ subgroup: 5
- sbSecId: 5
- title: Bidders - Params
+ title: ' Bidders - Params'
link: /prebid-server/endpoints/bidders/params.html
isHeader: 0
isSectionHeader: 0
sectionTitle:
- subgroup: 2
+ subgroup: 5
- sbSecId: 5
- title: Starting Cookie Sync
+ title: ' Starting Cookie Sync'
link: /prebid-server/endpoints/cookieSync.html
isHeader: 0
isSectionHeader: 0
sectionTitle:
- subgroup: 2
+ subgroup: 5
- sbSecId: 5
- title: Prebid Server Auction
+ title: ' Prebid Server Auction'
link: /prebid-server/endpoints/openrtb2/auction.html
isHeader: 0
isSectionHeader: 0
sectionTitle:
- subgroup: 2
+ subgroup: 5
- sbSecId: 5
- title: Prebid Server AMP
+ title: ' Prebid Server AMP'
link: /prebid-server/endpoints/openrtb2/amp.html
isHeader: 0
isSectionHeader: 0
sectionTitle:
- subgroup: 2
+ subgroup: 5
- sbSecId: 5
- title: Prebid Server Video
+ title: ' Prebid Server Video'
link: /prebid-server/endpoints/openrtb2/video.html
isHeader: 0
isSectionHeader: 0
sectionTitle:
- subgroup: 2
+ subgroup: 5
- sbSecId: 5
- title: Saving User Syncs
+ title: ' Saving User Syncs'
link: /prebid-server/endpoints/setuid.html
isHeader: 0
isSectionHeader: 0
sectionTitle:
- subgroup: 2
+ subgroup: 5
- sbSecId: 5
- title: Get User Syncs
+ title: ' Get User Syncs'
link: /prebid-server/endpoints/getuids.html
isHeader: 0
isSectionHeader: 0
sectionTitle:
- subgroup: 2
+ subgroup: 5
- sbSecId: 5
- title: Get Status
+ title: ' Get Status'
link: /prebid-server/endpoints/status.html
Item: 1
isHeader: 0
isSectionHeader: 0
sectionTitle:
- subgroup: 2
+ subgroup: 5
+
#--------------Formats--------------|
diff --git a/dev-docs/bidders/appnexus.md b/dev-docs/bidders/appnexus.md
index 395e2fa413..8be0373b01 100644
--- a/dev-docs/bidders/appnexus.md
+++ b/dev-docs/bidders/appnexus.md
@@ -22,6 +22,7 @@ tcf2_supported: true
- [App Object](#appnexus-app-object)
- [Custom Targeting keys](#custom-targeting-keys)
- [Passing Keys Without Values](#appnexus-no-value)
+- [User Sync in AMP](#appnexus-amp)
- [Debug Auction](#appnexus-debug-auction)
@@ -152,6 +153,12 @@ keywords: {
}
```
+
+
+#### User Sync in AMP
+
+If you are syncing user id's with Prebid Server and are using AppNexus' managed service, use the following URL for the source: https://acdn.adnxs.com/prebid/amp/user-sync/load-cookie.html
+
#### Debug Auction
diff --git a/dev-docs/show-prebid-ads-on-amp-pages.md b/dev-docs/show-prebid-ads-on-amp-pages.md
index 16b2e2ab30..a67f238882 100644
--- a/dev-docs/show-prebid-ads-on-amp-pages.md
+++ b/dev-docs/show-prebid-ads-on-amp-pages.md
@@ -138,7 +138,7 @@ You can always get the latest version of the creative code below from [the AMP e
For Google Ad Manager:
-```html
+```html
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- <script>
- alert("this is a test of js code fencing");
- var letthisbeone = 1;
- var objectthing {
- keything: "keyname",
- keyvalue: 0,
- arraything: [
- object1:{keything:"otherkeyname", keyvalue:1}
- ]
- }
- </script>
-