Skip to content

Commit d66e93d

Browse files
committed
Merge branch 'dev/2.0'
2 parents dc7f888 + f8c5719 commit d66e93d

File tree

1 file changed

+26
-26
lines changed

1 file changed

+26
-26
lines changed

src/ima.d.ts

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -242,91 +242,91 @@ export namespace google {
242242
/**
243243
* There was a problem requesting ads from the server. VAST error code 1012
244244
*/
245-
ADS_REQUEST_NETWORK_ERROR,
245+
ADS_REQUEST_NETWORK_ERROR = 1012,
246246
/**
247247
* There was an error with asset fallback. VAST error code 1021
248248
*/
249-
ASSET_FALLBACK_FAILED,
249+
ASSET_FALLBACK_FAILED = 1021,
250250
/**
251251
* The browser prevented playback initiated without user interaction. VAST error code 1205
252252
*/
253-
AUTOPLAY_DISALLOWED,
253+
AUTOPLAY_DISALLOWED = 1205,
254254
/**
255255
* A companion ad failed to load or render. VAST error code 603
256256
*/
257-
COMPANION_AD_LOADING_FAILED,
257+
COMPANION_AD_LOADING_FAILED = 603,
258258
/**
259259
* 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
260260
*/
261-
COMPANION_REQUIRED_ERROR,
261+
COMPANION_REQUIRED_ERROR = 602,
262262
/**
263263
* There was a problem requesting ads from the server. VAST error code 1005
264264
*/
265-
FAILED_TO_REQUEST_ADS,
265+
FAILED_TO_REQUEST_ADS = 1005,
266266
/**
267267
* The ad tag url specified was invalid. It needs to be properly encoded. VAST error code 1013
268268
*/
269-
INVALID_AD_TAG,
269+
INVALID_AD_TAG = 1013,
270270
/**
271271
* An invalid AdX extension was found. VAST error code 1105
272272
*/
273-
INVALID_ADX_EXTENSION,
273+
INVALID_ADX_EXTENSION = 1105,
274274
/**
275275
* Invalid arguments were provided to SDK methods. VAST error code 1101
276276
*/
277-
INVALID_ARGUMENTS,
277+
INVALID_ARGUMENTS = 1101,
278278
/**
279279
* 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
280280
*/
281-
NONLINEAR_DIMENSIONS_ERROR,
281+
NONLINEAR_DIMENSIONS_ERROR = 501,
282282
/**
283283
* An overlay ad failed to load. VAST error code 502
284284
*/
285-
OVERLAY_AD_LOADING_FAILED,
285+
OVERLAY_AD_LOADING_FAILED = 502,
286286
/**
287287
* An overlay ad failed to render. VAST error code 500
288288
*/
289-
OVERLAY_AD_PLAYING_FAILED,
289+
OVERLAY_AD_PLAYING_FAILED = 500,
290290
/**
291291
* There was an error with stream initialization during server side ad insertion. VAST error code 1020
292292
*/
293-
STREAM_INITIALIZATION_FAILED,
293+
STREAM_INITIALIZATION_FAILED = 1020,
294294
/**
295295
* The ad response was not understood and cannot be parsed. VAST error code 1010
296296
*/
297-
UNKNOWN_AD_RESPONSE,
297+
UNKNOWN_AD_RESPONSE = 1010,
298298
/**
299299
* An unexpected error occurred and the cause is not known. Refer to the inner error for more information. VAST error code 900
300300
*/
301-
UNKNOWN_ERROR,
301+
UNKNOWN_ERROR = 900,
302302
/**
303303
* Locale specified for the SDK is not supported. VAST error code 1011
304304
*/
305-
UNSUPPORTED_LOCALE,
305+
UNSUPPORTED_LOCALE = 1011,
306306
/**
307307
* No assets were found in the VAST ad response. VAST error code 1007
308308
*/
309-
VAST_ASSET_NOT_FOUND,
309+
VAST_ASSET_NOT_FOUND = 1007,
310310
/**
311311
* Empty VAST response. VAST error code 1009
312312
*/
313-
VAST_EMPTY_RESPONSE,
313+
VAST_EMPTY_RESPONSE = 1009,
314314
/**
315315
* 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
316316
*/
317-
VAST_LINEAR_ASSET_MISMATCH,
317+
VAST_LINEAR_ASSET_MISMATCH = 403,
318318
/**
319319
* 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
320320
*/
321-
VAST_LOAD_TIMEOUT,
321+
VAST_LOAD_TIMEOUT = 301,
322322
/**
323323
* The ad response was not recognized as a valid VAST ad. VAST error code 100
324324
*/
325-
VAST_MALFORMED_RESPONSE,
325+
VAST_MALFORMED_RESPONSE = 100,
326326
/**
327327
* Failed to load media assets from a VAST response. The default timeout for media loading is 8 seconds. VAST error code 402
328328
*/
329-
VAST_MEDIA_LOAD_TIMEOUT,
329+
VAST_MEDIA_LOAD_TIMEOUT = 402,
330330
/**
331331
* No Ads VAST response after one or more wrappers. VAST error code 303
332332
*/
@@ -384,11 +384,11 @@ export namespace google {
384384
/**
385385
* 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.
386386
*/
387-
AD_LOAD,
387+
AD_LOAD = 'adLoadError',
388388
/**
389389
* Indicates that the error was encountered after the ad loaded, during ad play. Possible causes: ad assets could not be loaded, etc.
390390
*/
391-
AD_PLAY,
391+
AD_PLAY = 'adPlayError',
392392
}
393393
}
394394

@@ -415,7 +415,7 @@ export namespace google {
415415
/**
416416
* Fired when an error occurred while the ad was loading or playing.
417417
*/
418-
AD_ERROR,
418+
AD_ERROR = 'adError',
419419
}
420420

421421
type Listener = (event: AdErrorEvent) => void;
@@ -858,7 +858,7 @@ export namespace google {
858858
/**
859859
* Fired when the ads have been loaded and an AdsManager is available.
860860
*/
861-
ADS_MANAGER_LOADED,
861+
ADS_MANAGER_LOADED = 'adsManagerLoaded',
862862
}
863863

864864
type Listener = (event: AdsManagerLoadedEvent) => void;

0 commit comments

Comments
 (0)