Skip to content

Commit

Permalink
Prebid 8: update PBS adapter defaults to signal support for native js…
Browse files Browse the repository at this point in the history
… trackers (#9900)
  • Loading branch information
dgirardi authored Jun 1, 2023
1 parent e782d7b commit 76d8e57
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions modules/prebidServerBidAdapter/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,10 +96,8 @@ export const s2sDefaultConfig = {
adapterOptions: {},
syncUrlModifier: {},
ortbNative: {
context: 1,
plcmttype: 1,
eventtrackers: [
{event: 1, methods: [1]}
{event: 1, methods: [1, 2]}
],
}
};
Expand Down
4 changes: 1 addition & 3 deletions test/spec/modules/prebidServerBidAdapter_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -1402,11 +1402,9 @@ describe('S2S Adapter', function () {
const ortbReq = JSON.parse(requestBid.imp[0].native.request);
expect(ortbReq).to.deep.equal({
...ORTB_NATIVE_REQ,
'context': 1,
'plcmttype': 1,
'eventtrackers': [{
event: 1,
methods: [1]
methods: [1, 2]
}],
});
expect(requestBid.imp[0].native.ver).to.equal('1.2');
Expand Down

0 comments on commit 76d8e57

Please sign in to comment.