commit | author | age
|
96fe76
|
1 |
// |
L |
2 |
// GADSearchBannerView.h |
|
3 |
// Google Mobile Ads SDK |
|
4 |
// |
|
5 |
// Copyright 2011 Google LLC. All rights reserved. |
|
6 |
// |
|
7 |
|
|
8 |
#import <GoogleMobileAds/GADAdSizeDelegate.h> |
|
9 |
#import <GoogleMobileAds/GADBannerView.h> |
|
10 |
|
|
11 |
/// A view that displays search ads. |
|
12 |
/// To show search ads: |
|
13 |
/// 1) Create a GADSearchBannerView and add it to your view controller's view hierarchy. |
|
14 |
/// 2) Create a GADDynamicHeightSearchRequest object to hold the search query and other search |
|
15 |
/// data. |
|
16 |
/// 3) Call GADSearchBannerView's -loadRequest: method with the |
|
17 |
/// GADDynamicHeightSearchRequest object. |
|
18 |
@interface GADSearchBannerView : GADBannerView |
|
19 |
|
|
20 |
/// If the banner view is initialized with GADAdSizeFluid and the corresponding request is created |
|
21 |
/// with dynamic height parameters, this delegate will be called when the ad size changes. |
|
22 |
@property(nonatomic, weak, nullable) IBOutlet id<GADAdSizeDelegate> adSizeDelegate; |
|
23 |
|
|
24 |
@end |