From eda80b621efa49c9dabbb3a3faefe3e61e1d1ba0 Mon Sep 17 00:00:00 2001 From: bretg Date: Tue, 6 Oct 2020 12:13:13 -0400 Subject: [PATCH] LiveRamp CMP, cont. (#2398) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * reverted optanon in header (#2315) Co-authored-by: Steve * LiveIntent registration link fix (#2300) * Add LiveIntent ID module to the overview * Update LiveIntent ID docs - remove 'providedIdentifierName' parameter, as it's removed from code (https://github.com/prebid/Prebid.js/pull/5407) - adjust links in the docs - new privacy policy - code examples updated to include the storage part * typo fix * added registration information * LiveIntent registration link fix * Update oftmedia.md (#2308) forgot to insert the code " schain_supported: true", same as appnexus. thanks! * Delete pb-is-amp.html (#2311) Duplicate file with trailing space after the name * Update invibes.md (#2312) * parrableIdSystem: Add an optional timezone and timezone offset allow/block filter (#2184) * PBID-11: Update Parrable ID system configuration example to remove storage options * PBID-25: Add docs for Parrable ID timezone filtering feature config * PBID-25: Fix grammar in userId timezone filtering * add native support for ablida bid adapter (#2164) * Blue Billywig bid adapter - add video param to docs (#2198) * add Blue Billywig bidder adaptor dev docs * Add missing empty line * move empty line to right place... Co-authored-by: Klaas-Jan Boon Co-authored-by: Klaas-Jan Boon * Document auctionDebug (#2255) * Document auctionDebug * Update integrate-with-the-prebid-analytics-api.md * Fix typo (#2319) * added adapter request params (#2318) * Livewrapped support for native and video (#2323) * Livewrapped bidder adapter * Added analytics documentation * Spelling * Added support for tcf2 and schain * video and native support * update based on new prebid.org site content (#2321) * update based on new prebid.org site content * added link to prebid.org and updated blog url * fixing old PBS+video message (#2327) * adding CMP link to other places (#2328) * moving cookie sync PBS FAQ (#2330) * Added docs.prebid.org google analytics tag * added debug logging endpoints (#2336) * first party data docs (#2325) * first party data docs * adding PBS-Java note * minor edits Co-authored-by: Jean Stemp * Update indexExchange.md to include Prebid Server details (#1) (#2331) * Update indexExchange.md * minor spelling fix * Fixed minor grammatical errors (#2) * Changed timeout example to 50ms Co-authored-by: rimaburder-index <55195208+rimaburder-index@users.noreply.github.com> Co-authored-by: rimaburder-index <55195208+rimaburder-index@users.noreply.github.com> * Revert "Livewrapped support for native and video (#2323)" (#2324) This reverts commit 1bcb343289dbcc4fbd84534476afc0f5c1673ea4. * Add Quantcast userId submodule documentation (#2339) * adding InMobi docs (#2326) * added nurl faq (#2345) * added changes for Dr.Prebid (#2344) * brought releases up to 4.8 (#2349) * added mopub set up for rewarded videos (#2342) * added mopub set up for rewarded videos * Added full screen video mopub set up * Fixed markdown error * Made changes to XML code per dev * Made edits per jstemp * Fix alt descriptions * fixed alt text Co-authored-by: Steve * Add gdpr supported in ablida docs (#2334) * add native support for ablida bid adapter * add gdpr supported * doc: add getEvents method to the public API (#2322) * feat: add getEvents method to the public API https://github.com/prebid/Prebid.js/pull/5703 * Update publisher-api-reference.md * Audigent HaloId Documentation (#2320) * Update show-outstream-video-ads.md (#2303) * New adapter "Cointraffic" added (#2301) * Add additional parameters to config (#2298) Co-authored-by: Yevhenii Tykhostup * MediaNet SChain Support (#2294) * add Pub-X dev-docs (#2287) * added docs for instreamTracking (#2277) Co-authored-by: monis.q * Prebid SDK 1.8: bid response callback and OMSDK (#2340) * Prebid SDK 1.8: bid response callback and OMSDK * prebidSDK1_8: updated language * Added TCF v2.0 support to the documentation (#2350) * Indicate new features in AMX RTB 1.1 Update (#2221) * indicate tcf2, user ID, coppa support for AMX RTB bid adapter * document ad unit ID * renaming waardex to waardex.ak (#2352) * Update userId.md (#2193) Provides documentation for https://github.com/prebid/Prebid.js/pull/5577 Co-authored-by: bretg * Markdown docs for both gjirafa and malltv bid adapters (#2200) * added markdowns for gjirafa and malltv * quotes * added 'video' to supported media types * Add Supply Chain Support to Docs (#2354) * Prebid sdk1.8 (#2356) * Prebid SDK 1.8: bid response callback and OMSDK * prebidSDK1_8: updated language * prebidSDK1_8: typos * misc user ID file fixes (#2358) * Update download.md * Update download.md removing pubprovided from download page * adding note that size_id is required for PBS (#2363) * adds new params to gumgum doc (#2332) * welect: update docu to tcf2.0 (#2233) * update docu to tcf2.0 * add gvlid in metadata * No bid version 1.2.7 (#2253) * Adde support for CCPA * Support for TCF 2.0 Co-authored-by: Reda Guermas * ConnectAd docs update (#2305) * Update invibes.md (#2361) * wordsmithing PBS overview (#2367) * Updating Brightroll adapter details (#2365) * Floors update (#2371) * Prebid SDK 1.8: bid response callback and OMSDK * prebidSDK1_8: updated language * prebidSDK1_8: typos * Floors: added floor providers * fix quantcast download (#2373) * removing PBS adapters from download page (#2374) * initial examples * jsfiddle permissions * CMP added to video examples * CMP added to video examples * CMP added to first jsfiddle example Co-authored-by: MartianTribe Co-authored-by: Steve Co-authored-by: amoltchan <56824198+amoltchan@users.noreply.github.com> Co-authored-by: murilodiko Co-authored-by: AaronColbyPrice <67345931+AaronColbyPrice@users.noreply.github.com> Co-authored-by: invibes <51820283+invibes@users.noreply.github.com> Co-authored-by: Ian Flournoy Co-authored-by: Dan Co-authored-by: Klaas-Jan Boon Co-authored-by: Klaas-Jan Boon Co-authored-by: Klaas-Jan Boon Co-authored-by: Patrick McCann Co-authored-by: Seba Perez Co-authored-by: bjorn-lw <32431346+bjorn-lw@users.noreply.github.com> Co-authored-by: Jean Stemp <38964447+jeanstemp@users.noreply.github.com> Co-authored-by: Jean Stemp Co-authored-by: Rob Hazan Co-authored-by: rimaburder-index <55195208+rimaburder-index@users.noreply.github.com> Co-authored-by: Mehmet Can Kurt Co-authored-by: Daniel Lawrence Co-authored-by: ppuviarasu Co-authored-by: gpolaert Co-authored-by: Anthony Lauzon Co-authored-by: Aleksandr Štšepelin Co-authored-by: frstua Co-authored-by: Yevhenii Tykhostup Co-authored-by: Rahul Shandilya <67756716+c3p-0@users.noreply.github.com> Co-authored-by: Pub-X <63354024+Pub-X@users.noreply.github.com> Co-authored-by: Monis Qadri Co-authored-by: monis.q Co-authored-by: Bryan Szekely <49168870+bszekely1@users.noreply.github.com> Co-authored-by: thuyhq <61451682+thuyhq@users.noreply.github.com> Co-authored-by: Nick Jacob Co-authored-by: angelamerkelprebid <69318193+angelamerkelprebid@users.noreply.github.com> Co-authored-by: Drilon Kastrati Co-authored-by: Mirko Feddern <3244291+mirkorean@users.noreply.github.com> Co-authored-by: jdwieland8282 Co-authored-by: susyt Co-authored-by: Nick Duitz <42961155+nduitz@users.noreply.github.com> Co-authored-by: redaguermas Co-authored-by: Reda Guermas Co-authored-by: rtuschkany <35923908+rtuschkany@users.noreply.github.com> Co-authored-by: smithaammassamveettil <39389834+smithaammassamveettil@users.noreply.github.com> --- _includes/video/head.html | 17 +- _includes/video/pb-cp-fp.html | 9 +- _includes/video/pb-cp-jw.html | 9 +- _includes/video/pb-cp-kl.html | 9 +- _includes/video/pb-cp-vjs.html | 9 +- _includes/video/pb-cp.html | 17 +- _includes/video/pb-is-app.html | 17 +- _includes/video/pb-is-bc.html | 17 +- _includes/video/pb-is-br.html | 17 +- _includes/video/pb-is-fp.html | 17 +- _includes/video/pb-is-jw01.html | 17 +- _includes/video/pb-is-jw02.html | 17 +- _includes/video/pb-is-jw03.html | 17 +- _includes/video/pb-is-kl.html | 17 +- _includes/video/pb-is-ol.html | 17 +- _includes/video/pb-is-rd.html | 9 +- _includes/video/pb-is-vjs.html | 22 +- _includes/video/pb-lf-fw.html | 17 +- _includes/video/pb-os-app.html | 9 +- _includes/video/pb-os-dfp.html | 17 +- _includes/video/pb-os-nas.html | 17 +- _includes/video/pb-os-rd.html | 9 +- _includes/video/pb-ve-lf-fw.html | 17 +- _includes/video/pbs-br.html | 15 +- _includes/video/pbs-jw01.html | 15 +- _includes/video/pbs-jw02.html | 15 +- _includes/video/pbs-jw03.html | 15 +- _includes/video/pbs-jw04.html | 15 +- _includes/video/pbs-kl.html | 15 +- _includes/video/pbs-oy.html | 15 +- _includes/video/pbs-rd.html | 9 +- _includes/video/pbs-vjs.html | 15 +- dev-docs/getting-started.md | 5 +- .../flowplayer/pb-cp-flowplayer.html | 16 +- .../crossplayer/jwplayer/pb-cp-jwplayer.html | 17 +- .../crossplayer/kaltura/pb-cp-kaltura.html | 15 ++ .../crossplayer/videojs/pb-cp-videojs.html | 17 +- .../adplayerpro/pb-ve-adplayerpro.html | 13 +- examples/video/instream/akamai/pb-ve-amp.html | 4 +- examples/video/instream/brid/pb-ve-brid.html | 20 +- .../instream/brightcove/pb-ve-brightcove.html | 21 +- .../instream/flowplayer/pb-ve-flowplayer.html | 13 +- .../jwplayer/pb-ve-jwplayer-hosted.html | 16 +- .../jwplayer/pb-ve-jwplayer-platform.html | 20 +- .../jwplayer/pb-ve-jwplayer-playlist.html | 17 +- .../video/instream/kaltura/pb-ve-kaltura.html | 11 +- .../video/instream/ooyala/pb-ve-ooyala.html | 195 +++++++++--------- .../video/instream/radiant/pb-ve-radiant.html | 11 + .../video/instream/videojs/pb-ve-videojs.html | 28 ++- .../video/long-form/pb-ve-lf-freewheel.html | 19 +- .../video/outstream/pb-ve-outstream-app.html | 24 +++ .../video/outstream/pb-ve-outstream-dfp.html | 16 +- .../outstream/pb-ve-outstream-no-server.html | 18 +- .../outstream/pb-ve-outstream-radiant.html | 25 +++ examples/video/pb-video-template.html | 19 +- examples/video/server/brid/pbs-ve-brid.html | 16 +- .../jwplayer/pbs-ve-jwplayer-hosted.html | 18 +- .../jwplayer/pbs-ve-jwplayer-jwplayer7.html | 18 +- .../jwplayer/pbs-ve-jwplayer-platform.html | 19 +- .../jwplayer/pbs-ve-jwplayer-playlist.html | 17 +- .../video/server/kaltura/pbs-ve-kaltura.html | 16 +- .../video/server/ooyala/pbs-ve-ooyala.html | 21 +- .../video/server/radiant/pbs-ve-radiant.html | 15 ++ .../video/server/videojs/pbs-ve-videojs.html | 21 +- 64 files changed, 768 insertions(+), 422 deletions(-) diff --git a/_includes/video/head.html b/_includes/video/head.html index b9f1c0060e..121d87ad5b 100644 --- a/_includes/video/head.html +++ b/_includes/video/head.html @@ -17,14 +17,7 @@ {{page.title}} for Header Bidding {% endif %} - - - - - - + @@ -110,7 +103,13 @@ pbjs.addAdUnits(videoAdUnit); // add your ad units to the bid request pbjs.setConfig({ - usePrebidCache: true + usePrebidCache: true, + consentManagement: { + gdpr: { + cmpApi: "iab", + defaultGdprScope: true + } + } }); pbjs.requestBids({ diff --git a/_includes/video/pb-cp-fp.html b/_includes/video/pb-cp-fp.html index e5a888138f..be466652c8 100644 --- a/_includes/video/pb-cp-fp.html +++ b/_includes/video/pb-cp-fp.html @@ -17,14 +17,7 @@ {{page.title}} for Header Bidding {% endif %} - - - - - - + diff --git a/_includes/video/pb-cp-jw.html b/_includes/video/pb-cp-jw.html index eb1416d7f2..1aaf88766a 100644 --- a/_includes/video/pb-cp-jw.html +++ b/_includes/video/pb-cp-jw.html @@ -17,14 +17,7 @@ {{page.title}} for Header Bidding {% endif %} - - - - - - + diff --git a/_includes/video/pb-cp-kl.html b/_includes/video/pb-cp-kl.html index 9f74b04a7c..e73d9331c2 100644 --- a/_includes/video/pb-cp-kl.html +++ b/_includes/video/pb-cp-kl.html @@ -17,14 +17,7 @@ {{page.title}} for Header Bidding {% endif %} - - - - - - + diff --git a/_includes/video/pb-cp-vjs.html b/_includes/video/pb-cp-vjs.html index bbf866872d..3fa559e3c8 100644 --- a/_includes/video/pb-cp-vjs.html +++ b/_includes/video/pb-cp-vjs.html @@ -17,14 +17,7 @@ {{page.title}} for Header Bidding {% endif %} - - - - - - + diff --git a/_includes/video/pb-cp.html b/_includes/video/pb-cp.html index d5b9f110a6..8d436cd9be 100644 --- a/_includes/video/pb-cp.html +++ b/_includes/video/pb-cp.html @@ -17,14 +17,7 @@ {{page.title}} for Header Bidding {% endif %} - - - - - - + @@ -117,7 +110,13 @@ debug: true, cache: { url: 'https://prebid.adnxs.com/pbc/v1/cache' - } + }, + consentManagement: { + gdpr: { + cmpApi: "iab", + defaultGdprScope: true + } + } }); pbjs.requestBids({ bidsBackHandler: function(bids) { diff --git a/_includes/video/pb-is-app.html b/_includes/video/pb-is-app.html index 82498b5a45..e4d960dd1a 100644 --- a/_includes/video/pb-is-app.html +++ b/_includes/video/pb-is-app.html @@ -17,14 +17,7 @@ {{page.title}} for Header Bidding {% endif %} - - - - - - + @@ -103,7 +96,13 @@ debug: true, cache: { url: 'https://prebid.adnxs.com/pbc/v1/cache' - } + }, + consentManagement: { + gdpr: { + cmpApi: "iab", + defaultGdprScope: true + } + } }); pbjs.requestBids({ diff --git a/_includes/video/pb-is-bc.html b/_includes/video/pb-is-bc.html index cce13fa854..f85454e2fa 100644 --- a/_includes/video/pb-is-bc.html +++ b/_includes/video/pb-is-bc.html @@ -17,14 +17,7 @@ {{page.title}} for Header Bidding {% endif %} - - - - - - + @@ -117,7 +110,13 @@ debug: true, cache: { url: 'https://prebid.adnxs.com/pbc/v1/cache' - } + }, + consentManagement: { + gdpr: { + cmpApi: "iab", + defaultGdprScope: true + } + } }); pbjs.requestBids({ bidsBackHandler: function(bids) { diff --git a/_includes/video/pb-is-br.html b/_includes/video/pb-is-br.html index a3bde786ef..0ad926b189 100644 --- a/_includes/video/pb-is-br.html +++ b/_includes/video/pb-is-br.html @@ -17,14 +17,7 @@ {{page.title}} for Header Bidding {% endif %} - - - - - - + @@ -112,7 +105,13 @@ usePrebidCache: true, cache: { url: 'https://prebid.adnxs.com/pbc/v1/cache' - } + } , + consentManagement: { + gdpr: { + cmpApi: "iab", + defaultGdprScope: true + } + } }); pbjs.requestBids({ diff --git a/_includes/video/pb-is-fp.html b/_includes/video/pb-is-fp.html index 124b2bd6ac..440c539f60 100644 --- a/_includes/video/pb-is-fp.html +++ b/_includes/video/pb-is-fp.html @@ -17,14 +17,7 @@ {{page.title}} for Header Bidding {% endif %} - - - - - - + @@ -138,7 +131,13 @@ debug: true, cache: { url: 'https://prebid.adnxs.com/pbc/v1/cache' - } + }, + consentManagement: { + gdpr: { + cmpApi: "iab", + defaultGdprScope: true + } + } }); pbjs.requestBids({ diff --git a/_includes/video/pb-is-jw01.html b/_includes/video/pb-is-jw01.html index 2e81441be0..a34e7f85ec 100644 --- a/_includes/video/pb-is-jw01.html +++ b/_includes/video/pb-is-jw01.html @@ -17,14 +17,7 @@ {{page.title}} for Header Bidding {% endif %} - - - - - - + @@ -106,7 +99,13 @@ debug: true, cache: { url: 'https://prebid.adnxs.com/pbc/v1/cache' - } + }, + consentManagement: { + gdpr: { + cmpApi: "iab", + defaultGdprScope: true + } + } }); pbjs.requestBids({ diff --git a/_includes/video/pb-is-jw02.html b/_includes/video/pb-is-jw02.html index 3e127bb343..36aa1d2603 100644 --- a/_includes/video/pb-is-jw02.html +++ b/_includes/video/pb-is-jw02.html @@ -17,14 +17,7 @@ {{page.title}} for Header Bidding {% endif %} - - - - - - + @@ -109,7 +102,13 @@ debug: true, cache: { url: 'https://prebid.adnxs.com/pbc/v1/cache' - } + }, + consentManagement: { + gdpr: { + cmpApi: "iab", + defaultGdprScope: true + } + } }); pbjs.requestBids({ diff --git a/_includes/video/pb-is-jw03.html b/_includes/video/pb-is-jw03.html index a33fdce9e8..41bef67035 100644 --- a/_includes/video/pb-is-jw03.html +++ b/_includes/video/pb-is-jw03.html @@ -17,14 +17,7 @@ {{page.title}} for Header Bidding {% endif %} - - - - - - + @@ -129,7 +122,13 @@ debug: true, cache: { url: 'https://prebid.adnxs.com/pbc/v1/cache' - } + }, + consentManagement: { + gdpr: { + cmpApi: "iab", + defaultGdprScope: true + } + } }); requestVideoAd(); diff --git a/_includes/video/pb-is-kl.html b/_includes/video/pb-is-kl.html index cb5d6aaf48..9900acbe8a 100644 --- a/_includes/video/pb-is-kl.html +++ b/_includes/video/pb-is-kl.html @@ -17,14 +17,7 @@ {{page.title}} for Header Bidding {% endif %} - - - - - - + @@ -124,7 +117,13 @@ debug: true, cache: { url: 'https://prebid.adnxs.com/pbc/v1/cache' - } + }, + consentManagement: { + gdpr: { + cmpApi: "iab", + defaultGdprScope: true + } + } }); pbjs.requestBids({ diff --git a/_includes/video/pb-is-ol.html b/_includes/video/pb-is-ol.html index 49af8a060e..9d5a765f87 100644 --- a/_includes/video/pb-is-ol.html +++ b/_includes/video/pb-is-ol.html @@ -17,14 +17,7 @@ {{page.title}} for Header Bidding {% endif %} - - - - - - + @@ -150,7 +143,13 @@ debug: true, cache: { url: 'https://prebid.adnxs.com/pbc/v1/cache' - } + }, + consentManagement: { + gdpr: { + cmpApi: "iab", + defaultGdprScope: true + } + } }); pbjs.requestBids({ diff --git a/_includes/video/pb-is-rd.html b/_includes/video/pb-is-rd.html index 588059d56d..e5864e101f 100644 --- a/_includes/video/pb-is-rd.html +++ b/_includes/video/pb-is-rd.html @@ -17,14 +17,7 @@ {{page.title}} for Header Bidding {% endif %} - - - - - - + diff --git a/_includes/video/pb-is-vjs.html b/_includes/video/pb-is-vjs.html index eb7e1b61a7..e888365696 100644 --- a/_includes/video/pb-is-vjs.html +++ b/_includes/video/pb-is-vjs.html @@ -17,14 +17,7 @@ {{page.title}} for Header Bidding {% endif %} - - - - - - + @@ -75,6 +68,11 @@ - - - + @@ -153,7 +146,13 @@ }, adpod: { brandCategoryExclusion: true - } + }, + consentManagement: { + gdpr: { + cmpApi: "iab", + defaultGdprScope: true + } + } }); pbjs.requestBids({ diff --git a/_includes/video/pb-os-app.html b/_includes/video/pb-os-app.html index 8a2af8afba..160d65d8d3 100644 --- a/_includes/video/pb-os-app.html +++ b/_includes/video/pb-os-app.html @@ -17,14 +17,7 @@ {{page.title}} for Header Bidding {% endif %} - - - - - - + diff --git a/_includes/video/pb-os-dfp.html b/_includes/video/pb-os-dfp.html index e88b8eac8e..9ab786b2dd 100644 --- a/_includes/video/pb-os-dfp.html +++ b/_includes/video/pb-os-dfp.html @@ -17,14 +17,7 @@ {{page.title}} for Header Bidding {% endif %} - - - - - - + @@ -102,6 +95,14 @@ pbjs.que.push(function() { pbjs.addAdUnits(adUnits); + pbjs.setConfig({ + consentManagement: { + gdpr: { + cmpApi: "iab", + defaultGdprScope: true + } + } + }); pbjs.requestBids({ bidsBackHandler: initAdserver }); diff --git a/_includes/video/pb-os-nas.html b/_includes/video/pb-os-nas.html index dded18c34c..7ec5afba0d 100644 --- a/_includes/video/pb-os-nas.html +++ b/_includes/video/pb-os-nas.html @@ -17,14 +17,7 @@ {{page.title}} for Header Bidding {% endif %} - - - - - - + @@ -94,6 +87,14 @@ pbjs.que.push(function() { pbjs.addAdUnits(adUnits); + pbjs.setConfig({ + consentManagement: { + gdpr: { + cmpApi: "iab", + defaultGdprScope: true + } + } + }); pbjs.requestBids({ timeout: 1000, bidsBackHandler: function(bids) { diff --git a/_includes/video/pb-os-rd.html b/_includes/video/pb-os-rd.html index b82498d133..f3407f29b0 100644 --- a/_includes/video/pb-os-rd.html +++ b/_includes/video/pb-os-rd.html @@ -17,14 +17,7 @@ {{page.title}} for Header Bidding {% endif %} - - - - - - + diff --git a/_includes/video/pb-ve-lf-fw.html b/_includes/video/pb-ve-lf-fw.html index 875f0bd6e2..2564876673 100644 --- a/_includes/video/pb-ve-lf-fw.html +++ b/_includes/video/pb-ve-lf-fw.html @@ -17,14 +17,7 @@ {{page.title}} for Header Bidding {% endif %} - - - - - - + @@ -154,7 +147,13 @@ }, adpod: { brandCategoryExclusion: true - } + }, + consentManagement: { + gdpr: { + cmpApi: "iab", + defaultGdprScope: true + } + } }); pbjs.requestBids({ diff --git a/_includes/video/pbs-br.html b/_includes/video/pbs-br.html index 67433c7d0e..11aef5ce48 100644 --- a/_includes/video/pbs-br.html +++ b/_includes/video/pbs-br.html @@ -17,14 +17,7 @@ {{page.title}} for Header Bidding {% endif %} - - - - - - + @@ -125,6 +118,12 @@ cache: { url: 'https://prebid.adnxs.com/pbc/v1/cache' }, + consentManagement: { + gdpr: { + cmpApi: "iab", + defaultGdprScope: true + } + }, debug: true, enableSendAllBids: true, s2sConfig: { diff --git a/_includes/video/pbs-jw01.html b/_includes/video/pbs-jw01.html index ddc6aa3707..540773ebb5 100644 --- a/_includes/video/pbs-jw01.html +++ b/_includes/video/pbs-jw01.html @@ -17,14 +17,7 @@ {{page.title}} for Header Bidding {% endif %} - - - - - - + @@ -119,6 +112,12 @@ cache: { url: 'https://prebid.adnxs.com/pbc/v1/cache' }, + consentManagement: { + gdpr: { + cmpApi: "iab", + defaultGdprScope: true + } + }, debug: true, s2sConfig: { endpoint: 'http://prebid.adnxs.com/pbs/v1/openrtb2/auction', diff --git a/_includes/video/pbs-jw02.html b/_includes/video/pbs-jw02.html index 68a85f8ab1..0bc1456b7a 100644 --- a/_includes/video/pbs-jw02.html +++ b/_includes/video/pbs-jw02.html @@ -17,14 +17,7 @@ {{page.title}} for Header Bidding {% endif %} - - - - - - + @@ -129,6 +122,12 @@ cache: { url: 'https://prebid.adnxs.com/pbc/v1/cache' }, + consentManagement: { + gdpr: { + cmpApi: "iab", + defaultGdprScope: true + } + }, debug: true, enableSendAllBids: true, s2sConfig: { diff --git a/_includes/video/pbs-jw03.html b/_includes/video/pbs-jw03.html index 56bd88963f..6895037347 100644 --- a/_includes/video/pbs-jw03.html +++ b/_includes/video/pbs-jw03.html @@ -17,14 +17,7 @@ {{page.title}} for Header Bidding {% endif %} - - - - - - + @@ -130,6 +123,12 @@ cache: { url: 'https://prebid.adnxs.com/pbc/v1/cache' }, + consentManagement: { + gdpr: { + cmpApi: "iab", + defaultGdprScope: true + } + }, debug: true, s2sConfig: { endpoint: 'http://prebid.adnxs.com/pbs/v1/openrtb2/auction', diff --git a/_includes/video/pbs-jw04.html b/_includes/video/pbs-jw04.html index 51d171f703..f40aa90b61 100644 --- a/_includes/video/pbs-jw04.html +++ b/_includes/video/pbs-jw04.html @@ -17,14 +17,7 @@ {{page.title}} for Header Bidding {% endif %} - - - - - - + @@ -128,6 +121,12 @@ cache: { url: 'https://prebid.adnxs.com/pbc/v1/cache' }, + consentManagement: { + gdpr: { + cmpApi: "iab", + defaultGdprScope: true + } + }, debug: true, enableSendAllBids: true, s2sConfig: { diff --git a/_includes/video/pbs-kl.html b/_includes/video/pbs-kl.html index 8868614093..23b5112c24 100644 --- a/_includes/video/pbs-kl.html +++ b/_includes/video/pbs-kl.html @@ -17,14 +17,7 @@ {{page.title}} for Header Bidding {% endif %} - - - - - - + @@ -124,6 +117,12 @@ cache: { url: 'https://prebid.adnxs.com/pbc/v1/cache' }, + consentManagement: { + gdpr: { + cmpApi: "iab", + defaultGdprScope: true + } + }, debug: true, s2sConfig: { endpoint: 'http://prebid.adnxs.com/pbs/v1/openrtb2/auction', diff --git a/_includes/video/pbs-oy.html b/_includes/video/pbs-oy.html index 8f296c77c5..ce859d86ee 100644 --- a/_includes/video/pbs-oy.html +++ b/_includes/video/pbs-oy.html @@ -17,14 +17,7 @@ {{page.title}} for Header Bidding {% endif %} - - - - - - + @@ -154,6 +147,12 @@ cache: { url: 'https://prebid.adnxs.com/pbc/v1/cache' }, + consentManagement: { + gdpr: { + cmpApi: "iab", + defaultGdprScope: true + } + }, debug: true, s2sConfig: { endpoint: 'http://prebid.adnxs.com/pbs/v1/openrtb2/auction', diff --git a/_includes/video/pbs-rd.html b/_includes/video/pbs-rd.html index ef2d279761..fcf633b1ec 100644 --- a/_includes/video/pbs-rd.html +++ b/_includes/video/pbs-rd.html @@ -17,14 +17,7 @@ {{page.title}} for Header Bidding {% endif %} - - - - - - + diff --git a/_includes/video/pbs-vjs.html b/_includes/video/pbs-vjs.html index 278feeb60d..bf32f9fc7e 100644 --- a/_includes/video/pbs-vjs.html +++ b/_includes/video/pbs-vjs.html @@ -17,14 +17,7 @@ {{page.title}} for Header Bidding {% endif %} - - - - - - + @@ -134,6 +127,12 @@ cache: { url: 'https://prebid.adnxs.com/pbc/v1/cache' }, + consentManagement: { + gdpr: { + cmpApi: "iab", + defaultGdprScope: true + } + }, debug: true, s2sConfig: { endpoint: 'http://prebid.adnxs.com/pbs/v1/openrtb2/auction', diff --git a/dev-docs/getting-started.md b/dev-docs/getting-started.md index 4620480d17..052d9492e0 100644 --- a/dev-docs/getting-started.md +++ b/dev-docs/getting-started.md @@ -23,9 +23,8 @@ The easiest way to get started with Prebid.js is to use the example code below. diff --git a/examples/video/crossplayer/jwplayer/pb-cp-jwplayer.html b/examples/video/crossplayer/jwplayer/pb-cp-jwplayer.html index 2140606937..8eb6dfdd5a 100644 --- a/examples/video/crossplayer/jwplayer/pb-cp-jwplayer.html +++ b/examples/video/crossplayer/jwplayer/pb-cp-jwplayer.html @@ -172,7 +172,21 @@

Place this code in the page body.

diff --git a/examples/video/crossplayer/kaltura/pb-cp-kaltura.html b/examples/video/crossplayer/kaltura/pb-cp-kaltura.html index 241021d5ce..89e1d9d3e7 100644 --- a/examples/video/crossplayer/kaltura/pb-cp-kaltura.html +++ b/examples/video/crossplayer/kaltura/pb-cp-kaltura.html @@ -199,6 +199,20 @@

Place this code in the page body.

diff --git a/examples/video/crossplayer/videojs/pb-cp-videojs.html b/examples/video/crossplayer/videojs/pb-cp-videojs.html index b01ae04fa4..53dc533811 100644 --- a/examples/video/crossplayer/videojs/pb-cp-videojs.html +++ b/examples/video/crossplayer/videojs/pb-cp-videojs.html @@ -220,7 +220,21 @@

Place this code in the page body.

var vid1 = videojs('vid1'); page_load_time = new Date().getTime() - performance.timing.navigationStart; console.log(page_load_time + "ms -- Player loaded!"); - function invokeVideoPlayer(url) { + + __tcfapi("checkConsent", 2, (hasConsent, success) => { + if (hasConsent && success) { + videoHasConsent(); + } else { // doesn't have consent + document.getElementById("vid1").innerHTML += '(Cookie permissions needed to demo this video player. Update Privacy Settings.)'; + } + }, { + data: [{ + purposeIds: [1] // asking for ability to set cookies + }] + }); + + function videoHasConsent() { + invokeVideoPlayer=function (url) { page_load_time = new Date().getTime() - performance.timing.navigationStart; console.log(page_load_time + "ms -- Prebid VAST url = " + url); /* Access the player instance by calling `videojs()` and passing @@ -288,5 +302,6 @@

Place this code in the page body.

.catch(function() { invokeVideoPlayer(null); }); + } diff --git a/examples/video/instream/adplayerpro/pb-ve-adplayerpro.html b/examples/video/instream/adplayerpro/pb-ve-adplayerpro.html index 44af13a673..ca5b426d45 100644 --- a/examples/video/instream/adplayerpro/pb-ve-adplayerpro.html +++ b/examples/video/instream/adplayerpro/pb-ve-adplayerpro.html @@ -139,7 +139,9 @@

Place this code in the page body.

diff --git a/examples/video/instream/brightcove/pb-ve-brightcove.html b/examples/video/instream/brightcove/pb-ve-brightcove.html index cc2dea6a3a..4acff0ba51 100644 --- a/examples/video/instream/brightcove/pb-ve-brightcove.html +++ b/examples/video/instream/brightcove/pb-ve-brightcove.html @@ -225,10 +225,24 @@

Place this code in the page body.

- - \ No newline at end of file + diff --git a/examples/video/instream/flowplayer/pb-ve-flowplayer.html b/examples/video/instream/flowplayer/pb-ve-flowplayer.html index 42ec91f94e..0165121656 100644 --- a/examples/video/instream/flowplayer/pb-ve-flowplayer.html +++ b/examples/video/instream/flowplayer/pb-ve-flowplayer.html @@ -201,6 +201,8 @@

Place this code in the page body.

- \ No newline at end of file + diff --git a/examples/video/instream/jwplayer/pb-ve-jwplayer-hosted.html b/examples/video/instream/jwplayer/pb-ve-jwplayer-hosted.html index a43faf483d..22d5e0bd5d 100644 --- a/examples/video/instream/jwplayer/pb-ve-jwplayer-hosted.html +++ b/examples/video/instream/jwplayer/pb-ve-jwplayer-hosted.html @@ -152,7 +152,19 @@

Place this code in the page body.

- \ No newline at end of file + diff --git a/examples/video/instream/jwplayer/pb-ve-jwplayer-platform.html b/examples/video/instream/jwplayer/pb-ve-jwplayer-platform.html index 2d77f94e26..49e7113955 100644 --- a/examples/video/instream/jwplayer/pb-ve-jwplayer-platform.html +++ b/examples/video/instream/jwplayer/pb-ve-jwplayer-platform.html @@ -157,7 +157,21 @@

Place this code in the page body.

// we initialize our player instance, specifying the div to load it into var playerInstance = jwplayer('myElement1'); - function invokeVideoPlayer(url) { + __tcfapi("checkConsent", 2, (hasConsent, success) => { + if (hasConsent && success) { + hasVideoConsent(); + } else { // doesn't have consent + document.getElementById("myElement1").innerHTML += '(Cookie permissions needed to demo this video player. Update Privacy Settings.)'; + } + }, { + data: [{ + purposeIds: [1] // asking for ability to set cookies + }] + }); + +function hasVideoConsent() { + + invokeVideoPlayer= function (url) { // this calls setup on the player we initialized // this will use the settings defined in the player we loaded above unless you override them here playerInstance.setup({ @@ -180,9 +194,9 @@

Place this code in the page body.

invokeVideoPlayer(tempTag); tempTag = false; } - +} - \ No newline at end of file + diff --git a/examples/video/instream/jwplayer/pb-ve-jwplayer-playlist.html b/examples/video/instream/jwplayer/pb-ve-jwplayer-playlist.html index 3fa853d63d..de799c60fd 100644 --- a/examples/video/instream/jwplayer/pb-ve-jwplayer-playlist.html +++ b/examples/video/instream/jwplayer/pb-ve-jwplayer-playlist.html @@ -186,6 +186,19 @@

Place this code in the page body.

var adTag = ""; var playerInstance = jwplayer('myElement1'); + __tcfapi("checkConsent", 2, (hasConsent, success) => { + if (hasConsent && success) { + hasVideoConsent(); + } else { // doesn't have consent + document.getElementById("myElement1").innerHTML += '(Cookie permissions needed to demo this video player. Update Privacy Settings.)'; + } + }, { + data: [{ + purposeIds: [1] // asking for ability to set cookies + }] + }); + + function hasVideoConsent() { invokeVideoPlayer = function(url) { adTag = url; console.log("MESSAGE: invoking the video player"); @@ -232,8 +245,8 @@

Place this code in the page body.

invokeVideoPlayer(tempTag); tempTag = false; } - + } - \ No newline at end of file + diff --git a/examples/video/instream/kaltura/pb-ve-kaltura.html b/examples/video/instream/kaltura/pb-ve-kaltura.html index a6262d565a..1291718fb7 100644 --- a/examples/video/instream/kaltura/pb-ve-kaltura.html +++ b/examples/video/instream/kaltura/pb-ve-kaltura.html @@ -212,6 +212,8 @@

Place this code in the page body.

- \ No newline at end of file + diff --git a/examples/video/instream/ooyala/pb-ve-ooyala.html b/examples/video/instream/ooyala/pb-ve-ooyala.html index 30f7b32390..cfba599d4b 100644 --- a/examples/video/instream/ooyala/pb-ve-ooyala.html +++ b/examples/video/instream/ooyala/pb-ve-ooyala.html @@ -259,100 +259,109 @@

Place this code in the page body.

- - \ No newline at end of file + diff --git a/examples/video/instream/radiant/pb-ve-radiant.html b/examples/video/instream/radiant/pb-ve-radiant.html index c1f9d7278f..110310f278 100644 --- a/examples/video/instream/radiant/pb-ve-radiant.html +++ b/examples/video/instream/radiant/pb-ve-radiant.html @@ -273,6 +273,9 @@

Place this code in the page body.

}); }); + __tcfapi("checkConsent", 2, (hasConsent, success) => { + if (hasConsent && success) { + /* here we re-define invokeVideoPlayer with Radiant Media Player set-up */ pbApp.invokeVideoPlayer = function (adTagUrl) { if (pbApp.playerSetup) { @@ -325,5 +328,13 @@

Place this code in the page body.

} pbApp.invokeVideoPlayer(pbApp.fallbackAdTagUrl); }, pbApp.playerSetupTimeout); + } else { // doesn't have consent + document.getElementById("rmpPlayer").innerHTML += '(Cookie permissions needed to demo this video player. Update Privacy Settings.)'; + } + }, { + data: [{ + purposeIds: [1] // asking for ability to set cookies + }] + }); diff --git a/examples/video/instream/videojs/pb-ve-videojs.html b/examples/video/instream/videojs/pb-ve-videojs.html index c4bf3d1bf7..f1679797ec 100644 --- a/examples/video/instream/videojs/pb-ve-videojs.html +++ b/examples/video/instream/videojs/pb-ve-videojs.html @@ -23,7 +23,7 @@

{{ page.title }}

-
+
+

Outstream AdUnit below

+ +

Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?

@@ -172,6 +188,14 @@

Place this code in the page body.

pbjs.que.push(function () { pbjs.addAdUnits(adUnits); + pbjs.setConfig({ + consentManagement: { + gdpr: { + cmpApi: "iab", + defaultGdprScope: true + } + } + }); pbjs.requestBids({ timeout: 1000, bidsBackHandler: function (bids) { diff --git a/examples/video/outstream/pb-ve-outstream-dfp.html b/examples/video/outstream/pb-ve-outstream-dfp.html index 21208d218e..20129af962 100644 --- a/examples/video/outstream/pb-ve-outstream-dfp.html +++ b/examples/video/outstream/pb-ve-outstream-dfp.html @@ -30,6 +30,20 @@

{{ page.title }}

Prebid Outstream Video Ad

+ - \ No newline at end of file + diff --git a/examples/video/outstream/pb-ve-outstream-no-server.html b/examples/video/outstream/pb-ve-outstream-no-server.html index 28f793f34a..b237d54e2c 100644 --- a/examples/video/outstream/pb-ve-outstream-no-server.html +++ b/examples/video/outstream/pb-ve-outstream-no-server.html @@ -108,9 +108,19 @@

Place this code in the page body.

- -
; -

Prebid Outstream Video Ad

-

+ diff --git a/examples/video/outstream/pb-ve-outstream-radiant.html b/examples/video/outstream/pb-ve-outstream-radiant.html index a32442769a..c37206af23 100644 --- a/examples/video/outstream/pb-ve-outstream-radiant.html +++ b/examples/video/outstream/pb-ve-outstream-radiant.html @@ -28,9 +28,26 @@

{{ page.title }}

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

+

Outstream AdUnit below

+
+ +

Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?

@@ -177,6 +194,14 @@

Place this code in the page body.

pbjs.que.push(function () { pbjs.addAdUnits(adUnits); + pbjs.setConfig({ + consentManagement: { + gdpr: { + cmpApi: "iab", + defaultGdprScope: true + } + } + }); pbjs.requestBids({ timeout: 1000, bidsBackHandler: function (bids) { diff --git a/examples/video/pb-video-template.html b/examples/video/pb-video-template.html index 9186a141bd..2c73cbc6ac 100644 --- a/examples/video/pb-video-template.html +++ b/examples/video/pb-video-template.html @@ -272,8 +272,21 @@

Place this code in the page body.

- \ No newline at end of file + diff --git a/examples/video/server/brid/pbs-ve-brid.html b/examples/video/server/brid/pbs-ve-brid.html index e397824456..6a03ea1491 100644 --- a/examples/video/server/brid/pbs-ve-brid.html +++ b/examples/video/server/brid/pbs-ve-brid.html @@ -167,6 +167,19 @@

Place this code in the page body.

- \ No newline at end of file + diff --git a/examples/video/server/jwplayer/pbs-ve-jwplayer-hosted.html b/examples/video/server/jwplayer/pbs-ve-jwplayer-hosted.html index 6e9695abf9..7541f8ea35 100644 --- a/examples/video/server/jwplayer/pbs-ve-jwplayer-hosted.html +++ b/examples/video/server/jwplayer/pbs-ve-jwplayer-hosted.html @@ -185,6 +185,19 @@

Place this code in the page body.

+ } + - \ No newline at end of file + diff --git a/examples/video/server/jwplayer/pbs-ve-jwplayer-jwplayer7.html b/examples/video/server/jwplayer/pbs-ve-jwplayer-jwplayer7.html index b97f5253f2..41cb675c72 100644 --- a/examples/video/server/jwplayer/pbs-ve-jwplayer-jwplayer7.html +++ b/examples/video/server/jwplayer/pbs-ve-jwplayer-jwplayer7.html @@ -175,6 +175,20 @@

Place this code in the page body.

- \ No newline at end of file + diff --git a/examples/video/server/jwplayer/pbs-ve-jwplayer-platform.html b/examples/video/server/jwplayer/pbs-ve-jwplayer-platform.html index a791d730db..ee23fe90a9 100644 --- a/examples/video/server/jwplayer/pbs-ve-jwplayer-platform.html +++ b/examples/video/server/jwplayer/pbs-ve-jwplayer-platform.html @@ -179,7 +179,20 @@

Place this code in the page body.

// we initialize our player instance, specifying the div to load it into var playerInstance = jwplayer('myElement1'); - function invokeVideoPlayer(url) { + __tcfapi("checkConsent", 2, (hasConsent, success) => { + if (hasConsent && success) { + videoHasConsent(); + } else { // doesn't have consent + document.getElementById("myElement1").innerHTML += '(Cookie permissions needed to demo this video player. Update Privacy Settings.)'; + } + }, { + data: [{ + purposeIds: [1] // asking for ability to set cookies + }] + }); + +function videoHasConsent() { + invokeVideoPlayer=function (url) { // this calls setup on the player we initialized // this will use the settings defined in the player we loaded above unless you override them here playerInstance.setup({ @@ -202,7 +215,7 @@

Place this code in the page body.

invokeVideoPlayer(tempTag); tempTag = false; } - +} - \ No newline at end of file + diff --git a/examples/video/server/jwplayer/pbs-ve-jwplayer-playlist.html b/examples/video/server/jwplayer/pbs-ve-jwplayer-playlist.html index f2eb304e67..e29d5a5a6e 100644 --- a/examples/video/server/jwplayer/pbs-ve-jwplayer-playlist.html +++ b/examples/video/server/jwplayer/pbs-ve-jwplayer-playlist.html @@ -196,6 +196,19 @@

Place this code in the page body.

var adTag = ""; var playerInstance = jwplayer('myElement1'); + __tcfapi("checkConsent", 2, (hasConsent, success) => { + if (hasConsent && success) { + videoHasConsent(); + } else { // doesn't have consent + document.getElementById("myElement1").innerHTML += '(Cookie permissions needed to demo this video player. Update Privacy Settings.)'; + } + }, { + data: [{ + purposeIds: [1] // asking for ability to set cookies + }] + }); + +function videoHasConsent() { invokeVideoPlayer = function(url) { adTag = url; console.log("MESSAGE: invoking the video player"); @@ -242,7 +255,7 @@

Place this code in the page body.

invokeVideoPlayer(tempTag); tempTag = false; } - + } - \ No newline at end of file + diff --git a/examples/video/server/kaltura/pbs-ve-kaltura.html b/examples/video/server/kaltura/pbs-ve-kaltura.html index 63f2d0eb13..b09aaee354 100644 --- a/examples/video/server/kaltura/pbs-ve-kaltura.html +++ b/examples/video/server/kaltura/pbs-ve-kaltura.html @@ -232,6 +232,18 @@

Place this code in the page body.

- \ No newline at end of file + diff --git a/examples/video/server/ooyala/pbs-ve-ooyala.html b/examples/video/server/ooyala/pbs-ve-ooyala.html index 7492ec603d..30943afb49 100644 --- a/examples/video/server/ooyala/pbs-ve-ooyala.html +++ b/examples/video/server/ooyala/pbs-ve-ooyala.html @@ -275,7 +275,22 @@

Place this code in the page body.

- \ No newline at end of file + diff --git a/examples/video/server/radiant/pbs-ve-radiant.html b/examples/video/server/radiant/pbs-ve-radiant.html index 1b8f4abe42..2ff222bab2 100644 --- a/examples/video/server/radiant/pbs-ve-radiant.html +++ b/examples/video/server/radiant/pbs-ve-radiant.html @@ -295,6 +295,20 @@

Place this code in the page body.

}); }); + __tcfapi("checkConsent", 2, (hasConsent, success) => { + if (hasConsent && success) { + videoHasConsent(); + } else { // doesn't have consent + document.getElementById("rmpPlayer").innerHTML += '(Cookie permissions needed to demo this video player. Update Privacy Settings.)'; + } + }, { + data: [{ + vendorId: 10064, + purposeIds: [1] // asking for ability to set cookies + }] + }); + + function videoHasConsent() { /* here we re-define invokeVideoPlayer with Radiant Media Player set-up */ pbApp.invokeVideoPlayer = function (adTagUrl) { if (pbApp.playerSetup) { @@ -347,5 +361,6 @@

Place this code in the page body.

} pbApp.invokeVideoPlayer(pbApp.fallbackAdTagUrl); }, pbApp.playerSetupTimeout); + } diff --git a/examples/video/server/videojs/pbs-ve-videojs.html b/examples/video/server/videojs/pbs-ve-videojs.html index 1154a644d2..1a444edce6 100644 --- a/examples/video/server/videojs/pbs-ve-videojs.html +++ b/examples/video/server/videojs/pbs-ve-videojs.html @@ -23,7 +23,7 @@

{{ page.title }}

-
+