| | |
| | | |
| | | /// A view that displays banner ads. See https://developers.google.com/admob/ios/banner to get |
| | | /// started. |
| | | NS_SWIFT_NAME(BannerView) |
| | | @interface GADBannerView : UIView |
| | | |
| | | #pragma mark Initialization |
| | |
| | | /// Requests an ad. The request object supplies targeting information. |
| | | - (void)loadRequest:(nullable GADRequest *)request; |
| | | |
| | | /// Loads the ad and informs |delegate| of the outcome. |
| | | - (void)loadWithAdResponseString:(nonnull NSString *)adResponseString NS_SWIFT_NAME(load(with:)); |
| | | |
| | | /// A Boolean value that determines whether autoloading of ads in the receiver is enabled. If |
| | | /// enabled, you do not need to call the loadRequest: method to load ads. |
| | | @property(nonatomic, assign, getter=isAutoloadEnabled) IBInspectable BOOL autoloadEnabled; |
| | | @property(nonatomic, assign, getter=isAutoloadEnabled) |
| | | IBInspectable BOOL autoloadEnabled NS_SWIFT_NAME(isAutoloadEnabled); |
| | | |
| | | #pragma mark Response |
| | | |
| | |
| | | /// Called when 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 placing the ad |
| | | /// into a visible superview. |
| | | @property(nonatomic, readwrite) int64_t placementID; |
| | | |
| | | /// Indicates whether the last loaded ad is a collapsible banner. |
| | | @property(nonatomic, readonly) BOOL isCollapsible; |
| | | |