11package com.matthewchen.togetherad
22
33import android.app.Application
4- import com.matthewchen.togetherad.config.TogetherAdConst
5- import com.rumtel.ad.TogetherAd
64
75/*
86 * (●゚ω゚●)
@@ -13,28 +11,5 @@ class App : Application() {
1311
1412 override fun onCreate () {
1513 super .onCreate()
16- val baiduIdMap = mutableMapOf<String , String ?>(
17- TogetherAdConst .AD_SPLASH to " 2543740" ,
18- TogetherAdConst .AD_INTER to " 2543741" ,
19- TogetherAdConst .AD_FLOW_INDEX to " 2715031" ,
20- TogetherAdConst .AD_TIEPIAN_LIVE to " 5985131"
21- )
22- TogetherAd .initBaiduAd(applicationContext, " ee93e58e" , baiduIdMap)
23-
24- val gdtIdMap = mutableMapOf<String , String ?>(
25- TogetherAdConst .AD_SPLASH to " 8030228893573270" ,
26- TogetherAdConst .AD_INTER to " 4010231735332811" ,
27- TogetherAdConst .AD_FLOW_INDEX to " 4010231735332811" ,
28- TogetherAdConst .AD_TIEPIAN_LIVE to " 4060449650093530"
29- )
30- TogetherAd .initGDTAd(applicationContext, " 1106572734" , gdtIdMap)
31-
32- val xunFeiIdMap = mutableMapOf<String , String ?>(
33- TogetherAdConst .AD_SPLASH to " FD0AC8FDE5CE0B317A6C4077E68D34CC" ,
34- TogetherAdConst .AD_INTER to " 6FD44C667D5EFD97730CC1E3F174D965" ,
35- TogetherAdConst .AD_FLOW_INDEX to " EE2009111A1DF0BCA9DAD3723A95602F" ,
36- TogetherAdConst .AD_TIEPIAN_LIVE to " 93D157AAFA8B7EF64165B1F0ECEE2623"
37- )
38- TogetherAd .initXunFeiAd(applicationContext, xunFeiIdMap)
3914 }
4015}
0 commit comments