You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* The maximum number of VAST wrapper redirects has been reached. VAST error code 302
348
348
*/
349
-
VAST_TOO_MANY_REDIRECTS,
349
+
VAST_TOO_MANY_REDIRECTS=302,
350
350
/**
351
351
* Trafficking error. Video player received an ad type that it was not expecting and/or cannot display. VAST error code 200
352
352
*/
353
-
VAST_TRAFFICKING_ERROR,
353
+
VAST_TRAFFICKING_ERROR=200,
354
354
/**
355
355
* VAST duration is different from the actual media file duration. VAST error code 202
356
356
*/
357
-
VAST_UNEXPECTED_DURATION_ERROR,
357
+
VAST_UNEXPECTED_DURATION_ERROR=202,
358
358
/**
359
359
* Ad linearity is different from what the video player is expecting. VAST error code 201
360
360
*/
361
-
VAST_UNEXPECTED_LINEARITY,
361
+
VAST_UNEXPECTED_LINEARITY=201,
362
362
/**
363
363
* The ad response contained an unsupported VAST version. VAST error code 102
364
364
*/
365
-
VAST_UNSUPPORTED_VERSION,
365
+
VAST_UNSUPPORTED_VERSION=102,
366
366
/**
367
367
* General VAST wrapper error. VAST error code 300
368
368
*/
369
-
VAST_WRAPPER_ERROR,
369
+
VAST_WRAPPER_ERROR=300,
370
370
/**
371
371
* There was an error playing the video ad. VAST error code 400
372
372
*/
373
-
VIDEO_PLAY_ERROR,
373
+
VIDEO_PLAY_ERROR=400,
374
374
/**
375
375
* A VPAID error occurred. Refer to the inner error for more information. VAST error code 901
376
376
*/
377
-
VPAID_ERROR,
377
+
VPAID_ERROR=901,
378
378
}
379
379
380
380
/**
@@ -384,11 +384,11 @@ export namespace google {
384
384
/**
385
385
* Indicates that the error was encountered when the ad was being loaded. Possible causes: there was no response from the ad server, malformed ad response was returned, or ad request parameters failed to pass validation.
386
386
*/
387
-
AD_LOAD='adLoadError',
387
+
AD_LOAD="adLoadError",
388
388
/**
389
389
* Indicates that the error was encountered after the ad loaded, during ad play. Possible causes: ad assets could not be loaded, etc.
390
390
*/
391
-
AD_PLAY='adPlayError',
391
+
AD_PLAY="adPlayError",
392
392
}
393
393
}
394
394
@@ -415,7 +415,7 @@ export namespace google {
415
415
/**
416
416
* Fired when an error occurred while the ad was loading or playing.
417
417
*/
418
-
AD_ERROR='adError',
418
+
AD_ERROR="adError",
419
419
}
420
420
421
421
typeListener=(event: AdErrorEvent)=>void;
@@ -445,107 +445,107 @@ export namespace google {
445
445
/**
446
446
* Fired when an ad rule or a VMAP ad break would have played if autoPlayAdBreaks is false.
447
447
*/
448
-
AD_BREAK_READY,
448
+
AD_BREAK_READY="adBreakReady",
449
449
/**
450
450
* Fired when the ad has stalled playback to buffer.
451
451
*/
452
-
AD_BUFFERING,
452
+
AD_BUFFERING="adBuffering",
453
453
/**
454
454
* Fired when an ads list is loaded.
455
455
*/
456
-
AD_METADATA,
456
+
AD_METADATA="adMetadata",
457
457
/**
458
458
* Fired when the ad's current time value changes. Calling getAdData() on this event will return an AdProgressData object.
459
459
*/
460
-
AD_PROGRESS,
460
+
AD_PROGRESS="adProgress",
461
461
/**
462
462
* Fired when the ads manager is done playing all the ads.
463
463
*/
464
-
ALL_ADS_COMPLETED,
464
+
ALL_ADS_COMPLETED="allAdsCompleted",
465
465
/**
466
466
* Fired when the ad is clicked.
467
467
*/
468
-
CLICK,
468
+
CLICK="click",
469
469
/**
470
470
* Fired when the ad completes playing.
471
471
*/
472
-
COMPLETE,
472
+
COMPLETE="complete",
473
473
/**
474
474
* Fired when content should be paused. This usually happens right before an ad is about to cover the content.
475
475
*/
476
-
CONTENT_PAUSE_REQUESTED,
476
+
CONTENT_PAUSE_REQUESTED="contentPauseRequested",
477
477
/**
478
478
* Fired when content should be resumed. This usually happens when an ad finishes or collapses.
* Fired when the ad playhead crosses first quartile.
487
487
*/
488
-
FIRST_QUARTILE,
488
+
FIRST_QUARTILE="firstQuartile",
489
489
/**
490
490
* Fired when the impression URL has been pinged.
491
491
*/
492
-
IMPRESSION,
492
+
IMPRESSION="impression",
493
493
/**
494
494
* Fired when an ad triggers the interaction callback. Ad interactions contain an interaction ID string in the ad data.
495
495
*/
496
-
INTERACTION,
496
+
INTERACTION="interaction",
497
497
/**
498
498
* Fired when the displayed ad changes from linear to nonlinear, or vice versa.
499
499
*/
500
-
LINEAR_CHANGED,
500
+
LINEAR_CHANGED="linearChanged",
501
501
/**
502
502
* Fired when ad data is available.
503
503
*/
504
-
LOADED,
504
+
LOADED="loaded",
505
505
/**
506
506
* Fired when a non-fatal error is encountered. The user need not take any action since the SDK will continue with the same or next ad playback depending on the error situation.
507
507
*/
508
-
LOG,
508
+
LOG="log",
509
509
/**
510
510
* Fired when the ad playhead crosses midpoint.
511
511
*/
512
-
MIDPOINT,
512
+
MIDPOINT="midpoint",
513
513
/**
514
514
* Fired when the ad is paused.
515
515
*/
516
-
PAUSED,
516
+
PAUSED="pause",
517
517
/**
518
518
* Fired when the ad is resumed.
519
519
*/
520
-
RESUMED,
520
+
RESUMED="resume",
521
521
/**
522
522
* Fired when the displayed ads skippable state is changed.
523
523
*/
524
-
SKIPPABLE_STATE_CHANGED,
524
+
SKIPPABLE_STATE_CHANGED="skippableStateChanged",
525
525
/**
526
526
* Fired when the ad is skipped by the user.
527
527
*/
528
-
SKIPPED,
528
+
SKIPPED="skip",
529
529
/**
530
530
* Fired when the ad starts playing.
531
531
*/
532
-
STARTED,
532
+
STARTED="start",
533
533
/**
534
534
* Fired when the ad playhead crosses third quartile.
535
535
*/
536
-
THIRD_QUARTILE,
536
+
THIRD_QUARTILE="thirdQuartile",
537
537
/**
538
538
* Fired when the ad is closed by the user.
539
539
*/
540
-
USER_CLOSE,
540
+
USER_CLOSE="userClose",
541
541
/**
542
542
* Fired when the ad volume has changed.
543
543
*/
544
-
VOLUME_CHANGED,
544
+
VOLUME_CHANGED="volumeChange",
545
545
/**
546
546
* Fired when the ad volume has been muted.
547
547
*/
548
-
VOLUME_MUTED,
548
+
VOLUME_MUTED="mute",
549
549
}
550
550
551
551
typeListener=(event: AdEvent)=>void;
@@ -858,7 +858,7 @@ export namespace google {
858
858
/**
859
859
* Fired when the ads have been loaded and an AdsManager is available.
* Specifies image creatives (such as JPEG, PNG, GIF, etc).
1071
1071
*/
1072
-
IMAGE,
1072
+
IMAGE="Image",
1073
1073
}
1074
1074
1075
1075
/**
@@ -1079,19 +1079,19 @@ export namespace google {
1079
1079
/**
1080
1080
* Specifies that the resource can be any type of resource.
1081
1081
*/
1082
-
ALL,
1082
+
ALL="All",
1083
1083
/**
1084
1084
* Specifies that the resource should be an HTML snippet.
1085
1085
*/
1086
-
HTML,
1086
+
HTML="Html",
1087
1087
/**
1088
1088
* Specifies that the resource should be a URL that should be used as the source of an iframe.
1089
1089
*/
1090
-
IFRAME,
1090
+
IFRAME="IFrame",
1091
1091
/**
1092
1092
* Specifies that the resource should be a static file (usually the URL of an image of SWF).
1093
1093
*/
1094
-
STATIC,
1094
+
STATIC="Static",
1095
1095
}
1096
1096
1097
1097
/**
@@ -1101,15 +1101,15 @@ export namespace google {
1101
1101
/**
1102
1102
* Specifies that size should be ignored when choosing companions.
1103
1103
*/
1104
-
IGNORE,
1104
+
IGNORE="IgnoreSize",
1105
1105
/**
1106
1106
* Specifies that only companions that match the size of the companion ad slot exactly should be chosen.
1107
1107
*/
1108
-
SELECT_EXACT_MATCH,
1108
+
SELECT_EXACT_MATCH="SelectExactMatch",
1109
1109
/**
1110
1110
* Specifies that any companion close to the size of the companion ad slot should be chosen.
1111
1111
*/
1112
-
SELECT_NEAR_MATCH,
1112
+
SELECT_NEAR_MATCH="SelectNearMatch",
1113
1113
}
1114
1114
}
1115
1115
@@ -1230,11 +1230,11 @@ export namespace google {
1230
1230
/**
1231
1231
* If the value is ALWAYS, companion backfill will be attempted in all situations, even when there is no master ad returned.
1232
1232
*/
1233
-
ALWAYS,
1233
+
ALWAYS="always",
1234
1234
/**
1235
1235
* If the value is ON_MASTER_AD, companion backfill will be attempted if there is a master ad with fewer companions than there are companion slots. The missing companions will be backfilled.
1236
1236
*/
1237
-
ON_MASTER_AD,
1237
+
ON_MASTER_AD="on_master_ad",
1238
1238
}
1239
1239
1240
1240
/**
@@ -1244,15 +1244,15 @@ export namespace google {
1244
1244
/**
1245
1245
* VPAID ads will not play and an error will be returned.
1246
1246
*/
1247
-
DISABLED,
1247
+
DISABLED=0,
1248
1248
/**
1249
1249
* VPAID ads are enabled using a cross domain iframe. The VPAID ad cannot access the site. VPAID ads that depend on friendly iframe access may error. This is the default.
1250
1250
*/
1251
-
ENABLED,
1251
+
ENABLED=1,
1252
1252
/**
1253
1253
* VPAID ads are enabled using a friendly iframe. This allows the ad access to the site via JavaScript.
1254
1254
*/
1255
-
INSECURE,
1255
+
INSECURE=2,
1256
1256
}
1257
1257
}
1258
1258
@@ -1263,11 +1263,11 @@ export namespace google {
1263
1263
/**
1264
1264
* Displays the "Ad" text in the ad UI. Must be present to show the countdown timer.
1265
1265
*/
1266
-
AD_ATTRIBUTION,
1266
+
AD_ATTRIBUTION="adAttribution",
1267
1267
/**
1268
1268
* Ad attribution is required for a countdown timer to be displayed. Both UiElements.COUNTDOWN and UiElements.AD_ATTRIBUTION must be present in AdsRenderingSettings.uiElements.
1269
1269
*/
1270
-
COUNTDOWN,
1270
+
COUNTDOWN="countdown",
1271
1271
}
1272
1272
1273
1273
/**
@@ -1277,11 +1277,11 @@ export namespace google {
1277
1277
/**
1278
1278
* Fullscreen ad view mode. Indicates to the ads manager that the publisher considers the current AdDisplayContainer arrangement as fullscreen (i.e. simulated fullscreen). This does not cause the ads manager to enter fullscreen.
0 commit comments