lpw
2026-07-15 4b30c10cef62c07efa1faf8a21e296b4a23ff591
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
//
//  GADPreloadDelegate_Beta.h
//  Google Mobile Ads SDK
//
//  Copyright © 2024 Google Inc. All rights reserved.
//
 
#import <GoogleMobileAds/GADPreloadConfigurationV2_Beta.h>
#import <GoogleMobileAds/GADResponseInfo.h>
 
/// Delegate for preloading events.
NS_SWIFT_NAME(PreloadDelegate)
@protocol GADPreloadDelegate <NSObject>
 
/// Called when an ad becomes available for the preload ID.
- (void)adAvailableForPreloadID:(nonnull NSString *)preloadID
                   responseInfo:(nonnull GADResponseInfo *)responseInfo;
 
/// Called when the last available ad is exhausted for the preload ID.
- (void)adsExhaustedForPreloadID:(nonnull NSString *)preloadID;
 
/// Called when an ad failed to preload for the preload ID.
- (void)adFailedToPreloadForPreloadID:(nonnull NSString *)preloadID error:(nonnull NSError *)error;
 
@end