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: src/ima.d.ts
+26-26Lines changed: 26 additions & 26 deletions
Original file line number
Diff line number
Diff line change
@@ -242,91 +242,91 @@ export namespace google {
242
242
/**
243
243
* There was a problem requesting ads from the server. VAST error code 1012
244
244
*/
245
-
ADS_REQUEST_NETWORK_ERROR,
245
+
ADS_REQUEST_NETWORK_ERROR=1012,
246
246
/**
247
247
* There was an error with asset fallback. VAST error code 1021
248
248
*/
249
-
ASSET_FALLBACK_FAILED,
249
+
ASSET_FALLBACK_FAILED=1021,
250
250
/**
251
251
* The browser prevented playback initiated without user interaction. VAST error code 1205
252
252
*/
253
-
AUTOPLAY_DISALLOWED,
253
+
AUTOPLAY_DISALLOWED=1205,
254
254
/**
255
255
* A companion ad failed to load or render. VAST error code 603
256
256
*/
257
-
COMPANION_AD_LOADING_FAILED,
257
+
COMPANION_AD_LOADING_FAILED=603,
258
258
/**
259
259
* 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
260
260
*/
261
-
COMPANION_REQUIRED_ERROR,
261
+
COMPANION_REQUIRED_ERROR=602,
262
262
/**
263
263
* There was a problem requesting ads from the server. VAST error code 1005
264
264
*/
265
-
FAILED_TO_REQUEST_ADS,
265
+
FAILED_TO_REQUEST_ADS=1005,
266
266
/**
267
267
* The ad tag url specified was invalid. It needs to be properly encoded. VAST error code 1013
268
268
*/
269
-
INVALID_AD_TAG,
269
+
INVALID_AD_TAG=1013,
270
270
/**
271
271
* An invalid AdX extension was found. VAST error code 1105
272
272
*/
273
-
INVALID_ADX_EXTENSION,
273
+
INVALID_ADX_EXTENSION=1105,
274
274
/**
275
275
* Invalid arguments were provided to SDK methods. VAST error code 1101
276
276
*/
277
-
INVALID_ARGUMENTS,
277
+
INVALID_ARGUMENTS=1101,
278
278
/**
279
279
* 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
280
280
*/
281
-
NONLINEAR_DIMENSIONS_ERROR,
281
+
NONLINEAR_DIMENSIONS_ERROR=501,
282
282
/**
283
283
* An overlay ad failed to load. VAST error code 502
284
284
*/
285
-
OVERLAY_AD_LOADING_FAILED,
285
+
OVERLAY_AD_LOADING_FAILED=502,
286
286
/**
287
287
* An overlay ad failed to render. VAST error code 500
288
288
*/
289
-
OVERLAY_AD_PLAYING_FAILED,
289
+
OVERLAY_AD_PLAYING_FAILED=500,
290
290
/**
291
291
* There was an error with stream initialization during server side ad insertion. VAST error code 1020
292
292
*/
293
-
STREAM_INITIALIZATION_FAILED,
293
+
STREAM_INITIALIZATION_FAILED=1020,
294
294
/**
295
295
* The ad response was not understood and cannot be parsed. VAST error code 1010
296
296
*/
297
-
UNKNOWN_AD_RESPONSE,
297
+
UNKNOWN_AD_RESPONSE=1010,
298
298
/**
299
299
* An unexpected error occurred and the cause is not known. Refer to the inner error for more information. VAST error code 900
300
300
*/
301
-
UNKNOWN_ERROR,
301
+
UNKNOWN_ERROR=900,
302
302
/**
303
303
* Locale specified for the SDK is not supported. VAST error code 1011
304
304
*/
305
-
UNSUPPORTED_LOCALE,
305
+
UNSUPPORTED_LOCALE=1011,
306
306
/**
307
307
* No assets were found in the VAST ad response. VAST error code 1007
308
308
*/
309
-
VAST_ASSET_NOT_FOUND,
309
+
VAST_ASSET_NOT_FOUND=1007,
310
310
/**
311
311
* Empty VAST response. VAST error code 1009
312
312
*/
313
-
VAST_EMPTY_RESPONSE,
313
+
VAST_EMPTY_RESPONSE=1009,
314
314
/**
315
315
* 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
316
316
*/
317
-
VAST_LINEAR_ASSET_MISMATCH,
317
+
VAST_LINEAR_ASSET_MISMATCH=403,
318
318
/**
319
319
* 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
320
320
*/
321
-
VAST_LOAD_TIMEOUT,
321
+
VAST_LOAD_TIMEOUT=301,
322
322
/**
323
323
* The ad response was not recognized as a valid VAST ad. VAST error code 100
324
324
*/
325
-
VAST_MALFORMED_RESPONSE,
325
+
VAST_MALFORMED_RESPONSE=100,
326
326
/**
327
327
* Failed to load media assets from a VAST response. The default timeout for media loading is 8 seconds. VAST error code 402
328
328
*/
329
-
VAST_MEDIA_LOAD_TIMEOUT,
329
+
VAST_MEDIA_LOAD_TIMEOUT=402,
330
330
/**
331
331
* No Ads VAST response after one or more wrappers. VAST error code 303
332
332
*/
@@ -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,
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,
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,
418
+
AD_ERROR='adError',
419
419
}
420
420
421
421
typeListener=(event: AdErrorEvent)=>void;
@@ -858,7 +858,7 @@ export namespace google {
858
858
/**
859
859
* Fired when the ads have been loaded and an AdsManager is available.
0 commit comments