diff --git a/modules/feedadBidAdapter.js b/modules/feedadBidAdapter.js index 7c26e581e4c..b70314c5be4 100644 --- a/modules/feedadBidAdapter.js +++ b/modules/feedadBidAdapter.js @@ -85,7 +85,7 @@ const TAG = '[FeedAd]'; */ const PLACEMENT_ID_PATTERN = /^(([a-z0-9])+[-_]?)+$/; -const API_ENDPOINT = 'https://feedad-backend-dev.appspot.com'; +const API_ENDPOINT = 'https://api.feedad.com'; const API_PATH_BID_REQUEST = '/1/prebid/web/bids'; const API_PATH_TRACK_REQUEST = '/1/prebid/web/events'; diff --git a/test/spec/modules/feedadBidAdapter_spec.js b/test/spec/modules/feedadBidAdapter_spec.js index 5bf64683380..4bd163dacae 100644 --- a/test/spec/modules/feedadBidAdapter_spec.js +++ b/test/spec/modules/feedadBidAdapter_spec.js @@ -205,7 +205,7 @@ describe('FeedAdAdapter', function () { params: {clientToken: 'clientToken', placementId: 'placement-id'} }; let result = spec.buildRequests([bid], bidderRequest); - expect(result.url).to.equal('https://feedad-backend-dev.appspot.com/1/prebid/web/bids'); + expect(result.url).to.equal('https://api.feedad.com/1/prebid/web/bids'); }); it('should specify the content type explicitly', function () { let bid = { @@ -252,12 +252,12 @@ describe('FeedAdAdapter', function () { describe('interpretResponse', function () { const body = [{ - foo: "bar", + foo: 'bar', sub: { obj: 5 } }, { - bar: "foo" + bar: 'foo' }]; it('should convert string bodies to JSON', function () { @@ -415,7 +415,7 @@ describe('FeedAdAdapter', function () { subject(data, xhr); expect(xhr.callCount).to.equal(1); let call = xhr.getCall(0); - expect(call.args[0]).to.equal('https://feedad-backend-dev.appspot.com/1/prebid/web/events'); + expect(call.args[0]).to.equal('https://api.feedad.com/1/prebid/web/events'); expect(call.args[1]).to.be.null; expect(JSON.parse(call.args[2])).to.deep.equal(expectedData); expect(call.args[3]).to.deep.equal({