質問編集履歴

2

訂正

2018/01/18 23:13

投稿

退会済みユーザー
test CHANGED
File without changes
test CHANGED
@@ -76,7 +76,7 @@
76
76
 
77
77
  // Initialize Google Mobile Ads SDK, application IDを設定
78
78
 
79
- GADMobileAds.configure(withApplicationID: "ca-app-pub-1651505634159491~3251173475")
79
+ GADMobileAds.configure(withApplicationID: "アプリID")
80
80
 
81
81
 
82
82
 

1

ソースコードを追加しました。

2018/01/18 23:13

投稿

退会済みユーザー
test CHANGED
File without changes
test CHANGED
@@ -54,4 +54,34 @@
54
54
 
55
55
  self.view.addSubview(admobView)
56
56
 
57
+
58
+
59
+
60
+
61
+
62
+
63
+ //AppDelegate.swift
64
+
65
+ func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
66
+
67
+ // Override point for customization after application launch.
68
+
69
+
70
+
71
+ // Use Firebase library to configure APIs
72
+
73
+ FirebaseApp.configure()
74
+
75
+
76
+
77
+ // Initialize Google Mobile Ads SDK, application IDを設定
78
+
79
+ GADMobileAds.configure(withApplicationID: "ca-app-pub-1651505634159491~3251173475")
80
+
81
+
82
+
83
+ return true
84
+
85
+ }
86
+
57
87
  ```