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
Copy file name to clipboardExpand all lines: typings/ima.d.ts
+26-26Lines changed: 26 additions & 26 deletions
Original file line number
Diff line number
Diff line change
@@ -240,91 +240,91 @@ declare namespace google {
240
240
/**
241
241
* There was a problem requesting ads from the server. VAST error code 1012
242
242
*/
243
-
ADS_REQUEST_NETWORK_ERROR,
243
+
ADS_REQUEST_NETWORK_ERROR=1012,
244
244
/**
245
245
* There was an error with asset fallback. VAST error code 1021
246
246
*/
247
-
ASSET_FALLBACK_FAILED,
247
+
ASSET_FALLBACK_FAILED=1021,
248
248
/**
249
249
* The browser prevented playback initiated without user interaction. VAST error code 1205
250
250
*/
251
-
AUTOPLAY_DISALLOWED,
251
+
AUTOPLAY_DISALLOWED=1205,
252
252
/**
253
253
* A companion ad failed to load or render. VAST error code 603
254
254
*/
255
-
COMPANION_AD_LOADING_FAILED,
255
+
COMPANION_AD_LOADING_FAILED=603,
256
256
/**
257
257
* Unable to display one or more required companions. The master ad is discarded since the required companions could not be displayed. VAST error code 602
258
258
*/
259
-
COMPANION_REQUIRED_ERROR,
259
+
COMPANION_REQUIRED_ERROR=602,
260
260
/**
261
261
* There was a problem requesting ads from the server. VAST error code 1005
262
262
*/
263
-
FAILED_TO_REQUEST_ADS,
263
+
FAILED_TO_REQUEST_ADS=1005,
264
264
/**
265
265
* The ad tag url specified was invalid. It needs to be properly encoded. VAST error code 1013
266
266
*/
267
-
INVALID_AD_TAG,
267
+
INVALID_AD_TAG=1013,
268
268
/**
269
269
* An invalid AdX extension was found. VAST error code 1105
270
270
*/
271
-
INVALID_ADX_EXTENSION,
271
+
INVALID_ADX_EXTENSION=1105,
272
272
/**
273
273
* Invalid arguments were provided to SDK methods. VAST error code 1101
274
274
*/
275
-
INVALID_ARGUMENTS,
275
+
INVALID_ARGUMENTS=1101,
276
276
/**
277
277
* Unable to display NonLinear ad because creative dimensions do not align with creative display area (i.e. creative dimension too large). VAST error code 501
278
278
*/
279
-
NONLINEAR_DIMENSIONS_ERROR,
279
+
NONLINEAR_DIMENSIONS_ERROR=501,
280
280
/**
281
281
* An overlay ad failed to load. VAST error code 502
282
282
*/
283
-
OVERLAY_AD_LOADING_FAILED,
283
+
OVERLAY_AD_LOADING_FAILED=502,
284
284
/**
285
285
* An overlay ad failed to render. VAST error code 500
286
286
*/
287
-
OVERLAY_AD_PLAYING_FAILED,
287
+
OVERLAY_AD_PLAYING_FAILED=500,
288
288
/**
289
289
* There was an error with stream initialization during server side ad insertion. VAST error code 1020
290
290
*/
291
-
STREAM_INITIALIZATION_FAILED,
291
+
STREAM_INITIALIZATION_FAILED=1020,
292
292
/**
293
293
* The ad response was not understood and cannot be parsed. VAST error code 1010
294
294
*/
295
-
UNKNOWN_AD_RESPONSE,
295
+
UNKNOWN_AD_RESPONSE=1010,
296
296
/**
297
297
* An unexpected error occurred and the cause is not known. Refer to the inner error for more information. VAST error code 900
298
298
*/
299
-
UNKNOWN_ERROR,
299
+
UNKNOWN_ERROR=900,
300
300
/**
301
301
* Locale specified for the SDK is not supported. VAST error code 1011
302
302
*/
303
-
UNSUPPORTED_LOCALE,
303
+
UNSUPPORTED_LOCALE=1011,
304
304
/**
305
305
* No assets were found in the VAST ad response. VAST error code 1007
306
306
*/
307
-
VAST_ASSET_NOT_FOUND,
307
+
VAST_ASSET_NOT_FOUND=1007,
308
308
/**
309
309
* Empty VAST response. VAST error code 1009
310
310
*/
311
-
VAST_EMPTY_RESPONSE,
311
+
VAST_EMPTY_RESPONSE=1009,
312
312
/**
313
313
* Assets were found in the VAST ad response for linear ad, but none of them matched the video player's capabilities. VAST error code 403
314
314
*/
315
-
VAST_LINEAR_ASSET_MISMATCH,
315
+
VAST_LINEAR_ASSET_MISMATCH=403,
316
316
/**
317
317
* The VAST URI provided, or a VAST URI provided in a subsequent wrapper element, was either unavailable or reached a timeout, as defined by the video player. The timeout is 5 seconds for initial VAST requests and each subsequent wrapper. VAST error code 301
318
318
*/
319
-
VAST_LOAD_TIMEOUT,
319
+
VAST_LOAD_TIMEOUT=301,
320
320
/**
321
321
* The ad response was not recognized as a valid VAST ad. VAST error code 100
322
322
*/
323
-
VAST_MALFORMED_RESPONSE,
323
+
VAST_MALFORMED_RESPONSE=100,
324
324
/**
325
325
* Failed to load media assets from a VAST response. The default timeout for media loading is 8 seconds. VAST error code 402
326
326
*/
327
-
VAST_MEDIA_LOAD_TIMEOUT,
327
+
VAST_MEDIA_LOAD_TIMEOUT=402,
328
328
/**
329
329
* No Ads VAST response after one or more wrappers. VAST error code 303
330
330
*/
@@ -382,11 +382,11 @@ declare namespace google {
382
382
/**
383
383
* 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.
384
384
*/
385
-
AD_LOAD,
385
+
AD_LOAD='adLoadError',
386
386
/**
387
387
* Indicates that the error was encountered after the ad loaded, during ad play. Possible causes: ad assets could not be loaded, etc.
388
388
*/
389
-
AD_PLAY,
389
+
AD_PLAY='adPlayError',
390
390
}
391
391
}
392
392
@@ -413,7 +413,7 @@ declare namespace google {
413
413
/**
414
414
* Fired when an error occurred while the ad was loading or playing.
415
415
*/
416
-
AD_ERROR,
416
+
AD_ERROR='adError',
417
417
}
418
418
419
419
typeListener=(event: AdErrorEvent)=>void;
@@ -856,7 +856,7 @@ declare namespace google {
856
856
/**
857
857
* Fired when the ads have been loaded and an AdsManager is available.
0 commit comments