Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

Add missing Custom Native delegate, property to Native Add and rename Native Ad delegate. #650

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Flash3001
Copy link

Add missing GADCustomNativeAdLoaderDelegate;

/// The delegate of a GADAdLoader object implements this protocol to receive
/// GADCustomNativeAd ads.
@protocol GADCustomNativeAdLoaderDelegate <GADAdLoaderDelegate>

/// Called when requesting an ad. Asks the delegate for an array of custom native ad format ID
/// strings.
- (nonnull NSArray<NSString *> *)customNativeAdFormatIDsForAdLoader:(nonnull GADAdLoader *)adLoader;

/// Tells the delegate that a custom native ad was received.
- (void)adLoader:(nonnull GADAdLoader *)adLoader
    didReceiveCustomNativeAd:(nonnull GADCustomNativeAd *)customNativeAd;

@end

Rename GADUnifiedNativeAdLoaderDelegate to GADNativeAdLoaderDelegate;

/// The delegate of a GADAdLoader object implements this protocol to receive GADNativeAd ads.
@protocol GADNativeAdLoaderDelegate <GADAdLoaderDelegate>
/// Called when a native ad is received.
- (void)adLoader:(nonnull GADAdLoader *)adLoader didReceiveNativeAd:(nonnull GADNativeAd *)nativeAd;
@end

Add missing headline to NativeAd;

/// Headline.
@property(nonatomic, readonly, copy, nullable) NSString *headline;

…dLoaderDelegate to GADNativeAdLoaderDelegate; Add missing headline to NativeAd;
@Flash3001
Copy link
Author

@microsoft-github-policy-service agree

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant