99 lines
		
	
	
		
			4.1 KiB
		
	
	
	
		
			C#
		
	
	
	
			
		
		
	
	
			99 lines
		
	
	
		
			4.1 KiB
		
	
	
	
		
			C#
		
	
	
	
| #if !TOUKA_TEST
 | ||
| #if UNITY_IOS
 | ||
| 
 | ||
| /// <summary>
 | ||
| /// 广告ID相关配置
 | ||
| /// </summary>
 | ||
| public static partial class StaticStringsKey {
 | ||
| 
 | ||
|     #region 默认需修改配置
 | ||
| 
 | ||
| #if IOS_CN
 | ||
|     // admob
 | ||
|     public const string GADValue = "ca-app-pub-3916046151571724~3382441071";        // admob id
 | ||
| 
 | ||
|     /*
 | ||
|      * 年龄填写 8、12、16、18
 | ||
|      */
 | ||
|     public const string age = "8";
 | ||
| 
 | ||
|     /*
 | ||
|      * 填写自己游戏类型
 | ||
|      */
 | ||
|     public const string content = "休闲益智";
 | ||
| #else
 | ||
|     // admob
 | ||
|     public const string GADValue = "ca-app-pub-3916046151571724~3382441071";        // admob id
 | ||
| #endif
 | ||
| 
 | ||
|     // topon(cn)    - 国内版本用Topon
 | ||
|     public const string TOPON_APPID = "a605885616c9c2";                         // topon appid
 | ||
|     public const string TOPON_APPKEY = "c13e4357e57d78e76e472899eb182e98";      // topon appkey - (同一个账号key相同)
 | ||
|     public const string TOPON_IntersUnitId = "b605885cf82614";                  // topon 插屏id
 | ||
|     public const string TOPON_RewardVideoUnitId = "b605885e3d7950";             // topon 激励视频id
 | ||
|     public const string TOPON_OriginOpenScreenId = "b620b7ff8b4dc2";            // topon 原始开屏id(非native拼)
 | ||
|     public const string TOPON_NativeUnitId = "";                                // topon native id
 | ||
|     public const string TOPON_NativeOpenscreenId = "b620b7ff8b4dc2";            // topon native拼开屏id
 | ||
|     public const string TOPON_NativeBannerUnitId = "";                          // topon native拼banner id
 | ||
|     
 | ||
|     // max (us)     - 海外版本用max
 | ||
|     public const string MAX_AppLovinSdkKey = "QVt-ZBOR44Frm2Ub8gEfbPo-K8SeKHvyzoq-TJ3op08cFx29THV9DviWinxrQBxNePGKU14gHOkClTrNOi_1a9";      // max key- (同一个账号key相同)
 | ||
|     public const string MAX_IV = "70232343fc36c2df";        // max 插屏id
 | ||
|     public const string MAX_RV = "f39092451ad4cee2";        // max 激励视频id
 | ||
| 
 | ||
|     // 广告开关
 | ||
|     public const bool BannerSwitch = false;     // banner开关
 | ||
|     public const bool InterSwitch = true;      // 插屏开关
 | ||
|     public const bool RewardSwitch = true;     // 激励视频开关
 | ||
|     public const bool NativeSwitch = false;     // native开关
 | ||
|     public const bool SplashSwitch = true;     // 开屏开关      // 
 | ||
| 
 | ||
|     #endregion
 | ||
| 
 | ||
|     #region pangle 配置 有需要用pangle sdk才需要修改
 | ||
| 
 | ||
|     // pangle sdk(cn)   - pangle 看运营需求,有需要才需要修改。
 | ||
|     public const string PANGLE_APPID = "5180758";           // pangle id
 | ||
|     public const string PANGLE_IntersUnitId = "946231416";          // pangle 插屏id
 | ||
|     public const string PANGLE_RewardVideoUnitId = "946231404";     // pangle 激励视频id
 | ||
|     public const string PANGLE_NativeUnitId = "946231621";          // pangle native id
 | ||
|     public const string PANGLE_OriginOpenScreenId = "887492428";    // pangle 原始开屏id(非native拼)
 | ||
| 
 | ||
|     #endregion
 | ||
| 
 | ||
|     #region sdk 内部赋值(无需修改)
 | ||
| 
 | ||
|     // touka sdk
 | ||
|     public const string TOUKA_SDK_APPKEY = TOPON_APPKEY;
 | ||
| 
 | ||
|     public const string TOUKA_SDK_BANNERID = TOPON_NativeBannerUnitId;
 | ||
|     public const string TOUKA_SDK_SPLASHID = TOPON_NativeOpenscreenId;
 | ||
| 
 | ||
| 
 | ||
| #if IOS_CN
 | ||
|     #if PANGLE
 | ||
|         public const string TOUKA_SDK_APPID = PANGLE_APPID;
 | ||
|         public const string TOUKA_SDK_INTERID = PANGLE_IntersUnitId;
 | ||
|         public const string TOUKA_SDK_REWARDID = PANGLE_RewardVideoUnitId;
 | ||
|         public const string TOUKA_SDK_NATIVEID = PANGLE_NativeUnitId;
 | ||
|         public const string TOUKA_SDK_ORIGINSPLASHID = PANGLE_OriginOpenScreenId;
 | ||
|     #else
 | ||
|         public const string TOUKA_SDK_APPID = TOPON_APPID;
 | ||
|         public const string TOUKA_SDK_INTERID = TOPON_IntersUnitId;
 | ||
|         public const string TOUKA_SDK_REWARDID = TOPON_RewardVideoUnitId;
 | ||
|         public const string TOUKA_SDK_NATIVEID = TOPON_NativeUnitId;
 | ||
|         public const string TOUKA_SDK_ORIGINSPLASHID = TOPON_OriginOpenScreenId;
 | ||
| #endif
 | ||
| #else
 | ||
|     public const string TOUKA_SDK_APPID = TOPON_APPID;
 | ||
|     public const string TOUKA_SDK_INTERID = MAX_IV;
 | ||
|     public const string TOUKA_SDK_REWARDID = MAX_RV;
 | ||
|     public const string TOUKA_SDK_NATIVEID = TOPON_NativeUnitId;
 | ||
|     public const string TOUKA_SDK_ORIGINSPLASHID = TOPON_OriginOpenScreenId;
 | ||
| #endif
 | ||
| 
 | ||
|     #endregion
 | ||
| }
 | ||
| 
 | ||
| #endif
 | ||
| #endif |