@@ -3,7 +3,6 @@ import {registerBidder} from '../src/adapters/bidderFactory.js';
3
3
import { BANNER , VIDEO } from '../src/mediaTypes.js' ;
4
4
import { config } from '../src/config.js' ;
5
5
import { parseDomain } from '../src/refererDetection.js' ;
6
- import { ajax } from '../src/ajax.js' ;
7
6
8
7
/**
9
8
* @typedef {import('../src/adapters/bidderFactory.js').BidRequest } BidRequest
@@ -15,7 +14,6 @@ import {ajax} from '../src/ajax.js';
15
14
16
15
const BIDDER_CODE = 'zeta_global_ssp' ;
17
16
const ENDPOINT_URL = 'https://ssp.disqus.com/bid/prebid' ;
18
- const TIMEOUT_URL = 'https://ssp.disqus.com/timeout/prebid' ;
19
17
const USER_SYNC_URL_IFRAME = 'https://ssp.disqus.com/sync?type=iframe' ;
20
18
const USER_SYNC_URL_IMAGE = 'https://ssp.disqus.com/sync?type=image' ;
21
19
const DEFAULT_CUR = 'USD' ;
@@ -268,25 +266,6 @@ export const spec = {
268
266
url : USER_SYNC_URL_IMAGE + syncurl
269
267
} ] ;
270
268
}
271
- } ,
272
-
273
- onTimeout : function ( timeoutData ) {
274
- if ( timeoutData ) {
275
- const payload = timeoutData . map ( d => ( {
276
- bidder : d ?. bidder ,
277
- shortname : d ?. params ?. map ( p => p ?. tags ?. shortname ) . find ( p => p ) ,
278
- sid : d ?. params ?. map ( p => p ?. sid ) . find ( p => p ) ,
279
- country : d ?. ortb2 ?. device ?. geo ?. country ,
280
- devicetype : d ?. ortb2 ?. device ?. devicetype
281
- } ) ) ;
282
- ajax ( TIMEOUT_URL , null , JSON . stringify ( payload ) , {
283
- method : 'POST' ,
284
- options : {
285
- withCredentials : false ,
286
- contentType : 'application/json'
287
- }
288
- } ) ;
289
- }
290
269
}
291
270
}
292
271
0 commit comments