File tree Expand file tree Collapse file tree 3 files changed +0
-28
lines changed Expand file tree Collapse file tree 3 files changed +0
-28
lines changed Original file line number Diff line number Diff line change @@ -370,15 +370,6 @@ class Bling extends Component {
370
370
static clear ( slots ) {
371
371
Bling . _adManager . clear ( slots ) ;
372
372
}
373
- /**
374
- * Updates the correlator value for the next ad request.
375
- *
376
- * @method updateCorrelator
377
- * @static
378
- */
379
- static updateCorrelator ( ) {
380
- Bling . _adManager . updateCorrelator ( ) ;
381
- }
382
373
383
374
static set testManager ( testManager ) {
384
375
invariant ( testManager , "Pass in createManagerTest to mock GPT" ) ;
@@ -724,12 +715,6 @@ class Bling extends Component {
724
715
if ( content ) {
725
716
Bling . _adManager . googletag . content ( ) . setContent ( adSlot , content ) ;
726
717
} else {
727
- if (
728
- ! Bling . _adManager . _disableInitialLoad &&
729
- ! Bling . _adManager . _syncCorrelator
730
- ) {
731
- Bling . _adManager . updateCorrelator ( ) ;
732
- }
733
718
Bling . _adManager . googletag . display ( divId ) ;
734
719
if (
735
720
Bling . _adManager . _disableInitialLoad &&
Original file line number Diff line number Diff line change @@ -428,9 +428,6 @@ export class AdManager extends EventEmitter {
428
428
// first instance updates correlator value and re-render each ad
429
429
const instances = this . getMountedInstances ( ) ;
430
430
instances . forEach ( ( instance , i ) => {
431
- if ( i === 0 ) {
432
- this . updateCorrelator ( ) ;
433
- }
434
431
instance . forceUpdate ( ) ;
435
432
} ) ;
436
433
@@ -451,15 +448,6 @@ export class AdManager extends EventEmitter {
451
448
return this . googletag . pubads ( ) . getVersion ( ) ;
452
449
}
453
450
454
- updateCorrelator ( ) {
455
- if ( ! this . pubadsReady ) {
456
- return false ;
457
- }
458
- this . googletag . pubads ( ) . updateCorrelator ( ) ;
459
-
460
- return true ;
461
- }
462
-
463
451
load ( url ) {
464
452
return (
465
453
this . _loadPromise ||
Original file line number Diff line number Diff line change @@ -60,7 +60,6 @@ export const pubadsAPI = [
60
60
[ "getVideoContent" , "function" ] ,
61
61
[ "getCorrelator" , "function" ] ,
62
62
[ "setCorrelator" , "function" ] ,
63
- [ "updateCorrelator" , "function" ] ,
64
63
[ "isAdRequestFinished" , "function" ] ,
65
64
[ "collapseEmptyDivs" , "function" ] ,
66
65
[ "clear" , "function" ] ,
You can’t perform that action at this time.
0 commit comments