diff --git a/Objective-C/admob/AppOpenExample/AppOpenExample/AppOpenAdManager.m b/Objective-C/admob/AppOpenExample/AppOpenExample/AppOpenAdManager.m index e4ed7661..6f90d815 100644 --- a/Objective-C/admob/AppOpenExample/AppOpenExample/AppOpenAdManager.m +++ b/Objective-C/admob/AppOpenExample/AppOpenExample/AppOpenAdManager.m @@ -78,7 +78,7 @@ - (void)loadAd { } _isLoadingAd = YES; NSLog(@"Start loading app open ad."); - [GADAppOpenAd loadWithAdUnitID:@"ca-app-pub-3940256099942544/5662855259" + [GADAppOpenAd loadWithAdUnitID:@"ca-app-pub-3940256099942544/5575463023" request:[GADRequest request] orientation:UIInterfaceOrientationPortrait completionHandler:^(GADAppOpenAd * _Nullable appOpenAd, NSError * _Nullable error) { diff --git a/Swift/admob/AppOpenExample/AppOpenExample/AppOpenAdManager.swift b/Swift/admob/AppOpenExample/AppOpenExample/AppOpenAdManager.swift index 86d12f77..0b487957 100644 --- a/Swift/admob/AppOpenExample/AppOpenExample/AppOpenAdManager.swift +++ b/Swift/admob/AppOpenExample/AppOpenExample/AppOpenAdManager.swift @@ -67,7 +67,7 @@ class AppOpenAdManager: NSObject { isLoadingAd = true print("Start loading app open ad.") GADAppOpenAd.load( - withAdUnitID: "ca-app-pub-3940256099942544/5662855259", + withAdUnitID: "ca-app-pub-3940256099942544/5575463023", request: GADRequest(), orientation: UIInterfaceOrientation.portrait ) { ad, error in