From 73e9ef15d298ce687f7e5593bfd03a53f61f7288 Mon Sep 17 00:00:00 2001 From: Jeremy Blencowe Date: Tue, 11 Sep 2018 14:14:51 -0700 Subject: [PATCH] AOL adapter - add defaults for currency and creative ID until fix issued server-side (#3068) * Add AOL defaults for currency and creative ID until fix issued server-side * Satisfy linter single quotes --- modules/aolBidAdapter.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/aolBidAdapter.js b/modules/aolBidAdapter.js index 28e8cb0b46e..3d89007bbc2 100644 --- a/modules/aolBidAdapter.js +++ b/modules/aolBidAdapter.js @@ -387,9 +387,9 @@ export const spec = { cpm: cpm, width: bidData.w, height: bidData.h, - creativeId: bidData.crid, + creativeId: bidData.crid || 0, pubapiId: response.id, - currency: response.cur, + currency: response.cur || 'USD', dealId: bidData.dealid, netRevenue: true, ttl: bidRequest.ttl