GSBannerAdView Class Reference
Inherits from | GSAdView : UIView |
Conforms to | GSAd |
Declared in | GSBannerAdView.h |
Overview
The base class for all banner ad views.
Warning: This class should not be instantiated. Instead instantiate one of its subclasses, GSMobileBannerAdView, GSMediumRectangleAdView, or GSLeaderboardAdView, depending on what ad size you are using.
Tasks
-
delegate
The delegate that will be receive all ad notification messages. This delegate is also responsible for providing a view controller that the ad will be displayed from.
property -
– initWithDelegate:
Convenience method for initializing a GSBannerAdView.
-
– initWithDelegate:GUID:
Convenience method for initializing a GSBannerAdView.
-
– initWithDelegate:GUID:autoload:
Convenience method for initializing a GSBannerAdView.
Instance Methods
initWithDelegate:
Convenience method for initializing a GSBannerAdView.
- (id)initWithDelegate:(id<GSAdDelegate>)a_delegate
Parameters
- a_delegate
The delegate that will receive all ad notification messages.
Declared In
GSBannerAdView.h
initWithDelegate:GUID:
Convenience method for initializing a GSBannerAdView.
- (id)initWithDelegate:(id<GSAdDelegate>)a_delegate GUID:(NSString *)a_GUID
Parameters
- a_delegate
The delegate that will receive all ad notification messages.
- a_GUID
The global unique identifier for the application.
Declared In
GSBannerAdView.h
initWithDelegate:GUID:autoload:
Convenience method for initializing a GSBannerAdView.
- (id)initWithDelegate:(id<GSAdDelegate>)a_delegate GUID:(NSString *)a_GUID autoload:(BOOL)a_autoload
Parameters
- a_delegate
The delegate that will receive all ad notification messages.
- a_GUID
The global unique identifier for the application.
- a_autoload
A BOOL indicating if the first ad should be auto-fetched.
Declared In
GSBannerAdView.h