Skip to content

Commit

Permalink
added prebid version support to ixdiag (#6292)
Browse files Browse the repository at this point in the history
  • Loading branch information
lksharma authored Feb 17, 2021
1 parent 46152b2 commit 838ede5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion modules/ixBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -511,7 +511,8 @@ function buildIXDiag(validBidRequests) {
nu: 0,
ou: 0,
allU: 0,
ren: false
ren: false,
version: '$prebid.version$'
};

// create ad unit map and collect the required diag properties
Expand Down
1 change: 1 addition & 0 deletions test/spec/modules/ixBidAdapter_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -1496,6 +1496,7 @@ describe('IndexexchangeAdapter', function () {
expect(diagObj.ren).to.equal(false);
expect(diagObj.mfu).to.equal(1);
expect(diagObj.allU).to.equal(1);
expect(diagObj.version).to.equal('$prebid.version$');
});
});
});
Expand Down

0 comments on commit 838ede5

Please sign in to comment.