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 {
370370 static clear ( slots ) {
371371 Bling . _adManager . clear ( slots ) ;
372372 }
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- }
382373
383374 static set testManager ( testManager ) {
384375 invariant ( testManager , "Pass in createManagerTest to mock GPT" ) ;
@@ -724,12 +715,6 @@ class Bling extends Component {
724715 if ( content ) {
725716 Bling . _adManager . googletag . content ( ) . setContent ( adSlot , content ) ;
726717 } else {
727- if (
728- ! Bling . _adManager . _disableInitialLoad &&
729- ! Bling . _adManager . _syncCorrelator
730- ) {
731- Bling . _adManager . updateCorrelator ( ) ;
732- }
733718 Bling . _adManager . googletag . display ( divId ) ;
734719 if (
735720 Bling . _adManager . _disableInitialLoad &&
Original file line number Diff line number Diff line change @@ -428,9 +428,6 @@ export class AdManager extends EventEmitter {
428428 // first instance updates correlator value and re-render each ad
429429 const instances = this . getMountedInstances ( ) ;
430430 instances . forEach ( ( instance , i ) => {
431- if ( i === 0 ) {
432- this . updateCorrelator ( ) ;
433- }
434431 instance . forceUpdate ( ) ;
435432 } ) ;
436433
@@ -451,15 +448,6 @@ export class AdManager extends EventEmitter {
451448 return this . googletag . pubads ( ) . getVersion ( ) ;
452449 }
453450
454- updateCorrelator ( ) {
455- if ( ! this . pubadsReady ) {
456- return false ;
457- }
458- this . googletag . pubads ( ) . updateCorrelator ( ) ;
459-
460- return true ;
461- }
462-
463451 load ( url ) {
464452 return (
465453 this . _loadPromise ||
Original file line number Diff line number Diff line change @@ -60,7 +60,6 @@ export const pubadsAPI = [
6060 [ "getVideoContent" , "function" ] ,
6161 [ "getCorrelator" , "function" ] ,
6262 [ "setCorrelator" , "function" ] ,
63- [ "updateCorrelator" , "function" ] ,
6463 [ "isAdRequestFinished" , "function" ] ,
6564 [ "collapseEmptyDivs" , "function" ] ,
6665 [ "clear" , "function" ] ,
You can’t perform that action at this time.
0 commit comments