Skip to content

Commit

Permalink
Yieldlab Adapter: Change URI of outstream renderer (prebid#6211)
Browse files Browse the repository at this point in the history
* Change OUTSTREAMPLAYER_URL

* Change OUTSTREAMPLAYER_URL
  • Loading branch information
BertiBauer authored and stsepelin committed May 28, 2021
1 parent f1c46b2 commit ef09a4e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion modules/yieldlabBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const ENDPOINT = 'https://ad.yieldlab.net'
const BIDDER_CODE = 'yieldlab'
const BID_RESPONSE_TTL_SEC = 300
const CURRENCY_CODE = 'EUR'
const OUTSTREAMPLAYER_URL = 'https://ad2.movad.net/dynamic.ad?a=o193092&ma_loadEvent=ma-start-event'
const OUTSTREAMPLAYER_URL = 'https://ad.adition.com/dynamic.ad?a=o193092&ma_loadEvent=ma-start-event'

export const spec = {
code: BIDDER_CODE,
Expand Down
2 changes: 1 addition & 1 deletion test/spec/modules/yieldlabBidAdapter_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ describe('yieldlabBidAdapter', function () {
const result = spec.interpretResponse({body: [VIDEO_RESPONSE]}, {validBidRequests: [OUTSTREAM_REQUEST], queryParams: REQPARAMS})

expect(result[0].renderer.id).to.equal('2d925f27f5079f')
expect(result[0].renderer.url).to.equal('https://ad2.movad.net/dynamic.ad?a=o193092&ma_loadEvent=ma-start-event')
expect(result[0].renderer.url).to.equal('https://ad.adition.com/dynamic.ad?a=o193092&ma_loadEvent=ma-start-event')
expect(result[0].width).to.equal(640)
expect(result[0].height).to.equal(480)
})
Expand Down

0 comments on commit ef09a4e

Please sign in to comment.