Provides all available methods for displaying banner ads. More...
#import <FlurryAdBanner.h>
Inherits NSObject.
Instance Methods | |
(id) | - initWithSpace: |
Initialize the banner ad object. More... | |
(void) | - fetchAdForFrame: |
Retrieves an ad for this object using the adspace specified in the initializer routine. More... | |
(void) | - displayAdInView:viewControllerForPresentation: |
Display an ad for this object that has been fetched earlier using fetchAdForFrame: More... | |
(void) | - fetchAndDisplayAdInView:viewControllerForPresentation: |
Fetch and then display an ad for this object that has been fetched earlier using #fetchAdForFrame. More... | |
Properties | |
NSString * | space |
Read only property that can be used to retrieve the ad space that was passed into an initializer routine. An Ad Space is an area within your app that is designated to display ads. Ad spaces need to be setup and configured on the Flurry developer portal. More... | |
FlurryAdTargeting * | targeting |
This property should be used for ad targeting based on parameters such as location, targeting kewords and user cookies. More... | |
id< FlurryAdBannerDelegate > | adDelegate |
Sets the object to receive various delegate methods. More... | |
BOOL | ready |
Returns if an ad is currently ready to display for this ad object. More... | |
Provides all available methods for displaying banner ads.
Set of methods that allow publishers to configure, target, and deliver ads to their customers.
Definition at line 28 of file FlurryAdBanner.h.
- (void) displayAdInView: | (UIView *) | view | |
viewControllerForPresentation: | (UIViewController *) | viewController | |
Display an ad for this object that has been fetched earlier using fetchAdForFrame:
This method will attempt to display the ad associated with the ad object.
view | The UIView within which the banner will be displayed |
viewController | The UIViewController to use for displaying a fullscreen when the banner is clicked. |
- (void) fetchAdForFrame: | (CGRect) | frame |
Retrieves an ad for this object using the adspace specified in the initializer routine.
This method will attempt to retrieve ads for this object's ad space from the Flurry server.
frame | The frame of the view within which the banner will be displayed |
- (void) fetchAndDisplayAdInView: | (UIView *) | view | |
viewControllerForPresentation: | (UIViewController *) | viewController | |
Fetch and then display an ad for this object that has been fetched earlier using #fetchAdForFrame.
This method will attempt to fetch a banner ad from the FlurryAd server and display it within the view passed into this API.
view | The UIView within which the banner will be displayed |
viewController | The UIViewController to use for displaying a fullscreen when the banner is clicked. |
- (id) initWithSpace: | (NSString *) | space |
Initialize the banner ad object.
This method initializes the ad object and gets it ready to fetch and serve a banner ad.
space | represents the placement of the ad in your app. e.g . "MAIN_VIEW_BOTTOM_BANNER_AD". |
|
readwritenonatomicweak |
Sets the object to receive various delegate methods.
This method allows you to register an object that will receive notifications at different phases of banner ad serving.
delegate | The object to receive notifications of various ad actions. |
Definition at line 78 of file FlurryAdBanner.h.
|
readnonatomicassign |
Returns if an ad is currently ready to display for this ad object.
This method will verify if an ad is currently available for this ad object. If an ad is not available, you can call fetchAdForFrame: to load a new ad.
Definition at line 116 of file FlurryAdBanner.h.
|
readwritenonatomiccopy |
Read only property that can be used to retrieve the ad space that was passed into an initializer routine. An Ad Space is an area within your app that is designated to display ads. Ad spaces need to be setup and configured on the Flurry developer portal.
Definition at line 38 of file FlurryAdBanner.h.
|
readwritenonatomicstrong |
This property should be used for ad targeting based on parameters such as location, targeting kewords and user cookies.
targeting | The ad targeting object. |
Definition at line 55 of file FlurryAdBanner.h.