Skip to content

Commit

Permalink
Add a version to the Criteo adapter (#1573)
Browse files Browse the repository at this point in the history
  • Loading branch information
SebastienGaspar authored and Matt Kendall committed Sep 13, 2017
1 parent 0d02f82 commit 0e167ad
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion modules/criteoBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ var CriteoAdapter = function CriteoAdapter() {
var _publisherTagUrl = sProt + '//static.criteo.net/js/ld/publishertag.js';
var _bidderCode = 'criteo';
var _profileId = 125;
var _adapterVersion = 1;

function _callBids(params) {
if (!window.criteo_pubtag || window.criteo_pubtag instanceof Array) {
Expand Down Expand Up @@ -77,7 +78,8 @@ var CriteoAdapter = function CriteoAdapter() {
_callbackError(slots), // timeout handled as error
undefined,
networkid,
integrationMode
integrationMode,
_adapterVersion
);

// process the event as soon as possible
Expand Down

0 comments on commit 0e167ad

Please sign in to comment.