Skip to content

Commit bceb74f

Browse files
matthewlanejaiminpanchal27
authored andcommitted
Remove description_url (#1922)
1 parent ca62874 commit bceb74f

14 files changed

+2
-16
lines changed

modules/admixerBidAdapter.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@ var AdmixerAdapter = function AdmixerAdapter() {
6262
if (bid.vastUrl) {
6363
bidObject.mediaType = 'video';
6464
bidObject.vastUrl = bid.vastUrl;
65-
bidObject.descriptionUrl = bid.vastUrl;
6665
} else {
6766
bidObject.ad = bid.ad;
6867
}

modules/adxcgBidAdapter.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,6 @@ export const spec = {
102102
bid.ad = serverResponseOneItem.ad;
103103
} else if (serverResponseOneItem.vastUrl) {
104104
bid.vastUrl = serverResponseOneItem.vastUrl;
105-
bid.descriptionUrl = serverResponseOneItem.vastUrl;
106105
bid.mediaType = 'video';
107106
} else if (serverResponseOneItem.nativeResponse) {
108107
bid.mediaType = 'native';

modules/aerservBidAdapter.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ const AerServAdapter = function AerServAdapter() {
3333
bid.height = response.h;
3434
if (bidRequest.mediaType === 'video') {
3535
bid.vastUrl = response.vastUrl;
36-
bid.descriptionUrl = response.vastUrl;
3736
bid.mediaType = 'video';
3837
} else {
3938
bid.ad = response.adm;

modules/appnexusAstBidAdapter.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,6 @@ function newBid(serverBid, rtbBid) {
193193
width: rtbBid.rtb.video.player_width,
194194
height: rtbBid.rtb.video.player_height,
195195
vastUrl: rtbBid.rtb.video.asset_url,
196-
descriptionUrl: rtbBid.rtb.video.asset_url,
197196
ttl: 3600
198197
});
199198
// This supports Outstream Video

modules/indexExchangeBidAdapter.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -907,7 +907,6 @@ var IndexExchangeAdapter = function IndexExchangeAdapter() {
907907
bid.width = cygnusRequest.video.w;
908908
bid.height = cygnusRequest.video.h;
909909
bid.vastUrl = cygnusBid.ext.vasturl;
910-
bid.descriptionUrl = cygnusBid.ext.vasturl;
911910
bid.mediaType = 'video';
912911

913912
bidmanager.addBidResponse(prebidRequest.placementCode, bid);

modules/rubiconBidAdapter.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,6 @@ export const spec = {
273273
bid.width = bidRequest.params.video.playerWidth;
274274
bid.height = bidRequest.params.video.playerHeight;
275275
bid.vastUrl = ad.creative_depot_url;
276-
bid.descriptionUrl = ad.impression_id;
277276
bid.impression_id = ad.impression_id;
278277
} else {
279278
bid.ad = _renderCreative(ad.script, ad.impression_id);

modules/vertamediaBidAdapter.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,6 @@ function getSize(requestSizes) {
105105
function createBid(bidResponse) {
106106
return {
107107
requestId: bidResponse.requestId,
108-
descriptionUrl: bidResponse.url,
109108
creativeId: bidResponse.cmpId,
110109
vastUrl: bidResponse.vastUrl,
111110
height: bidResponse.height,

src/adserver.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ exports.dfpAdserver = function (options, urlComponents) {
3131
adserver.appendQueryParams = function() {
3232
var bid = adserver.getWinningBidByCode();
3333
if (bid) {
34-
this.urlComponents.search.description_url = encodeURIComponent(bid.descriptionUrl);
34+
this.urlComponents.search.description_url = encodeURIComponent(bid.vastUrl);
3535
this.urlComponents.search.cust_params = getCustomParams(bid.adserverTargeting);
3636
this.urlComponents.search.correlator = Date.now();
3737
}

test/spec/modules/adxcgBidAdapter_spec.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,6 @@ describe('AdxcgAdapter', () => {
218218
expect(result[0].creativeId).to.equal(42);
219219
expect(result[0].cpm).to.equal(0.45);
220220
expect(result[0].vastUrl).to.equal('vastContentUrl');
221-
expect(result[0].descriptionUrl).to.equal('vastContentUrl');
222221
expect(result[0].currency).to.equal('USD');
223222
expect(result[0].netRevenue).to.equal(true);
224223
expect(result[0].ttl).to.equal(300);

test/spec/modules/appnexusAstBidAdapter_spec.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,6 @@ describe('AppNexusAdapter', () => {
388388

389389
let result = spec.interpretResponse({ body: response }, {bidderRequest});
390390
expect(result[0]).to.have.property('vastUrl');
391-
expect(result[0]).to.have.property('descriptionUrl');
392391
expect(result[0]).to.have.property('mediaType', 'video');
393392
});
394393

test/spec/modules/indexExchangeBidAdapter_video_spec.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const PREBID_REQUEST = { 'bidderCode': 'indexExchange', 'requestId': '6f4cb846-1
88

99
const CYGNUS_REQUEST_R_PARAM = { 'id': '16940e979c42d4', 'imp': [{ 'id': '2f4e1cc0f992f2', 'ext': { 'siteID': 6, 'sid': 'pr_1_1_s' }, 'video': { 'protocols': [2, 5, 3, 6], 'maxduration': 15, 'minduration': 0, 'startdelay': 0, 'linearity': 1, 'mimes': ['video/mp4', 'video/webm'], 'w': 640, 'h': 480 } }], 'site': { 'page': 'http://localhost:9876/' }};
1010

11-
const PREBID_RESPONSE = { 'bidderCode': 'indexExchange', 'width': 640, 'height': 480, 'statusMessage': 'Bid available', 'adId': '2f4e1cc0f992f2', 'code': 'indexExchange', 'cpm': 10, 'vastUrl': 'http://vast.url', 'descriptionUrl': 'http://vast.url' };
11+
const PREBID_RESPONSE = { 'bidderCode': 'indexExchange', 'width': 640, 'height': 480, 'statusMessage': 'Bid available', 'adId': '2f4e1cc0f992f2', 'code': 'indexExchange', 'cpm': 10, 'vastUrl': 'http://vast.url' };
1212

1313
const CYGNUS_RESPONSE = { 'seatbid': [{ 'bid': [{ 'crid': '1', 'adomain': ['vastdsp.com'], 'adid': '1', 'impid': '2f4e1cc0f992f2', 'cid': '1', 'id': '1', 'ext': { 'vasturl': 'http://vast.url', 'errorurl': 'http://error.url', 'dspid': 1, 'pricelevel': '_1000', 'advbrandid': 75, 'advbrand': 'Nacho Momma' } }], 'seat': '1' }], 'cur': 'USD', 'id': '16940e979c42d4' };
1414

@@ -944,7 +944,6 @@ describe('indexExchange adapter - Video', () => {
944944
expect(response).to.have.property('statusMessage', PREBID_RESPONSE.statusMessage);
945945
expect(response).to.have.property('cpm', PREBID_RESPONSE.cpm);
946946
expect(response).to.have.property('vastUrl', PREBID_RESPONSE.vastUrl);
947-
expect(response).to.have.property('descriptionUrl', PREBID_RESPONSE.descriptionUrl);
948947
expect(response).to.have.property('width', PREBID_RESPONSE.width);
949948
expect(response).to.have.property('height', PREBID_RESPONSE.height);
950949
});

test/spec/modules/rubiconBidAdapter_spec.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -763,7 +763,6 @@ describe('the rubicon adapter', () => {
763763
expect(bids[0].cpm).to.equal(1);
764764
expect(bids[0].ttl).to.equal(300);
765765
expect(bids[0].netRevenue).to.equal(false);
766-
expect(bids[0].descriptionUrl).to.equal('a40fe16e-d08d-46a9-869d-2e1573599e0c');
767766
expect(bids[0].vastUrl).to.equal(
768767
'https://fastlane-adv.rubiconproject.com/v1/creative/a40fe16e-d08d-46a9-869d-2e1573599e0c.xml'
769768
);

test/spec/modules/vertamediaBidAdapter_spec.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ const serverResponse = {
1919
'source': {'aid': 12345, 'pubId': 54321},
2020
'bids': [{
2121
'vastUrl': 'http://rtb.vertamedia.com/vast/?adid=44F2AEB9BFC881B3',
22-
'descriptionUrl': '44F2AEB9BFC881B3',
2322
'requestId': '2e41f65424c87c',
2423
'url': '44F2AEB9BFC881B3',
2524
'creative_id': 342516,
@@ -86,7 +85,6 @@ describe('vertamediaBidAdapter', () => {
8685
const result = spec.interpretResponse({body: serverResponse}, {bidderRequest});
8786
const eq = [{
8887
vastUrl: 'http://rtb.vertamedia.com/vast/?adid=44F2AEB9BFC881B3',
89-
descriptionUrl: '44F2AEB9BFC881B3',
9088
requestId: '2e41f65424c87c',
9189
creativeId: 342516,
9290
mediaType: 'video',

test/spec/unit/pbjs_api_spec.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1608,7 +1608,6 @@ describe('Unit: Prebid Module', function () {
16081608
'creative_id': 29681110,
16091609
'cpm': 10,
16101610
'vastUrl': 'http://www.simplevideoad.com/',
1611-
'descriptionUrl': 'http://www.simplevideoad.com/',
16121611
'responseTimestamp': 1462919239340,
16131612
'requestTimestamp': 1462919238919,
16141613
'bidder': 'appnexus',

0 commit comments

Comments
 (0)