From 28a856b89c2f0ba78fcfca694436f7f57899d471 Mon Sep 17 00:00:00 2001 From: Nicholas Ventimiglia Date: Wed, 29 Nov 2023 08:09:38 -0800 Subject: [PATCH] Corrected Broken AppOpen AdUnitId. PiperOrigin-RevId: 586345439 --- .../android/gms/example/appopenexample/MyApplication.java | 2 +- .../google/android/gms/example/appopenexample/MyApplication.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/java/admob/AppOpenExample/app/src/main/java/com/google/android/gms/example/appopenexample/MyApplication.java b/java/admob/AppOpenExample/app/src/main/java/com/google/android/gms/example/appopenexample/MyApplication.java index 33d5bdad1..0bbb103f4 100644 --- a/java/admob/AppOpenExample/app/src/main/java/com/google/android/gms/example/appopenexample/MyApplication.java +++ b/java/admob/AppOpenExample/app/src/main/java/com/google/android/gms/example/appopenexample/MyApplication.java @@ -128,7 +128,7 @@ public interface OnShowAdCompleteListener { private class AppOpenAdManager { private static final String LOG_TAG = "AppOpenAdManager"; - private static final String AD_UNIT_ID = "ca-app-pub-3940256099942544/3419835294"; + private static final String AD_UNIT_ID = "ca-app-pub-3940256099942544/9257395921"; private final GoogleMobileAdsConsentManager googleMobileAdsConsentManager = GoogleMobileAdsConsentManager.getInstance(getApplicationContext()); diff --git a/kotlin/admob/AppOpenExample/app/src/main/java/com/google/android/gms/example/appopenexample/MyApplication.kt b/kotlin/admob/AppOpenExample/app/src/main/java/com/google/android/gms/example/appopenexample/MyApplication.kt index 7cc723179..461cf34af 100644 --- a/kotlin/admob/AppOpenExample/app/src/main/java/com/google/android/gms/example/appopenexample/MyApplication.kt +++ b/kotlin/admob/AppOpenExample/app/src/main/java/com/google/android/gms/example/appopenexample/MyApplication.kt @@ -19,7 +19,7 @@ import com.google.android.gms.ads.appopen.AppOpenAd import com.google.android.gms.ads.appopen.AppOpenAd.AppOpenAdLoadCallback import java.util.Date -private const val AD_UNIT_ID = "ca-app-pub-3940256099942544/3419835294" +private const val AD_UNIT_ID = "ca-app-pub-3940256099942544/9257395921" private const val LOG_TAG = "MyApplication" /** Application class that initializes, loads and show ads when activities change states. */