The root view controller is used to present ad click actions.
adTypes
An array of ad types. See GADAdLoaderAdTypes.h for available ad types.
options
An 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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2021-03-03 UTC."],[],[],null,["# GoogleMobileAds Framework Reference\n\nGADAdLoader\n===========\n\n class GADAdLoader : NSObject\n\nLoads ads. See GADAdLoaderAdTypes.h for available ad types.\n- `\n ``\n ``\n `\n\n ### [delegate](#/c:objc(cs)GADAdLoader(py)delegate)\n\n `\n ` \n Object notified when an ad request succeeds or fails. Must conform to requested ad types'\n delegate protocols. \n\n #### Declaration\n\n Swift \n\n weak var delegate: ../Protocols/GADAdLoaderDelegate.html? { get set }\n\n- `\n ``\n ``\n `\n\n ### [adUnitID](#/c:objc(cs)GADAdLoader(py)adUnitID)\n\n `\n ` \n The ad loader's ad unit ID. \n\n #### Declaration\n\n Swift \n\n var adUnitID: String { get }\n\n- `\n ``\n ``\n `\n\n ### [isLoading](#/c:objc(cs)GADAdLoader(py)loading)\n\n `\n ` \n Indicates whether the ad loader is loading. \n\n #### Declaration\n\n Swift \n\n var isLoading: Bool { get }\n\n- `\n ``\n ``\n `\n\n ### [init(adUnitID:rootViewController:adTypes:options:)](#/c:objc(cs)GADAdLoader(im)initWithAdUnitID:rootViewController:adTypes:options:)\n\n `\n ` \n Returns an initialized ad loader configured to load the specified ad types. \n\n #### Declaration\n\n Swift \n\n init(adUnitID: String, rootViewController: UIViewController?, adTypes: [../Type-Definitions.html#/c:GADAdLoaderAdTypes.h@T@GADAdLoaderAdType], options: [../Classes.html#/c:objc(cs)GADAdLoaderOptions]?)\n\n #### Parameters\n\n |----------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n | ` `*rootViewController*` ` | The root view controller is used to present ad click actions. |\n | ` `*adTypes*` ` | An array of ad types. See GADAdLoaderAdTypes.h for available ad types. |\n | ` `*options*` ` | An 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. |\n\n- `\n ``\n ``\n `\n\n ### [load(_:)](#/c:objc(cs)GADAdLoader(im)loadRequest:)\n\n `\n ` \n Loads the ad and informs the delegate of the outcome. \n\n #### Declaration\n\n Swift \n\n func load(_ request: ../Classes/GADRequest.html?)"]]