@@ -61,6 +61,9 @@ class Future {
6161// /
6262// / The GMA API allows you to load and display mobile ads using the Google
6363// / 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.
6467namespace gma {
6568
6669// / Initializes Google Mobile Ads (GMA) via Firebase.
@@ -78,7 +81,10 @@ namespace gma {
7881// / @return If init_result_out is kInitResultSuccess, this Future will contain
7982// / the initialization status of each adapter once initialization is complete.
8083// / 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 (
8288 const ::firebase::App& app, InitResult* init_result_out = nullptr );
8389
8490#if FIREBASE_PLATFORM_ANDROID || defined(DOXYGEN)
@@ -107,7 +113,10 @@ Future<AdapterInitializationStatus> Initialize(
107113// / @return If init_result_out is kInitResultSuccess, this Future will contain
108114// / the initialization status of each adapter once initialization is complete.
109115// / 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 (
111120 JNIEnv* jni_env, jobject activity, InitResult* init_result_out = nullptr );
112121
113122#endif // defined(__ANDROID__) || defined(DOXYGEN)
@@ -126,7 +135,10 @@ Future<AdapterInitializationStatus> Initialize(
126135// / will contain the initialization status of each adapter once initialization
127136// / is complete. Otherwise, the returned Future will have
128137// / <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 (
130142 InitResult* init_result_out = nullptr );
131143#endif // !defined(__ANDROID__) || defined(DOXYGEN)
132144
0 commit comments