Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
android_goodmoney
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
android
android_goodmoney
Commits
ba384c21
Commit
ba384c21
authored
May 27, 2021
by
mengcuiguang2
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加日志
parent
79677b7a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
CsjGroMoreVideoAdManager.java
...om/mints/goodmoney/ad/video/CsjGroMoreVideoAdManager.java
+9
-9
No files found.
GoodMoney/app/src/main/java/com/mints/goodmoney/ad/video/CsjGroMoreVideoAdManager.java
View file @
ba384c21
...
...
@@ -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价格
Log
Util
.
d
(
TAG
,
"adNetworkPlatformId: "
+
mttRewardAd
.
getAdNetworkPlatformId
());
//获取展示广告对应的adn的值 具体值见NetworkPlatformConst类 -3: 无权限 -2: 暂无数据
Log
Util
.
d
(
TAG
,
"adNetworkRitId:"
+
mttRewardAd
.
getAdNetworkRitId
());
//获取展示广告对应的代码位 具体值见NetworkPlatformConst类 "-3": 无权限 "-2"
Log
Util
.
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"
);
Log
Util
.
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"
);
Log
Util
.
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"
);
Log
Util
.
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"
);
Log
Util
.
d
(
TAG
,
"onVideoComplete"
);
}
...
...
@@ -247,7 +247,7 @@ public class CsjGroMoreVideoAdManager extends BaseVideoAd {
* 视频播放失败的回调 - Mintegral GDT Admob广告不存在该回调
*/
public
void
onVideoError
()
{
Log
.
d
(
TAG
,
"onVideoError"
);
Log
Util
.
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
));
Log
Util
.
d
(
TAG
,
"rewardItem gdt: "
+
customData
.
get
(
RewardItem
.
KEY_GDT_TRANS_ID
));
break
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment