Commit 5d17874e authored by wanglei's avatar wanglei

[修改]上报区分拉取失败的情况

parent c1c3209f
...@@ -44,6 +44,7 @@ class AdmobEvent : AdEvent { ...@@ -44,6 +44,7 @@ class AdmobEvent : AdEvent {
responseInfo: ResponseInfo?, responseInfo: ResponseInfo?,
error: LoadAdError? = null, error: LoadAdError? = null,
) { ) {
var key = "ad_pull"
val obj = JSONObject() val obj = JSONObject()
obj.put("req_id", reqId) obj.put("req_id", reqId)
if (responseInfo != null) { if (responseInfo != null) {
...@@ -68,8 +69,9 @@ class AdmobEvent : AdEvent { ...@@ -68,8 +69,9 @@ class AdmobEvent : AdEvent {
} else { } else {
obj.put("errMsg", error.toString()) obj.put("errMsg", error.toString())
obj.put("status", "2") obj.put("status", "2")
key = "ad_pull_error"
} }
EventUtils.event("ad_pull", ext = obj) EventUtils.event(key, ext = obj)
LogEx.logDebug(TAG, "ad_pull obj=$obj") LogEx.logDebug(TAG, "ad_pull obj=$obj")
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment