Skip to content

Commit

Permalink
Adkernel 3.0 compatibility (#4477)
Browse files Browse the repository at this point in the history
  • Loading branch information
ckbo3hrk authored and jsnellbaker committed Nov 18, 2019
1 parent b2f4e09 commit 287bc33
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion modules/adkernelAdnBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ export const spec = {
let request = buildRequestParams(dispatch[host][pubId], auctionId, transactionId, gdprConsent, refererInfo);
requests.push({
method: 'POST',
url: `//${host}/tag?account=${pubId}&pb=1${isRtbDebugEnabled(refererInfo) ? '&debug=1' : ''}`,
url: `https://${host}/tag?account=${pubId}&pb=1${isRtbDebugEnabled(refererInfo) ? '&debug=1' : ''}`,
data: JSON.stringify(request)
})
});
Expand Down
2 changes: 1 addition & 1 deletion modules/adkernelBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export const spec = {
const request = buildRtbRequest(impDispatch[host][zoneId], auctionId, gdprConsent, bidderRequest.refererInfo);
requests.push({
method: 'POST',
url: `${window.location.protocol}//${host}/hb?zone=${zoneId}&v=${VERSION}`,
url: `https://${host}/hb?zone=${zoneId}&v=${VERSION}`,
data: JSON.stringify(request)
});
});
Expand Down
2 changes: 0 additions & 2 deletions test/spec/modules/adkernelAdnBidAdapter_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ describe('AdkernelAdn adapter', function () {
bidderRequestId: 'req1',
auctionId: '5c66da22-426a-4bac-b153-77360bef5337',
bidId: 'bidid_5',
sizes: [[1920, 1080]],
mediaTypes: {
video: {
playerSize: [1920, 1080],
Expand All @@ -91,7 +90,6 @@ describe('AdkernelAdn adapter', function () {
bidderRequestId: 'req-001',
auctionId: 'auc-001',
bidId: 'Bid_01',
sizes: [[300, 250], [300, 200]],
mediaTypes: {
banner: {sizes: [[300, 250], [300, 200]]},
video: {context: 'instream', playerSize: [[640, 480]]}
Expand Down
2 changes: 0 additions & 2 deletions test/spec/modules/adkernelBidAdapter_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@ describe('Adkernel adapter', function () {
bidId: 'Bid_Video',
bidderRequestId: '18b2a61ea5d9a7',
auctionId: 'de45acf1-9109-4e52-8013-f2b7cf5f6766',
sizes: [[640, 480]],
params: {
zoneId: 1,
host: 'rtb.adkernel.com',
Expand All @@ -103,7 +102,6 @@ describe('Adkernel adapter', function () {
},
adUnitCode: 'ad-unit-1',
transactionId: 'f82c64b8-c602-42a4-9791-4a268f6559ed',
sizes: [[300, 250], [300, 200]],
bidId: 'Bid_01',
bidderRequestId: 'req-001',
auctionId: 'auc-001'
Expand Down

0 comments on commit 287bc33

Please sign in to comment.