Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TL-17557: Incorrectly passing FPD KVs #12

Merged
8 commits merged into from
Dec 1, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion modules/tripleliftBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,8 @@ function _buildPostBody(bidRequests) {
let imp = {
id: index,
tagid: bidRequest.params.inventoryCode,
floor: _getFloor(bidRequest)
floor: _getFloor(bidRequest),
fpd: _getAdUnitFpd(bidRequest)
};
// remove the else to support multi-imp
if (_isInstreamBidRequest(bidRequest)) {
Expand Down Expand Up @@ -202,6 +203,11 @@ function _getGlobalFpd() {
return fpd;
}

function _getAdUnitFpd(bid) {
let fpd = {};
return fpd;
This conversation was marked as resolved.
Show resolved Hide resolved
}

function _addEntries(target, source) {
if (!utils.isEmpty(source)) {
Object.keys(source).forEach(key => {
Expand Down