Skip to content

Commit

Permalink
Code improvement for trustx adapter (prebid#1673)
Browse files Browse the repository at this point in the history
* Add trustx adapter and tests for it

* update integration example

* Update trustx adapter

* Post-review fixes of Trustx adapter

* Code improvement for trustx adapter: changed default price type from gross to net
  • Loading branch information
PWyrembak authored and mattpr committed Oct 31, 2017
1 parent cbf3a8b commit 6eb43b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/trustxBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ var TrustxAdapter = function TrustxAdapter() {
query.push('u=' + encodeURIComponent(location.href));
query.push('auids=' + encodeURIComponent(auids.join(',')));
query.push('cb=' + _makeHandler(auids, placementMap));
query.push('pt=' + (window.globalPrebidTrustxPriceType === 'net' ? 'net' : 'gross'));
query.push('pt=' + (window.globalPrebidTrustxPriceType === 'gross' ? 'gross' : 'net'));

adloader.loadScript(reqHost + path + query.join('&'));
}
Expand Down

0 comments on commit 6eb43b7

Please sign in to comment.