diff --git a/modules/amxBidAdapter.js b/modules/amxBidAdapter.js index 5794b52dce0..d48245e9604 100644 --- a/modules/amxBidAdapter.js +++ b/modules/amxBidAdapter.js @@ -8,7 +8,7 @@ const BIDDER_CODE = 'amx'; const storage = getStorageManager(737, BIDDER_CODE); const SIMPLE_TLD_TEST = /\.com?\.\w{2,4}$/; const DEFAULT_ENDPOINT = 'https://prebid.a-mo.net/a/c'; -const VERSION = 'pba1.2.1'; +const VERSION = 'pba1.3.1'; const VAST_RXP = /^\s*<\??(?:vast|xml)/i; const TRACKING_ENDPOINT = 'https://1x1.a-mo.net/hbx/'; const AMUID_KEY = '__amuidpb'; @@ -334,6 +334,7 @@ export const spec = { advertiserDomains: bid.adomain, mediaType, }, + mediaType, ttl: typeof bid.exp === 'number' ? bid.exp : defaultExpiration, }); })).filter((possibleBid) => possibleBid != null); diff --git a/test/spec/modules/amxBidAdapter_spec.js b/test/spec/modules/amxBidAdapter_spec.js index 863a8a1d0fc..f502d631c17 100644 --- a/test/spec/modules/amxBidAdapter_spec.js +++ b/test/spec/modules/amxBidAdapter_spec.js @@ -439,6 +439,7 @@ describe('AmxBidAdapter', () => { ...baseBidResponse.meta, mediaType: BANNER, }, + mediaType: BANNER, width: 300, height: 600, // from the bid itself ttl: 90, @@ -458,6 +459,7 @@ describe('AmxBidAdapter', () => { ...baseBidResponse.meta, mediaType: VIDEO, }, + mediaType: VIDEO, vastXml: sampleVideoAd(''), width: 300, height: 250,