回答編集履歴
1
.
answer
CHANGED
@@ -5,4 +5,30 @@
|
|
5
5
|
を再度取得して確認してみては
|
6
6
|
|
7
7
|
それからスタートガイド沿ってinfoファイルの設定はしましたか
|
8
|
-
[リンク内容](https://developers.google.com/admob/ios/quick-start?hl=ja)
|
8
|
+
[リンク内容](https://developers.google.com/admob/ios/quick-start?hl=ja)
|
9
|
+
|
10
|
+
|
11
|
+
あるいは、Firebaseなら
|
12
|
+
GADMobileAds.configure(withApplicationID: "YOUR_ADMOB_APP_ID")
|
13
|
+
を使うとか
|
14
|
+
|
15
|
+
```
|
16
|
+
@UIApplicationMain
|
17
|
+
class AppDelegate: UIResponder, UIApplicationDelegate {
|
18
|
+
|
19
|
+
var window: UIWindow?
|
20
|
+
|
21
|
+
func application(_ application: UIApplication,
|
22
|
+
didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
|
23
|
+
|
24
|
+
// Use Firebase library to configure APIs.
|
25
|
+
FirebaseApp.configure()
|
26
|
+
|
27
|
+
// Initialize the Google Mobile Ads SDK.
|
28
|
+
GADMobileAds.configure(withApplicationID: "YOUR_ADMOB_APP_ID")
|
29
|
+
|
30
|
+
return true
|
31
|
+
}
|
32
|
+
|
33
|
+
}
|
34
|
+
```
|