From e7adb7df5f0a5c616e1ade659fee84ef1f09ccef Mon Sep 17 00:00:00 2001 From: Piotr Jaworski Date: Thu, 25 Aug 2022 17:30:05 +0200 Subject: [PATCH] examples reverted --- integrationExamples/gpt/gdpr_hello_world.html | 65 ++----------------- integrationExamples/gpt/hello_world.html | 24 ++----- 2 files changed, 9 insertions(+), 80 deletions(-) diff --git a/integrationExamples/gpt/gdpr_hello_world.html b/integrationExamples/gpt/gdpr_hello_world.html index faf0f2e6ba6..c62569cfc4f 100644 --- a/integrationExamples/gpt/gdpr_hello_world.html +++ b/integrationExamples/gpt/gdpr_hello_world.html @@ -29,13 +29,12 @@ // Replace this object to test a new Adapter! bids: [{ - bidder: "rtbhouse", - params: { - region: "prebid-eu", //required - publisherId: "test", //required, - bidfloor: 0.01 // optional, - } + bidder: 'appnexus', + params: { + placementId: 13144370 + } }] + }]; var pbjs = pbjs || {}; @@ -62,60 +61,6 @@ enable: false } }); - pbjs.setBidderConfig({ - bidders: ["rtbhouse"], - config: { - ortb2: { - site: { - name: "example", - domain: "page.example.com", - cat: ["IAB2"], - sectioncat: ["IAB2-2"], - pagecat: ["IAB2-2"], - page: "https://page.example.com/here.html", - ref: "https://ref.example.com", - keywords: "power tools, drills", - search: "drill", - content: { - userrating: "4", - data: [{ - name: "www.dataprovider1.com", - ext: { - segtax: 7, - cids: [ "iris_c73g5jq96mwso4d8" ] - }, - segment: [ - { id: "687" }, - { id: "123" } - ] - }] - }, - ext: { - data: { // fields that aren't part of openrtb 2.5 - pageType: "article", - category: "repair" - } - } - }, - user: { - yob: 1985, - gender: "m", - keywords: "a,b", - data: [{ - name: "dataprovider.com", - ext: {segtax: 4 }, - segment: [{ id: "1" }] - }], - ext: { - data: { - registered: true, - interests: ["cars"] - } - } - } - }, - }, - }); pbjs.requestBids({ bidsBackHandler: sendAdserverRequest, timeout: PREBID_TIMEOUT diff --git a/integrationExamples/gpt/hello_world.html b/integrationExamples/gpt/hello_world.html index b8ea885947d..47ba5b8f18a 100755 --- a/integrationExamples/gpt/hello_world.html +++ b/integrationExamples/gpt/hello_world.html @@ -24,12 +24,11 @@ }, // Replace this object to test a new Adapter! bids: [{ - bidder: "rtbhouse", + bidder: 'appnexus', params: { - region: "prebid-eu", //required - publisherId: "test", //required, - bidfloor: 0.01 // optional, - }}] + placementId: 13144370 + } + }] }]; @@ -47,21 +46,6 @@ pbjs.que.push(function() { pbjs.addAdUnits(adUnits); - pbjs.setBidderConfig({ - bidders: ["rtbhouse"], - config: { - ortb2: { - user: { - ext: { - data: { - registered: true, - interests: ["cars"], - }, - }, - }, - }, - }, - }); pbjs.requestBids({ bidsBackHandler: sendAdserverRequest, timeout: PREBID_TIMEOUT