Skip to content

Commit

Permalink
examples reverted
Browse files Browse the repository at this point in the history
  • Loading branch information
piotrj-rtbh committed Aug 25, 2022
1 parent e0db59f commit e7adb7d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 80 deletions.
65 changes: 5 additions & 60 deletions integrationExamples/gpt/gdpr_hello_world.html
Original file line number Diff line number Diff line change
Expand Up @@ -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 || {};
Expand All @@ -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
Expand Down
24 changes: 4 additions & 20 deletions integrationExamples/gpt/hello_world.html
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}]

}];

Expand All @@ -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
Expand Down

0 comments on commit e7adb7d

Please sign in to comment.