diff --git a/modules/appnexusBidAdapter.js b/modules/appnexusBidAdapter.js
index 67388848815..d0f4774185e 100644
--- a/modules/appnexusBidAdapter.js
+++ b/modules/appnexusBidAdapter.js
@@ -33,6 +33,9 @@ const NATIVE_MAPPING = {
const SOURCE = 'pbjs';
const MAX_IMPS_PER_REQUEST = 15;
const mappingFileUrl = '//acdn.adnxs.com/prebid/appnexus-mapping/mappings.json';
+const SCRIPT_TAG_START = ''
+ },
'rtb': {
'banner': {
'content': '',
@@ -744,7 +747,8 @@ describe('AppNexusAdapter', function () {
'video': {
'content': ''
}
- }
+ },
+ 'javascriptTrackers': ''
}]
}]
};
@@ -775,6 +779,9 @@ describe('AppNexusAdapter', function () {
'content': '',
'duration_ms': 30000,
}
+ },
+ 'viewability': {
+ 'config': ''
}
}]
}]
@@ -831,7 +838,8 @@ describe('AppNexusAdapter', function () {
'saleprice': 'FREE',
'phone': '1234567890',
'address': '28 W 23rd St, New York, NY 10010',
- 'privacy_link': 'http://appnexus.com/?url=privacy_url'
+ 'privacy_link': 'http://appnexus.com/?url=privacy_url',
+ 'javascriptTrackers': ''
};
let bidderRequest = {
bids: [{
diff --git a/test/spec/unit/pbjs_api_spec.js b/test/spec/unit/pbjs_api_spec.js
index d4daec0c266..c73604cac82 100644
--- a/test/spec/unit/pbjs_api_spec.js
+++ b/test/spec/unit/pbjs_api_spec.js
@@ -434,7 +434,9 @@ describe('Unit: Prebid Module', function () {
'trackers': [{
'impression_urls': ['http://lax1-ib.adnxs.com/impression']
}]
- }
+ },
+ 'viewability': {
+ 'config': ''}
}]
}]
};
@@ -574,7 +576,9 @@ describe('Unit: Prebid Module', function () {
'trackers': [{
'impression_urls': ['http://lax1-ib.adnxs.com/impression']
}]
- }
+ },
+ 'viewability': {
+ 'config': ''}
}]
}]
};
@@ -606,7 +610,9 @@ describe('Unit: Prebid Module', function () {
'trackers': [{
'impression_urls': ['http://lax1-ib.adnxs.com/impression']
}]
- }
+ },
+ 'viewability': {
+ 'config': ''}
}]
}]
};