Skip to content

Commit

Permalink
Update Ad Manager examples to use new app open test ad unit ID.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 651840182
  • Loading branch information
Mobile Ads Developer Relations authored and copybara-github committed Jul 12, 2024
1 parent 9b2845c commit 0e1c272
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ public interface OnShowAdCompleteListener {
private class AppOpenAdManager {

private static final String LOG_TAG = "AppOpenAdManager";
private static final String AD_UNIT_ID = "/6499/example/app-open";
private static final String AD_UNIT_ID = "/21775744923/example/app-open";

private final GoogleMobileAdsConsentManager googleMobileAdsConsentManager =
GoogleMobileAdsConsentManager.getInstance(getApplicationContext());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ class MyApplication :

companion object {
// This is an ad unit ID for a test ad. Replace with your own app open ad unit ID.
const val AD_UNIT_ID = "/6499/example/app-open"
const val AD_UNIT_ID = "/21775744923/example/app-open"
const val LOG_TAG = "MyApplication"

// Check your logcat output for the test device hashed ID e.g.
Expand Down

0 comments on commit 0e1c272

Please sign in to comment.