Commit 545a3049 authored by mengcuiguang's avatar mengcuiguang

adincome接口添加应用内外标识

parent 095d1718
...@@ -13,8 +13,8 @@ android { ...@@ -13,8 +13,8 @@ android {
applicationId rootProject.APPLICATION_ID applicationId rootProject.APPLICATION_ID
minSdkVersion rootProject.ext.androidMinSdkVersion minSdkVersion rootProject.ext.androidMinSdkVersion
targetSdkVersion rootProject.ext.androidTargetSdkVersion targetSdkVersion rootProject.ext.androidTargetSdkVersion
versionCode 20211020 versionCode 20211022
versionName "1.1.4" versionName "1.1.6"
flavorDimensions "default" flavorDimensions "default"
// dex突破65535的限制 // dex突破65535的限制
......
...@@ -922,6 +922,7 @@ class InHomeWifiExpress : GMSettingConfigCallback { ...@@ -922,6 +922,7 @@ class InHomeWifiExpress : GMSettingConfigCallback {
vo["adSource"] = adSource vo["adSource"] = adSource
vo["adType"] = Constant.GRO_MORE_ADTYPE1 vo["adType"] = Constant.GRO_MORE_ADTYPE1
vo["adid"] = expressId vo["adid"] = expressId
vo["inner"] = AdReportManager.INNER_IN
TrackManager.getInstance().cmtGroMoreInfo(vo) TrackManager.getInstance().cmtGroMoreInfo(vo)
return return
} }
......
...@@ -919,6 +919,7 @@ class InSceneExpress : GMSettingConfigCallback { ...@@ -919,6 +919,7 @@ class InSceneExpress : GMSettingConfigCallback {
vo["adSource"] = adSource vo["adSource"] = adSource
vo["adType"] = Constant.GRO_MORE_ADTYPE1 vo["adType"] = Constant.GRO_MORE_ADTYPE1
vo["adid"] = expressId vo["adid"] = expressId
vo["inner"] = AdReportManager.INNER_IN
TrackManager.getInstance().cmtGroMoreInfo(vo) TrackManager.getInstance().cmtGroMoreInfo(vo)
return return
} }
......
...@@ -909,6 +909,7 @@ class OutSceneExpress : GMSettingConfigCallback { ...@@ -909,6 +909,7 @@ class OutSceneExpress : GMSettingConfigCallback {
vo["adSource"] = adSource vo["adSource"] = adSource
vo["adType"] = Constant.GRO_MORE_ADTYPE1 vo["adType"] = Constant.GRO_MORE_ADTYPE1
vo["adid"] = expressId vo["adid"] = expressId
vo["inner"] = AdReportManager.INNER_OUT
TrackManager.getInstance().cmtGroMoreInfo(vo) TrackManager.getInstance().cmtGroMoreInfo(vo)
return return
......
...@@ -311,6 +311,7 @@ class OutScreenExpress private constructor() : GMSettingConfigCallback { ...@@ -311,6 +311,7 @@ class OutScreenExpress private constructor() : GMSettingConfigCallback {
vo["adSource"] = adSource vo["adSource"] = adSource
vo["adType"] = Constant.GRO_MORE_ADTYPE1 vo["adType"] = Constant.GRO_MORE_ADTYPE1
vo["adid"] = CsjGroMoreManager.getOutLockExpressId() vo["adid"] = CsjGroMoreManager.getOutLockExpressId()
vo["inner"] = AdReportManager.INNER_OUT
TrackManager.getInstance().cmtGroMoreInfo(vo) TrackManager.getInstance().cmtGroMoreInfo(vo)
} }
......
...@@ -936,6 +936,7 @@ class OutSimpleExpress private constructor() : GMSettingConfigCallback { ...@@ -936,6 +936,7 @@ class OutSimpleExpress private constructor() : GMSettingConfigCallback {
vo["adSource"] = adSource vo["adSource"] = adSource
vo["adType"] = Constant.GRO_MORE_ADTYPE1 vo["adType"] = Constant.GRO_MORE_ADTYPE1
vo["adid"] = CsjGroMoreManager.getOutCommonExpressId() vo["adid"] = CsjGroMoreManager.getOutCommonExpressId()
vo["inner"] = AdReportManager.INNER_OUT
TrackManager.getInstance().cmtGroMoreInfo(vo) TrackManager.getInstance().cmtGroMoreInfo(vo)
return return
} }
......
...@@ -271,6 +271,7 @@ public class InSceneFull { ...@@ -271,6 +271,7 @@ public class InSceneFull {
vo.put("adSource", adSource); vo.put("adSource", adSource);
vo.put("adType", Constant.GRO_MORE_ADTYPE4); vo.put("adType", Constant.GRO_MORE_ADTYPE4);
vo.put("adid", fullId); vo.put("adid", fullId);
vo.put("inner",AdReportManager.INNER_IN);
TrackManager.getInstance().cmtGroMoreInfo(vo); TrackManager.getInstance().cmtGroMoreInfo(vo);
AdReportManager.INSTANCE.eventFull( AdReportManager.INSTANCE.eventFull(
......
...@@ -319,6 +319,7 @@ public class Notice_OutSceneFull { ...@@ -319,6 +319,7 @@ public class Notice_OutSceneFull {
vo.put("adSource", adSource); vo.put("adSource", adSource);
vo.put("adType", Constant.GRO_MORE_ADTYPE4); vo.put("adType", Constant.GRO_MORE_ADTYPE4);
vo.put("adid", fullId); vo.put("adid", fullId);
vo.put("inner",AdReportManager.INNER_OUT);
TrackManager.getInstance().cmtGroMoreInfo(vo); TrackManager.getInstance().cmtGroMoreInfo(vo);
AdReportManager.INSTANCE.eventFull( AdReportManager.INSTANCE.eventFull(
......
...@@ -260,6 +260,7 @@ public class OutSceneFull { ...@@ -260,6 +260,7 @@ public class OutSceneFull {
vo.put("adSource", adSource); vo.put("adSource", adSource);
vo.put("adType", Constant.GRO_MORE_ADTYPE4); vo.put("adType", Constant.GRO_MORE_ADTYPE4);
vo.put("adid", fullId); vo.put("adid", fullId);
vo.put("inner",AdReportManager.INNER_OUT);
TrackManager.getInstance().cmtGroMoreInfo(vo); TrackManager.getInstance().cmtGroMoreInfo(vo);
AdReportManager.INSTANCE.eventFull( AdReportManager.INSTANCE.eventFull(
......
...@@ -265,6 +265,7 @@ public class OutTimeFull { ...@@ -265,6 +265,7 @@ public class OutTimeFull {
vo.put("adSource", adSource); vo.put("adSource", adSource);
vo.put("adType", Constant.GRO_MORE_ADTYPE4); vo.put("adType", Constant.GRO_MORE_ADTYPE4);
vo.put("adid", fullId); vo.put("adid", fullId);
vo.put("inner",AdReportManager.INNER_OUT);
TrackManager.getInstance().cmtGroMoreInfo(vo); TrackManager.getInstance().cmtGroMoreInfo(vo);
AdReportManager.INSTANCE.eventFull( AdReportManager.INSTANCE.eventFull(
......
...@@ -269,6 +269,7 @@ public class NewInSceneFull { ...@@ -269,6 +269,7 @@ public class NewInSceneFull {
vo.put("adSource", adSource); vo.put("adSource", adSource);
vo.put("adType", Constant.GRO_MORE_ADTYPE4); vo.put("adType", Constant.GRO_MORE_ADTYPE4);
vo.put("adid", fullId); vo.put("adid", fullId);
vo.put("inner",AdReportManager.INNER_IN);
TrackManager.getInstance().cmtGroMoreInfo(vo); TrackManager.getInstance().cmtGroMoreInfo(vo);
AdReportManager.INSTANCE.eventFull( AdReportManager.INSTANCE.eventFull(
......
...@@ -260,6 +260,7 @@ public class NewOutSceneFull { ...@@ -260,6 +260,7 @@ public class NewOutSceneFull {
vo.put("adSource", adSource); vo.put("adSource", adSource);
vo.put("adType", Constant.GRO_MORE_ADTYPE4); vo.put("adType", Constant.GRO_MORE_ADTYPE4);
vo.put("adid", fullId); vo.put("adid", fullId);
vo.put("inner",AdReportManager.INNER_OUT);
TrackManager.getInstance().cmtGroMoreInfo(vo); TrackManager.getInstance().cmtGroMoreInfo(vo);
AdReportManager.INSTANCE.eventFull( AdReportManager.INSTANCE.eventFull(
......
...@@ -264,6 +264,7 @@ public class NewOutTimeFull { ...@@ -264,6 +264,7 @@ public class NewOutTimeFull {
vo.put("adSource", adSource); vo.put("adSource", adSource);
vo.put("adType", Constant.GRO_MORE_ADTYPE4); vo.put("adType", Constant.GRO_MORE_ADTYPE4);
vo.put("adid", fullId); vo.put("adid", fullId);
vo.put("inner",AdReportManager.INNER_OUT);
TrackManager.getInstance().cmtGroMoreInfo(vo); TrackManager.getInstance().cmtGroMoreInfo(vo);
AdReportManager.INSTANCE.eventFull( AdReportManager.INSTANCE.eventFull(
......
...@@ -268,6 +268,7 @@ public class Notice_NewOutSceneFull { ...@@ -268,6 +268,7 @@ public class Notice_NewOutSceneFull {
vo.put("adSource", adSource); vo.put("adSource", adSource);
vo.put("adType", Constant.GRO_MORE_ADTYPE4); vo.put("adType", Constant.GRO_MORE_ADTYPE4);
vo.put("adid", fullId); vo.put("adid", fullId);
vo.put("inner",AdReportManager.INNER_OUT);
TrackManager.getInstance().cmtGroMoreInfo(vo); TrackManager.getInstance().cmtGroMoreInfo(vo);
AdReportManager.INSTANCE.eventFull( AdReportManager.INSTANCE.eventFull(
......
...@@ -243,6 +243,7 @@ public class InSceneInterstitial { ...@@ -243,6 +243,7 @@ public class InSceneInterstitial {
vo.put("adSource", adSource); vo.put("adSource", adSource);
vo.put("adType", Constant.GRO_MORE_ADTYPE3); vo.put("adType", Constant.GRO_MORE_ADTYPE3);
vo.put("adid", interstitialId); vo.put("adid", interstitialId);
vo.put("inner",AdReportManager.INNER_IN);
TrackManager.getInstance().cmtGroMoreInfo(vo); TrackManager.getInstance().cmtGroMoreInfo(vo);
AdReportManager.INSTANCE.eventInscreen(AdReportManager.INNER_IN, Constant.AD_SOURCE_GROMORE, AdReportManager.INSTANCE.eventInscreen(AdReportManager.INNER_IN, Constant.AD_SOURCE_GROMORE,
......
...@@ -295,6 +295,7 @@ public class Notice_OutSceneInterstitial { ...@@ -295,6 +295,7 @@ public class Notice_OutSceneInterstitial {
vo.put("adSource", adSource); vo.put("adSource", adSource);
vo.put("adType", Constant.GRO_MORE_ADTYPE3); vo.put("adType", Constant.GRO_MORE_ADTYPE3);
vo.put("adid", interstitialId); vo.put("adid", interstitialId);
vo.put("inner",AdReportManager.INNER_OUT);
TrackManager.getInstance().cmtGroMoreInfo(vo); TrackManager.getInstance().cmtGroMoreInfo(vo);
AdReportManager.INSTANCE.eventInscreen(AdReportManager.INNER_OUT, Constant.AD_SOURCE_GROMORE, AdReportManager.INSTANCE.eventInscreen(AdReportManager.INNER_OUT, Constant.AD_SOURCE_GROMORE,
......
...@@ -243,6 +243,7 @@ public class OutSceneInterstitial { ...@@ -243,6 +243,7 @@ public class OutSceneInterstitial {
vo.put("adSource", adSource); vo.put("adSource", adSource);
vo.put("adType", Constant.GRO_MORE_ADTYPE3); vo.put("adType", Constant.GRO_MORE_ADTYPE3);
vo.put("adid", interstitialId); vo.put("adid", interstitialId);
vo.put("inner",AdReportManager.INNER_OUT);
TrackManager.getInstance().cmtGroMoreInfo(vo); TrackManager.getInstance().cmtGroMoreInfo(vo);
AdReportManager.INSTANCE.eventInscreen(AdReportManager.INNER_OUT, Constant.AD_SOURCE_GROMORE, AdReportManager.INSTANCE.eventInscreen(AdReportManager.INNER_OUT, Constant.AD_SOURCE_GROMORE,
......
...@@ -248,6 +248,7 @@ public class OutTimeInterstitial { ...@@ -248,6 +248,7 @@ public class OutTimeInterstitial {
vo.put("adSource", adSource); vo.put("adSource", adSource);
vo.put("adType", Constant.GRO_MORE_ADTYPE3); vo.put("adType", Constant.GRO_MORE_ADTYPE3);
vo.put("adid", interstitialId); vo.put("adid", interstitialId);
vo.put("inner",AdReportManager.INNER_OUT);
TrackManager.getInstance().cmtGroMoreInfo(vo); TrackManager.getInstance().cmtGroMoreInfo(vo);
AdReportManager.INSTANCE.eventInscreen(AdReportManager.INNER_OUT, Constant.AD_SOURCE_GROMORE, AdReportManager.INSTANCE.eventInscreen(AdReportManager.INNER_OUT, Constant.AD_SOURCE_GROMORE,
......
...@@ -298,6 +298,7 @@ public class SplashActivity extends BaseActivity implements SplashView { ...@@ -298,6 +298,7 @@ public class SplashActivity extends BaseActivity implements SplashView {
vo.put("adSource", mTTSplashAd.getAdNetworkPlatformId()); vo.put("adSource", mTTSplashAd.getAdNetworkPlatformId());
vo.put("adType", Constant.GRO_MORE_ADTYPE0); vo.put("adType", Constant.GRO_MORE_ADTYPE0);
vo.put("adid", CsjGroMoreManager.INSTANCE.getInMoneySplashId()); vo.put("adid", CsjGroMoreManager.INSTANCE.getInMoneySplashId());
vo.put("inner",AdReportManager.INNER_IN);
TrackManager.getInstance().cmtGroMoreInfo(vo); TrackManager.getInstance().cmtGroMoreInfo(vo);
} }
......
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