File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -214,7 +214,7 @@ class SDK {
214214 } else if ( this . options . advertisementSettings . autoplay || isConsentDomain ) {
215215 this . _createSplash ( gameData , isConsentDomain ) ;
216216 }
217-
217+
218218 // Create a new VideoAd instance (singleton).
219219 this . adInstance = new VideoAd (
220220 // Deprecated parameters.
@@ -401,11 +401,6 @@ class SDK {
401401 arg => {
402402 this . msgrt . send ( 'ad.impression' ) ;
403403
404- // set timer for future interstitial requests.
405- if ( this . lastRequestedAdType === AdType . Interstitial ) {
406- this . adRequestTimer = new Date ( ) ;
407- }
408-
409404 // Lotame tracking.
410405 try {
411406 window [ '_cc13998' ] . bcpw ( 'genp' , 'ad video' ) ;
@@ -1048,6 +1043,7 @@ class SDK {
10481043 } ;
10491044
10501045 let succeded = ( args ) => {
1046+ this . adRequestTimer = new Date ( ) ;
10511047 this . eventBus . unsubscribeScope ( scopeName ) ;
10521048 resolve ( args . message ) ;
10531049 } ;
You can’t perform that action at this time.
0 commit comments