diff --git a/src/adapters/criteo.js b/src/adapters/criteo.js index 75d5e928e2c..5da825396f7 100644 --- a/src/adapters/criteo.js +++ b/src/adapters/criteo.js @@ -53,7 +53,7 @@ var CriteoAdapter = function CriteoAdapter() { adResponse = bidfactory.createBid(1); adResponse.bidderCode = 'criteo'; - adResponse.keys = content.split(';'); + adResponse.keys = content.replace(/\;$/, '').split(';'); } else { // Indicate an ad was not returned adResponse = bidfactory.createBid(2); @@ -71,4 +71,4 @@ var CriteoAdapter = function CriteoAdapter() { }; }; -module.exports = CriteoAdapter; \ No newline at end of file +module.exports = CriteoAdapter;