GADAdLoader
@interface GADAdLoader : NSObjectLoads ads. See GADAdLoaderAdTypes.h for available ad types.
- 
                  
                  Object notified when an ad request succeeds or fails. Must conform to requested ad types’ delegate protocol. This property must be set before initiating ad requests. DeclarationSwift weak var delegate: (any AdLoaderDelegate)? { get set }Objective-C @property (nonatomic, weak, nullable) id<GADAdLoaderDelegate> delegate;
- 
                  
                  The ad loader’s ad unit ID. DeclarationSwift var adUnitID: String { get }Objective-C @property (nonatomic, readonly, nonnull) NSString *adUnitID;
- 
                  
                  Indicates whether the ad loader is loading. DeclarationSwift var isLoading: Bool { get }Objective-C @property (nonatomic, readonly, getter=isLoading) BOOL loading;
- 
                  
                  Returns an initialized ad loader configured to load the specified ad types. DeclarationSwift init(adUnitID: String, rootViewController: UIViewController?, adTypes: [AdLoaderAdType], options: [GADAdLoaderOptions]?)Objective-C - (nonnull instancetype) initWithAdUnitID:(nonnull NSString *)adUnitID rootViewController:(nullable UIViewController *)rootViewController adTypes:(nonnull NSArray<GADAdLoaderAdType> *)adTypes options:(nullable NSArray<GADAdLoaderOptions *> *)options;ParametersrootViewControllerThe root view controller is used to present ad click actions. adTypesAn array of ad types. See GADAdLoaderAdTypes.h for available ad types. optionsAn array of GADAdLoaderOptions objects to configure how ads are loaded, or nil to use default options. See each ad type’s header for available GADAdLoaderOptions subclasses. 
- 
                  
                  Loads the ad and informs the delegate of the outcome. DeclarationSwift func load(_ request: Request?)Objective-C - (void)loadRequest:(nullable GADRequest *)request;
- 
                  
                  Returns an initialized ad loader. DeclarationSwift init(rootViewController: UIViewController?)Objective-C - (nonnull instancetype)initWithRootViewController: (nullable UIViewController *)rootViewController;ParametersrootViewControllerThe root view controller used to present ad click actions. 
- 
                  
                  Loads the ad and informs the delegate of the outcome. DeclarationSwift func load(with adResponseString: String)Objective-C - (void)loadWithAdResponseString:(nonnull NSString *)adResponseString;