From 807b36e8edef2c70145d394422251e02d0a2d534 Mon Sep 17 00:00:00 2001 From: lpw <812862340@qq.com> Date: Thu, 16 Jul 2026 09:29:44 +0800 Subject: [PATCH] 提交版本 4.13.0 --- WAAdmobImpl/GoogleMobileAds.xcframework/ios-arm64/GoogleMobileAds.framework/Headers/GADNativeAd.h | 33 +++++++++++++++------------------ 1 files changed, 15 insertions(+), 18 deletions(-) diff --git a/WAAdmobImpl/GoogleMobileAds.xcframework/ios-arm64/GoogleMobileAds.framework/Headers/GADNativeAd.h b/WAAdmobImpl/GoogleMobileAds.xcframework/ios-arm64/GoogleMobileAds.framework/Headers/GADNativeAd.h index 4a65661..ec08d7d 100644 --- a/WAAdmobImpl/GoogleMobileAds.xcframework/ios-arm64/GoogleMobileAds.framework/Headers/GADNativeAd.h +++ b/WAAdmobImpl/GoogleMobileAds.xcframework/ios-arm64/GoogleMobileAds.framework/Headers/GADNativeAd.h @@ -17,12 +17,14 @@ #import <GoogleMobileAds/GADNativeAdImage.h> #import <GoogleMobileAds/GADResponseInfo.h> #import <GoogleMobileAds/GADVideoController.h> +#import <GoogleMobileAds/GoogleMobileAdsDefines.h> #import <UIKit/UIKit.h> /// Native ad. To request this ad type, pass GADAdLoaderAdTypeNative /// (see GADAdLoaderAdTypes.h) to the |adTypes| parameter in GADAdLoader's initializer method. If /// you request this ad type, your delegate must conform to the GADNativeAdLoaderDelegate /// protocol. +NS_SWIFT_NAME(NativeAd) @interface GADNativeAd : NSObject #pragma mark - Must be displayed if available @@ -71,27 +73,17 @@ /// Called when the ad is estimated to have earned money. Available for allowlisted accounts only. @property(nonatomic, nullable, copy) GADPaidEventHandler paidEventHandler; +/// An identifier for a placement in reporting. This property must be set prior to associating the +/// ad with a GADNativeAdView. +@property(nonatomic, readwrite) int64_t placementID; + /// Indicates whether custom Mute This Ad is available for the native ad. -@property(nonatomic, readonly, getter=isCustomMuteThisAdAvailable) BOOL customMuteThisAdAvailable; +@property(nonatomic, readonly, getter=isCustomMuteThisAdAvailable) + BOOL customMuteThisAdAvailable NS_SWIFT_NAME(isCustomMuteThisAdAvailable); /// An array of Mute This Ad reasons used to render customized mute ad survey. Use this array to /// implement your own Mute This Ad feature only when customMuteThisAdAvailable is YES. @property(nonatomic, readonly, nullable) NSArray<GADMuteThisAdReason *> *muteThisAdReasons; - -/// Registers ad view, clickable asset views, and nonclickable asset views with this native ad. -/// Media view shouldn't be registered as clickable. -/// @param clickableAssetViews Dictionary of asset views that are clickable, keyed by asset IDs. -/// @param nonclickableAssetViews Dictionary of asset views that are not clickable, keyed by asset -/// IDs. -- (void)registerAdView:(nonnull UIView *)adView - clickableAssetViews: - (nonnull NSDictionary<GADNativeAssetIdentifier, UIView *> *)clickableAssetViews - nonclickableAssetViews: - (nonnull NSDictionary<GADNativeAssetIdentifier, UIView *> *)nonclickableAssetViews; - -/// Unregisters ad view from this native ad. The corresponding asset views will also be -/// unregistered. -- (void)unregisterAdView; /// Reports the mute event with the mute reason selected by user. Use nil if no reason was selected. /// Call this method only if customMuteThisAdAvailable is YES. @@ -102,15 +94,20 @@ #pragma mark - Protocol and constants /// The delegate of a GADAdLoader object implements this protocol to receive GADNativeAd ads. +NS_SWIFT_NAME(NativeAdLoaderDelegate) @protocol GADNativeAdLoaderDelegate <GADAdLoaderDelegate> + /// Called when a native ad is received. -- (void)adLoader:(nonnull GADAdLoader *)adLoader didReceiveNativeAd:(nonnull GADNativeAd *)nativeAd; +- (void)adLoader:(nonnull GADAdLoader *)adLoader + didReceiveNativeAd:(nonnull GADNativeAd *)nativeAd NS_SWIFT_UI_ACTOR; + @end -#pragma mark - Unified Native Ad View +#pragma mark - Native Ad View /// Base class for native ad views. Your native ad view must be a subclass of this class and must /// call superclass methods for all overridden methods. +NS_SWIFT_NAME(NativeAdView) @interface GADNativeAdView : UIView /// This property must point to the native ad object rendered by this ad view. -- Gitblit v1.8.0