-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsdk_config.js
53 lines (46 loc) · 1.4 KB
/
sdk_config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
/*
* sdk的配置文件
*
* create by zengxx on 2018-11-22
*/
let config = {};
// 项目配置的一些基本信息
config.baseInfo = {
debug: true, // 是否debug模式,上线必须设置为false
};
config.AdsConfig = {
'bannerPos': 'BOTTOM_CENTER',
isTest: config.baseInfo.debug, // 上线必须设置为false,否则不计算收益
admobIds: {
android: { // for Android
banner: 'ca-app-pub-3180535698853578/1576771014',
interstitial: 'ca-app-pub-3180535698853578/8688974274',
rewardvideo: 'ca-app-pub-3180535698853578/9427340872',
},
ios: { // for iOS
banner: 'ca-app-pub-3180535698853578/5843319084',
interstitial: 'ca-app-pub-3180535698853578/4830578177',
rewardvideo: 'ca-app-pub-3180535698853578/1629699769',
},
wp: { // for windows phone
banner: '',
interstitial: '',
rewardvideo: '',
},
},
};
config.fbConfig = {
interstitial: 'my_placement_id', // 插屏广告id
rewardvideo: 'my_placement_id', // 奖励广告id
appId: '', // fb的appid
};
config.AdjustInfo = {
isTest: config.baseInfo.debug, // 上线必须设置为false
appToken: 'y37hhbk3h0jk',
eventToken: {
START: '3zgi11', // 启动
REGISTER: 'rf81mo', // 注册
LOGIN: '9zhccv', // 登录
},
};
module.exports = config;