@@ -61,6 +61,9 @@ class Future {
61
61
// /
62
62
// / The GMA API allows you to load and display mobile ads using the Google
63
63
// / Mobile Ads SDK. Each ad format has its own header file.
64
+ // /
65
+ // / @deprecated The Google Mobile Ads C++ SDK is now deprecated. Please see
66
+ // / https://developers.google.com/admob/cpp/sdk for more information.
64
67
namespace gma {
65
68
66
69
// / Initializes Google Mobile Ads (GMA) via Firebase.
@@ -78,7 +81,10 @@ namespace gma {
78
81
// / @return If init_result_out is kInitResultSuccess, this Future will contain
79
82
// / the initialization status of each adapter once initialization is complete.
80
83
// / Otherwise, the returned Future will have kFutureStatusInvalid.
81
- Future<AdapterInitializationStatus> Initialize (
84
+ // /
85
+ // / @deprecated The Google Mobile Ads C++ SDK is now deprecated. Please see
86
+ // / https://developers.google.com/admob/cpp/sdk for more information.
87
+ FIREBASE_DEPRECATED Future<AdapterInitializationStatus> Initialize (
82
88
const ::firebase::App& app, InitResult* init_result_out = nullptr );
83
89
84
90
#if FIREBASE_PLATFORM_ANDROID || defined(DOXYGEN)
@@ -107,7 +113,10 @@ Future<AdapterInitializationStatus> Initialize(
107
113
// / @return If init_result_out is kInitResultSuccess, this Future will contain
108
114
// / the initialization status of each adapter once initialization is complete.
109
115
// / Otherwise, the returned Future will have kFutureStatusInvalid.
110
- Future<AdapterInitializationStatus> Initialize (
116
+ // /
117
+ // / @deprecated The Google Mobile Ads C++ SDK is now deprecated. Please see
118
+ // / https://developers.google.com/admob/cpp/sdk for more information.
119
+ FIREBASE_DEPRECATED Future<AdapterInitializationStatus> Initialize (
111
120
JNIEnv* jni_env, jobject activity, InitResult* init_result_out = nullptr );
112
121
113
122
#endif // defined(__ANDROID__) || defined(DOXYGEN)
@@ -126,7 +135,10 @@ Future<AdapterInitializationStatus> Initialize(
126
135
// / will contain the initialization status of each adapter once initialization
127
136
// / is complete. Otherwise, the returned Future will have
128
137
// / <code>kFutureStatusInvalid</code>.
129
- Future<AdapterInitializationStatus> Initialize (
138
+ // /
139
+ // / @deprecated The Google Mobile Ads C++ SDK is now deprecated. Please see
140
+ // / https://developers.google.com/admob/cpp/sdk for more information.
141
+ FIREBASE_DEPRECATED Future<AdapterInitializationStatus> Initialize (
130
142
InitResult* init_result_out = nullptr );
131
143
#endif // !defined(__ANDROID__) || defined(DOXYGEN)
132
144
0 commit comments