From 5c57c740c1a3a7acbb384dcf2557fd129fa7328c Mon Sep 17 00:00:00 2001
From: lpw <812862340@qq.com>
Date: Thu, 16 Jul 2026 14:30:49 +0800
Subject: [PATCH] 提交版本 4.13.1
---
WAAdmobImpl/GoogleMobileAds.xcframework/ios-arm64_x86_64-simulator/GoogleMobileAds.framework/Headers/GADRequestConfiguration.h | 49 +++++++++++++++++++++++++++++++++++++------------
1 files changed, 37 insertions(+), 12 deletions(-)
diff --git a/WAAdmobImpl/GoogleMobileAds.xcframework/ios-arm64_x86_64-simulator/GoogleMobileAds.framework/Headers/GADRequestConfiguration.h b/WAAdmobImpl/GoogleMobileAds.xcframework/ios-arm64_x86_64-simulator/GoogleMobileAds.framework/Headers/GADRequestConfiguration.h
index 862ee24..78dd319 100644
--- a/WAAdmobImpl/GoogleMobileAds.xcframework/ios-arm64_x86_64-simulator/GoogleMobileAds.framework/Headers/GADRequestConfiguration.h
+++ b/WAAdmobImpl/GoogleMobileAds.xcframework/ios-arm64_x86_64-simulator/GoogleMobileAds.framework/Headers/GADRequestConfiguration.h
@@ -30,6 +30,16 @@
GADPublisherPrivacyPersonalizationStateDisabled = 2,
} NS_SWIFT_NAME(PublisherPrivacyPersonalizationState);
+/// An age treatment to apply to ad requests.
+typedef NS_ENUM(NSInteger, GADAgeRestrictedTreatment) {
+ /// Indicates that no specific age treatment signal applies to ad requests.
+ GADAgeRestrictedTreatmentUnspecified = 0,
+ /// Indicates that ad requests should receive child age treatment.
+ GADAgeRestrictedTreatmentChild = 1,
+ /// Indicates that ad requests should receive teenage treatment.
+ GADAgeRestrictedTreatmentTeen = 2,
+} NS_SWIFT_NAME(AgeRestrictedTreatment);
+
/// Request configuration. The settings in this class will apply to all ad requests.
NS_SWIFT_NAME(RequestConfiguration)
@interface GADRequestConfiguration : NSObject
@@ -41,6 +51,28 @@
/// The test device identifier for the current device is logged to the console when the first
/// ad request is made.
@property(nonatomic, copy, nullable) NSArray<NSString *> *testDeviceIdentifiers;
+
+/// The age treatment to apply to ad requests. Consult your own legal counsel to determine the age
+/// treatment settings for your users based on your legal and regulatory requirements. For more
+/// information on this setting, review
+/// https://developers.google.com/admob/ios/targeting#set_the_age_treatment
+///
+/// By setting this property, you certify that this notification is accurate and you are authorized
+/// to act on behalf of the owner of the app. You understand that abuse of this setting may result
+/// in termination of your Google account.
+@property(nonatomic) GADAgeRestrictedTreatment ageRestrictedTreatment;
+
+/// Controls whether the Google Mobile Ads SDK publisher first-party ID, formerly known as the same
+/// app key, is enabled. The value set persists across app sessions. The key is enabled by default.
+- (void)setPublisherFirstPartyIDEnabled:(BOOL)enabled;
+
+#pragma mark - Publisher Privacy Treatment
+
+/// This property lets you specify the personalization treatment that applies to subsequent ad
+/// requests.
+@property(nonatomic) GADPublisherPrivacyPersonalizationState publisherPrivacyPersonalizationState;
+
+#pragma mark - Deprecated
/// [Optional] This property indicates whether the user is under the age of consent.
/// https://developers.google.com/admob/ios/targeting#users_under_the_age_of_consent.
@@ -57,7 +89,8 @@
/// If you leave or reset this property as nil or unknown, ad requests will include no indication
/// of how you would like your ad requests to be handled in a manner suitable for users under the
/// age of consent.
-@property(nonatomic, nullable, copy) NSNumber *tagForUnderAgeOfConsent;
+@property(nonatomic, nullable, copy) NSNumber *tagForUnderAgeOfConsent GAD_DEPRECATED_MSG_ATTRIBUTE(
+ "Use the ageRestrictedTreatment property instead.");
/// [Optional] This property indicates whether you would like your app to be treated as
/// child-directed for purposes of the Children’s Online Privacy Protection Act (COPPA),
@@ -75,16 +108,8 @@
/// By setting this property, you certify that this notification is accurate and you are authorized
/// to act on behalf of the owner of the app. You understand that abuse of this setting may result
/// in termination of your Google account.
-@property(nonatomic, nullable, copy) NSNumber *tagForChildDirectedTreatment;
-
-/// Controls whether the Google Mobile Ads SDK publisher first-party ID, formerly known as the same
-/// app key, is enabled. The value set persists across app sessions. The key is enabled by default.
-- (void)setPublisherFirstPartyIDEnabled:(BOOL)enabled;
-
-#pragma mark - Publisher Privacy Treatment
-
-/// This property lets you specify the personalization treatment that applies to subsequent ad
-/// requests.
-@property(nonatomic) GADPublisherPrivacyPersonalizationState publisherPrivacyPersonalizationState;
+@property(nonatomic, nullable, copy)
+ NSNumber *tagForChildDirectedTreatment GAD_DEPRECATED_MSG_ATTRIBUTE(
+ "Use the ageRestrictedTreatment property instead.");
@end
--
Gitblit v1.8.0