AdMobConfiguration.cs 641 B

123456789101112131415161718
  1. namespace DevilLink2.Ads {
  2. public static class AdMobConfiguration {
  3. public const string AppId="ca-app-pub-8449397879714583~7786494127";
  4. public const string TestRewardedId="ca-app-pub-3940256099942544/1712485313";
  5. public const string ProductionRewardedId="ca-app-pub-8449397879714583/4940838937";
  6. // Production serving is deliberately disabled, including release builds.
  7. public static readonly bool EnableProduction = false;
  8. public static string RewardedId {
  9. get {
  10. #if UNITY_EDITOR || DEVELOPMENT_BUILD
  11. return TestRewardedId;
  12. #else
  13. return EnableProduction ? ProductionRewardedId : TestRewardedId;
  14. #endif
  15. }
  16. }
  17. }
  18. }