Commit e49c1ee4 authored by leichao.gao's avatar leichao.gao

update

parent d6dd2056
......@@ -79,7 +79,7 @@ public class AdDisplayUtils {
LogEx.INSTANCE.logDebug("glc", "!shouldShowAd", false);
JSONObject obj2 = new JSONObject();
try {
obj2.put("reason", "no ad");
obj2.put("reason", "ad limit");
obj2.put("ad_unit", ad_unit);
EventUtils.INSTANCE.event("ad_show_error", null, obj2, false);
} catch (JSONException e) {
......
......@@ -129,6 +129,10 @@ object AdMaxOpenUtils {
LogEx.logDebug(TAG, "广告准备好了,展示广告")
appOpenAd?.showAd()
} else {
val obj = JSONObject()
obj.put("reason", "no ad")
obj.put("ad_unit", "openAd")
EventUtils.event("ad_show_error", ext = obj)
LogEx.logDebug(TAG, "展示时候,发现广告需要拉取")
appOpenAd?.loadAd()
loadingListener = {
......
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