Skip to content

Commit

Permalink
UPDATE: remove hardcoded test payload param
Browse files Browse the repository at this point in the history
  • Loading branch information
marc_tappx committed Feb 12, 2021
1 parent 6821097 commit 27ad52a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion modules/tappxBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ function buildOneRequest(validBidRequests, bidderRequest) {

// > Payload
payload.id = validBidRequests.auctionId;
payload.test = 1;
payload.test = utils.deepAccess(validBidRequests, 'params.test') ? 1 : 0;
payload.at = 1;
payload.tmax = bidderRequest.timeout ? bidderRequest.timeout : 600;
payload.bidder = BIDDER_CODE;
Expand Down
3 changes: 2 additions & 1 deletion modules/tappxBidAdapter.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ Ads sizes available: [320,50], [300,250], [320,480], [1024,768], [728,90]
host: "testing.ssp.tappx.com/rtb/v2/",
tappxkey: "pub-1234-android-1234",
endpoint: "ZZ1234PBJS",
bidfloor: 0.005
bidfloor: 0.005,
test: true // Optional for testing purposes
}
}
]
Expand Down

0 comments on commit 27ad52a

Please sign in to comment.