feat(ads): wire real AdMob ids (Phase 5 finalize)

Replaces the TODO_REAL_* ad-unit placeholders with the owner's real AdMob
console ids (publisher pub-5605900229781491) and the native AdMob app ids
(iOS ~8397095848, Android ~8257495040) in place of the Google sample ids.
Debug builds still serve Google test ads via kDebugMode; release builds now
use the real units.
This commit is contained in:
2026-06-13 19:05:10 +09:00
parent b31228d987
commit 734c8a4cf7
3 changed files with 11 additions and 9 deletions
+9 -7
View File
@@ -27,13 +27,15 @@ class AdConfig {
static const _testBannerAndroid = 'ca-app-pub-3940256099942544/6300978111';
static const _testBannerIos = 'ca-app-pub-3940256099942544/2934735716';
// --- Owner replaces these with real AdMob console unit IDs ---
static const _realInterstitialAndroid = 'TODO_REAL_INTERSTITIAL_ANDROID';
static const _realInterstitialIos = 'TODO_REAL_INTERSTITIAL_IOS';
static const _realRewardedAndroid = 'TODO_REAL_REWARDED_ANDROID';
static const _realRewardedIos = 'TODO_REAL_REWARDED_IOS';
static const _realBannerAndroid = 'TODO_REAL_BANNER_ANDROID';
static const _realBannerIos = 'TODO_REAL_BANNER_IOS';
// --- Real AdMob console unit IDs (publisher pub-5605900229781491) ---
static const _realInterstitialAndroid =
'ca-app-pub-5605900229781491/8489470891';
static const _realInterstitialIos =
'ca-app-pub-5605900229781491/2953197478';
static const _realRewardedAndroid = 'ca-app-pub-5605900229781491/4478032132';
static const _realRewardedIos = 'ca-app-pub-5605900229781491/7011566835';
static const _realBannerAndroid = 'ca-app-pub-5605900229781491/5072970060';
static const _realBannerIos = 'ca-app-pub-5605900229781491/3620287592';
static String _pick(String testA, String testI, String realA, String realI) {
final android = useTestIds ? testA : realA;