@singcl/ad-execute-manager 1.5.3 → 1.5.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
export default AdAnalyticsJS;
|
|
2
|
+
export type EventDict = {
|
|
3
|
+
[x: string]: any;
|
|
4
|
+
};
|
|
2
5
|
export type IConstructorArgs = {
|
|
3
6
|
/**
|
|
4
7
|
* 初始化标识
|
|
@@ -17,7 +20,7 @@ export type ICommonInfo = {
|
|
|
17
20
|
[x: string]: any;
|
|
18
21
|
};
|
|
19
22
|
/**
|
|
20
|
-
* @
|
|
23
|
+
* @typedef {Object.<string, object>} EventDict
|
|
21
24
|
*/
|
|
22
25
|
/**
|
|
23
26
|
* @typedef {object} IConstructorArgs
|
|
@@ -257,13 +257,13 @@ declare class InterstitialAdNovel extends InterstitialAdFather {
|
|
|
257
257
|
* @param {object} _args
|
|
258
258
|
* @param {string} _args.scene 广告执行场景 必填
|
|
259
259
|
* @param {string} [_args.msg] 广告执行成功原因
|
|
260
|
-
* @param {
|
|
260
|
+
* @param {0|1} _args.result 广告执行成功结果
|
|
261
261
|
* @returns
|
|
262
262
|
*/
|
|
263
263
|
protected _adShowSuccessAnalytics(_args: {
|
|
264
264
|
scene: string;
|
|
265
265
|
msg?: string;
|
|
266
|
-
result:
|
|
266
|
+
result: 0 | 1;
|
|
267
267
|
}): any;
|
|
268
268
|
/**
|
|
269
269
|
* 广告展示失败分析
|
|
@@ -273,14 +273,14 @@ declare class InterstitialAdNovel extends InterstitialAdFather {
|
|
|
273
273
|
* @param {string} _args.scene 广告执行场景 必填
|
|
274
274
|
* @param {string} _args.msg 广告执行失败原因 必填
|
|
275
275
|
* @param {number} _args.errorCode 广告执行失败错误码 必填
|
|
276
|
-
* @param {
|
|
276
|
+
* @param {0|1} _args.result 广告执行失败结果
|
|
277
277
|
* @returns
|
|
278
278
|
*/
|
|
279
279
|
protected _adShowFailureAnalytics(_args: {
|
|
280
280
|
scene: string;
|
|
281
281
|
msg: string;
|
|
282
282
|
errorCode: number;
|
|
283
|
-
result:
|
|
283
|
+
result: 0 | 1;
|
|
284
284
|
}): any;
|
|
285
285
|
/**
|
|
286
286
|
* 广告加载成功分析
|
|
@@ -289,13 +289,13 @@ declare class InterstitialAdNovel extends InterstitialAdFather {
|
|
|
289
289
|
* @param {object} _args
|
|
290
290
|
* @param {string} _args.scene 广告执行场景 必填
|
|
291
291
|
* @param {string} [_args.msg] 广告执行成功原因
|
|
292
|
-
* @param {
|
|
292
|
+
* @param {0|1} _args.result 广告执行成功结果
|
|
293
293
|
* @returns
|
|
294
294
|
*/
|
|
295
295
|
protected _adLoadSuccessAnalytics(_args: {
|
|
296
296
|
scene: string;
|
|
297
297
|
msg?: string;
|
|
298
|
-
result:
|
|
298
|
+
result: 0 | 1;
|
|
299
299
|
}): any;
|
|
300
300
|
/**
|
|
301
301
|
* 广告加载失败分析
|
|
@@ -304,13 +304,13 @@ declare class InterstitialAdNovel extends InterstitialAdFather {
|
|
|
304
304
|
* @param {object} _args
|
|
305
305
|
* @param {string} _args.scene 广告执行场景 必填
|
|
306
306
|
* @param {string} _args.msg 广告执行失败原因 必填
|
|
307
|
-
* @param {
|
|
307
|
+
* @param {0|1} _args.result 广告执行失败结果
|
|
308
308
|
* @returns
|
|
309
309
|
*/
|
|
310
310
|
protected _adLoadFailureAnalytics(_args: {
|
|
311
311
|
scene: string;
|
|
312
312
|
msg: string;
|
|
313
|
-
result:
|
|
313
|
+
result: 0 | 1;
|
|
314
314
|
}): any;
|
|
315
315
|
/**
|
|
316
316
|
* 广告关闭成功分析
|
|
@@ -257,13 +257,13 @@ declare class RewardAdNovel extends RewardAdFather {
|
|
|
257
257
|
* @param {object} _args
|
|
258
258
|
* @param {string} _args.scene 广告执行场景 必填
|
|
259
259
|
* @param {string} [_args.msg] 广告执行成功原因
|
|
260
|
-
* @param {
|
|
260
|
+
* @param {0|1} _args.result 广告执行成功结果
|
|
261
261
|
* @returns
|
|
262
262
|
*/
|
|
263
263
|
protected _adShowSuccessAnalytics(_args: {
|
|
264
264
|
scene: string;
|
|
265
265
|
msg?: string;
|
|
266
|
-
result:
|
|
266
|
+
result: 0 | 1;
|
|
267
267
|
}): any;
|
|
268
268
|
/**
|
|
269
269
|
* 广告展示失败分析
|
|
@@ -273,14 +273,14 @@ declare class RewardAdNovel extends RewardAdFather {
|
|
|
273
273
|
* @param {string} _args.scene 广告执行场景 必填
|
|
274
274
|
* @param {string} _args.msg 广告执行失败原因 必填
|
|
275
275
|
* @param {number} _args.errorCode 广告执行失败错误码 必填
|
|
276
|
-
* @param {
|
|
276
|
+
* @param {0|1} _args.result 广告执行失败结果
|
|
277
277
|
* @returns
|
|
278
278
|
*/
|
|
279
279
|
protected _adShowFailureAnalytics(_args: {
|
|
280
280
|
scene: string;
|
|
281
281
|
msg: string;
|
|
282
282
|
errorCode: number;
|
|
283
|
-
result:
|
|
283
|
+
result: 0 | 1;
|
|
284
284
|
}): any;
|
|
285
285
|
/**
|
|
286
286
|
* 广告加载成功分析
|
|
@@ -289,13 +289,13 @@ declare class RewardAdNovel extends RewardAdFather {
|
|
|
289
289
|
* @param {object} _args
|
|
290
290
|
* @param {string} _args.scene 广告执行场景 必填
|
|
291
291
|
* @param {string} [_args.msg] 广告执行成功原因
|
|
292
|
-
* @param {
|
|
292
|
+
* @param {0|1} _args.result 广告执行成功结果
|
|
293
293
|
* @returns
|
|
294
294
|
*/
|
|
295
295
|
protected _adLoadSuccessAnalytics(_args: {
|
|
296
296
|
scene: string;
|
|
297
297
|
msg?: string;
|
|
298
|
-
result:
|
|
298
|
+
result: 0 | 1;
|
|
299
299
|
}): any;
|
|
300
300
|
/**
|
|
301
301
|
* 广告加载失败分析
|
|
@@ -304,13 +304,13 @@ declare class RewardAdNovel extends RewardAdFather {
|
|
|
304
304
|
* @param {object} _args
|
|
305
305
|
* @param {string} _args.scene 广告执行场景 必填
|
|
306
306
|
* @param {string} _args.msg 广告执行失败原因 必填
|
|
307
|
-
* @param {
|
|
307
|
+
* @param {0|1} _args.result 广告执行失败结果
|
|
308
308
|
* @returns
|
|
309
309
|
*/
|
|
310
310
|
protected _adLoadFailureAnalytics(_args: {
|
|
311
311
|
scene: string;
|
|
312
312
|
msg: string;
|
|
313
|
-
result:
|
|
313
|
+
result: 0 | 1;
|
|
314
314
|
}): any;
|
|
315
315
|
/**
|
|
316
316
|
* 广告关闭成功分析
|