diff --git a/integrationExamples/gpt/gdpr_hello_world.html b/integrationExamples/gpt/gdpr_hello_world.html
index de0630178f1..2d70af8d34f 100644
--- a/integrationExamples/gpt/gdpr_hello_world.html
+++ b/integrationExamples/gpt/gdpr_hello_world.html
@@ -82,7 +82,7 @@
-
+
+
+
-
+
Prebid.js Test
Div-1
diff --git a/integrationExamples/gpt/haloRtdProvider_example.html b/integrationExamples/gpt/haloRtdProvider_example.html
index 7f9a34e55ee..14debbd2698 100644
--- a/integrationExamples/gpt/haloRtdProvider_example.html
+++ b/integrationExamples/gpt/haloRtdProvider_example.html
@@ -40,27 +40,6 @@
googletag.pubads().disableInitialLoad();
});
- var appnexusSegmentHandler = function(bid, segments) {
- if (!bid.params) {
- bid.params = {};
- }
- if (!bid.params.user) {
- bid.params.user = {};
- }
-
- if (!Array.isArray(bid.params.user.segments)) {
- bid.params.user.segments = [];
- }
-
- var appnexusSegments = [];
- for (var i = 0; i < segments.length; i++) {
- var segment = segments[i];
- let appnexusSegment = {'id': segment.id, 'value': segment.value};
- appnexusSegments.push(appnexusSegment);
- }
- bid.params.user.segments = bid.params.user.segments.concat(appnexusSegments);
- };
-
pbjs.que.push(function() {
pbjs.setConfig({
debug: true,
@@ -71,9 +50,6 @@
name: "halo",
waitForIt: true,
params: {
- mapSegments: {
- appnexus: appnexusSegmentHandler // pass true to use the builtin handler. here, we will demo overriding the handler with a function
- },
segmentCache: false,
requestParams: {
publisherId: 0
@@ -89,7 +65,7 @@
});
function sendAdserverRequest() {
- document.getElementById('audigent_segments').innerHTML = JSON.stringify(adUnits[0].bids[0].params.user.segments);
+ document.getElementById('audigent_segments').innerHTML = window.localStorage.getItem('auHaloRtd');
document.getElementById('halo_id').innerHTML = testHaloId;
if (pbjs.adserverRequestSent) return;
@@ -130,7 +106,7 @@
-Audigent Segments Prebid
+Halo RTD Prebid
+
+
+
+
+
+
+
+
+
+
+
+
+Give consent or make a choice in Europe. Module will add key/value pairs in ad calls. Check out for sd_rtd key in Google Ad call (https://securepubads.g.doubleclick.net/gampad/ads...) and in the payload sent to Xandr to endpoint https://ib.adnxs.com/ut/v3/prebid : tags[0].keywords.key[sd_rtd] should have an array of string as value. This array will mix user segments and/or page categories based on user's choices.
+
+
+
Basic Prebid.js Example
+
Div-1
+
+
+
+
+
+