Commit ba384c21 authored by mengcuiguang2's avatar mengcuiguang2

添加日志

parent 79677b7a
......@@ -165,9 +165,9 @@ public class CsjGroMoreVideoAdManager extends BaseVideoAd {
//展示广告,并传入广告展示的场景
mttRewardAd.showRewardAd(activity, mTTRewardedAdListener);
Log.e(TAG, "adNetworkPlatformId: " + mttRewardAd.getAdNetworkPlatformId()); //获取展示广告对应的adn的值 具体值见NetworkPlatformConst类 -3: 无权限 -2: 暂无数据
Log.e(TAG, "adNetworkRitId:" + mttRewardAd.getAdNetworkRitId()); //获取展示广告对应的代码位 具体值见NetworkPlatformConst类 "-3": 无权限 "-2"
Log.e(TAG, "preEcpm: " + mttRewardAd.getPreEcpm()); //获取展示广告预估ecpm价格,单位是分 具体值见NetworkPlatformConst类 "-3": 无权限 "-2": 暂无数据 "-1":平台未有填写的预估ecpm价格
LogUtil.d(TAG, "adNetworkPlatformId: " + mttRewardAd.getAdNetworkPlatformId()); //获取展示广告对应的adn的值 具体值见NetworkPlatformConst类 -3: 无权限 -2: 暂无数据
LogUtil.d(TAG, "adNetworkRitId:" + mttRewardAd.getAdNetworkRitId()); //获取展示广告对应的代码位 具体值见NetworkPlatformConst类 "-3": 无权限 "-2"
LogUtil.d(TAG, "preEcpm: " + mttRewardAd.getPreEcpm()); //获取展示广告预估ecpm价格,单位是分 具体值见NetworkPlatformConst类 "-3": 无权限 "-2": 暂无数据 "-1":平台未有填写的预估ecpm价格
} else {
TrackManager.getInstance().addCallImp(Constant.AD_SOURCE_GROMORE, Constant.EVENT_TYPE_ONE, "999999", "Cached Fail");
......@@ -190,7 +190,7 @@ public class CsjGroMoreVideoAdManager extends BaseVideoAd {
* 广告的展示回调 每个广告仅回调一次
*/
public void onRewardedAdShow() {
Log.d(TAG, "onRewardedAdShow");
LogUtil.d(TAG, "onRewardedAdShow");
TrackManager.getInstance().addCallImp(Constant.AD_SOURCE_GROMORE, Constant.EVENT_TYPE_ZERO, "", "");
......@@ -201,7 +201,7 @@ public class CsjGroMoreVideoAdManager extends BaseVideoAd {
*/
@Override
public void onRewardClick() {
Log.d(TAG, "onRewardClick");
LogUtil.d(TAG, "onRewardClick");
if (AppConfig.needReportClickAdEvent) {
TrackManager.getInstance().reportClickAdEvent();
......@@ -223,7 +223,7 @@ public class CsjGroMoreVideoAdManager extends BaseVideoAd {
* 广告关闭的回调
*/
public void onRewardedAdClosed() {
Log.d(TAG, "onRewardedAdClosed");
LogUtil.d(TAG, "onRewardedAdClosed");
TrackManager.getInstance().addCallImp(Constant.AD_SOURCE_GROMORE, Constant.EVENT_TYPE_THREE, "", "");
......@@ -239,7 +239,7 @@ public class CsjGroMoreVideoAdManager extends BaseVideoAd {
* 视频播放完毕的回调 Admob广告不存在该回调
*/
public void onVideoComplete() {
Log.d(TAG, "onVideoComplete");
LogUtil.d(TAG, "onVideoComplete");
}
......@@ -247,7 +247,7 @@ public class CsjGroMoreVideoAdManager extends BaseVideoAd {
* 视频播放失败的回调 - Mintegral GDT Admob广告不存在该回调
*/
public void onVideoError() {
Log.d(TAG, "onVideoError");
LogUtil.d(TAG, "onVideoError");
TrackManager.getInstance().addCallImp(Constant.AD_SOURCE_GROMORE, Constant.EVENT_TYPE_ONE, "999999", "VideoError");
if (videoAdStatusListener != null) {
......@@ -264,7 +264,7 @@ public class CsjGroMoreVideoAdManager extends BaseVideoAd {
String adnName = (String) customData.get(RewardItem.KEY_ADN_NAME);
switch (adnName) {
case RewardItem.KEY_GDT:
Log.d(TAG, "rewardItem gdt: " + customData.get(RewardItem.KEY_GDT_TRANS_ID));
LogUtil.d(TAG, "rewardItem gdt: " + customData.get(RewardItem.KEY_GDT_TRANS_ID));
break;
}
}
......
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