Skip to content

Commit 93ac226

Browse files
authored
mediation typo fixes (#1031)
Fixes "medation" typos in GMA documentation and code.
1 parent 252b9bc commit 93ac226

File tree

4 files changed

+11
-11
lines changed

4 files changed

+11
-11
lines changed

gma/src/android/ad_request_converter.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobject GetJavaAdRequestFromCPPAdRequest(const AdRequest& request,
5454

5555
// Network Extras.
5656
// The map associates class names of mediation adapters with a
57-
// key value pairs, the extras, to send to those medation adapters.
57+
// key value pairs, the extras, to send to those mediation adapters.
5858
// e.g. Mediation_Map < class name, Extras_Map < key, value > >
5959
const std::map<std::string, std::map<std::string, std::string>>& extras =
6060
request.extras();

gma/src/android/response_info_android.cc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,13 +64,13 @@ ResponseInfo::ResponseInfo(const ResponseInfoInternal& response_info_internal) {
6464
}
6565

6666
// The Mediation Adapter class name.
67-
const jobject j_medation_adapter_classname = env->CallObjectMethod(
67+
const jobject j_mediation_adapter_classname = env->CallObjectMethod(
6868
j_response_info,
6969
response_info::GetMethodId(response_info::kGetMediationAdapterClassName));
70-
if (j_medation_adapter_classname != nullptr) {
70+
if (j_mediation_adapter_classname != nullptr) {
7171
mediation_adapter_class_name_ =
72-
util::JStringToString(env, j_medation_adapter_classname);
73-
env->DeleteLocalRef(j_medation_adapter_classname);
72+
util::JStringToString(env, j_mediation_adapter_classname);
73+
env->DeleteLocalRef(j_mediation_adapter_classname);
7474
}
7575

7676
// The Response ID for this adapter response.

gma/src/include/firebase/gma/types.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -657,15 +657,15 @@ class AdRequest {
657657
return neighboring_content_urls_;
658658
}
659659

660-
/// Add a network extra for the associated ad medation adapter.
660+
/// Add a network extra for the associated ad mediation adapter.
661661
///
662-
/// Appends an extra to the corresponding list of extras for the ad medation
663-
/// adapter. Each ad medation adapter can have multiple extra strings.
662+
/// Appends an extra to the corresponding list of extras for the ad mediation
663+
/// adapter. Each ad mediation adapter can have multiple extra strings.
664664
///
665-
/// @param[in] adapter_class_name the class name of the ad medation adapter
665+
/// @param[in] adapter_class_name the class name of the ad mediation adapter
666666
/// for which to add the extra.
667667
/// @param[in] extra_key a key which will be passed to the corresponding ad
668-
/// medation adapter.
668+
/// mediation adapter.
669669
/// @param[in] extra_value the value associated with extra_key.
670670
void add_extra(const char* adapter_class_name, const char* extra_key,
671671
const char* extra_value);

gma/src/ios/response_info_ios.mm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
}
6060

6161
NSString *to_string = [[NSString alloc]initWithFormat:@"ResponseInfo "
62-
"response_id: %@, medation_adapter_classname : %@, "
62+
"response_id: %@, mediation_adapter_classname : %@, "
6363
"adapter_response_info: %@",
6464
response_info_internal.gad_response_info.responseIdentifier,
6565
response_info_internal.gad_response_info.adNetworkClassName,

0 commit comments

Comments
 (0)