iOS SDK  7.3.0
 All Classes Files Functions Properties Pages
<FlurryAdDelegate> Protocol Referenceabstract

Provides all available delegates for receiving callbacks related to Ad Serving. More...

#import <FlurryAdDelegate.h>

Inherits <NSObject>.

Instance Methods

(void) - spaceDidReceiveAd:
 Invoked when an ad is received for the specified adSpace. More...
 
(void) - spaceDidFailToReceiveAd:error:
 Invoked when an ad can not be retrieved for the specified adSpace. More...
 
(BOOL) - spaceShouldDisplay:interstitial:
 Invoked when an ad is about to display on the specified adSpace. More...
 
(BOOL) - spaceShouldDisplay:forType:
 [Deprecated] This method is deprecated. -[spaceShouldDisplay:interstitial:] should be used. More...
 
(void) - spaceDidRender:interstitial:
 Invoked when an ad is rendered. More...
 
(void) - spaceDidFailToRender:error:
 Invoked when an ad fails to render. More...
 
(void) - spaceWillDismiss:interstitial:
 Invoked when the ad will be removed. More...
 
(void) - spaceDidDismiss:interstitial:
 Invoked when the ad has been removed. More...
 
(void) - spaceWillLeaveApplication:
 Invoked when the ad has been selected that will take the user out of the app. More...
 
(void) - spaceWillExpand:
 Invoked when a space will be expanded. More...
 
(void) - spaceWillCollapse:
 Invoked when a space will be collapsed. More...
 
(void) - spaceDidCollapse:
 Invoked when a space has been collapsed. More...
 
(void) - spaceDidReceiveClick:
 Informational callback invoked when an ad is clicked for the specified adSpace. More...
 
(void) - spaceClickActionDidFail:error:
 Informational callback invoked when an ad is clicked for the specified adSpace. and the click action fails. More...
 
(void) - videoDidFinish:
 Invoked when a video finishes playing. More...
 
(void) - videoDidNotFinish:
 Invoked when a video finishes playing. More...
 
Third party network Calls

Optional calls to pass information needed to display ads through 3rd parties.

(NSString *) - appSpotMillennialAppKey
 The Millennial APID. More...
 
(NSString *) - appSpotMillennialInterstitalAppKey
 The Millennial APID for interstitials. More...
 
(NSString *) - appSpotInMobiAppKey
 The InMobi APID. More...
 
(NSString *) - appSpotFANAppPlacementID
 The FAcebook Audience network APID. More...
 
(NSString *) - appSpotAdMobPublisherID
 The AdMob Publisher Id. More...
 
(NSString *) - appSpotMobclixApplicationID
 The Mobclix Application Id. More...
 
(NSString *) - appSpotJumptapPublisherID
 The Jumptap Publisher Id. More...
 
(NSString *) - appSpotJumptapSiteID
 The Jumptap Site Id. More...
 
(NSString *) - appSpotJumptapBannerAdSpotID
 Jumptap Banner Ad Spot ID. More...
 
(NSString *) - appSpotJumptapLeaderboardAdSpotID
 Jumptap Leaderboard Ad Spot ID. More...
 
(NSString *) - appSpotJumptapMediumRectangleAdSpotID
 Jumptap Medium Rectange Ad Spot ID. More...
 
((deprecated) - __attribute__
 [Deprecated] Allow you to set your rootViewController. More...
 
(BOOL) - appSpotAccelerometerEnabled
 For networks that support accelerometer-enabled ads. More...
 

Detailed Description

Provides all available delegates for receiving callbacks related to Ad Serving.

Set of methods that allow developers to manage and take actions within different phases of App ad display.

Note
This class serves as a delegate for FlurryAds.
For additional information on how to use Flurry's Ads SDK to attract high-quality users and monetize your user base see Support Center - Publisher.
Author
2010 - 2013 Flurry, Inc. All Rights Reserved.
Version
4.3.0

Definition at line 35 of file FlurryAdDelegate.h.

Method Documentation

- ((deprecated) __attribute__

[Deprecated] Allow you to set your rootViewController.

Since
4.0.0
Deprecated:

This method has been deprecated. Please call FlurryAds::initialze: instead.

- (BOOL) appSpotAccelerometerEnabled

For networks that support accelerometer-enabled ads.

Some networks support accelerometer-enabled ads.

Since
4.0.0

This method allows you to enable accelerometer based ads for networks that support this setting via the client sdk. Set to NO if your app uses the accelerometer to avoid conflict. Set to YES if you want the special ads. Default is NO.

- (NSString *) appSpotAdMobPublisherID

The AdMob Publisher Id.

Since
4.0.0

This is the id for your app as set in AdMob, found here: http://www.admob.com/my_sites/ (click manage settings)

- (NSString *) appSpotFANAppPlacementID

The FAcebook Audience network APID.

Since
5.1.0

This is the id for your app as set in FB Audience Network developer portal :https://developers.facebook.com

- (NSString *) appSpotInMobiAppKey

The InMobi APID.

Since
4.0.0

This is the id for your app as set in InMobi, found here: https://www.inmobi.com/pub/mysite.html?platFormType=all

- (NSString *) appSpotJumptapBannerAdSpotID

Jumptap Banner Ad Spot ID.

Since
4.1.2

This is the ad spot id for a Banner (320x50) ad spot set in JumpTap

- (NSString *) appSpotJumptapLeaderboardAdSpotID

Jumptap Leaderboard Ad Spot ID.

Since
4.1.2

This is the ad spot id for a Leaderboard (720x90) ad spot set in JumpTap

- (NSString *) appSpotJumptapMediumRectangleAdSpotID

Jumptap Medium Rectange Ad Spot ID.

Since
4.1.2

This is the ad spot id for a Medium Rectangle (320x50) ad spot set in JumpTap. The Medium Rectangle Ad Spot ID will be used whenever the ad frame can fit it (e.g. interstitial ads).

- (NSString *) appSpotJumptapPublisherID

The Jumptap Publisher Id.

Since
4.1.2

This is the pub id for your app as set in Jumptap

- (NSString *) appSpotJumptapSiteID

The Jumptap Site Id.

Since
4.1.2

This is the site id for your app as set in Jumptap. It is an optional parameter.

- (NSString *) appSpotMillennialAppKey

The Millennial APID.

Since
4.0.0

This is the id for your app as set in Millennial, found here: https://developer.millennialmedia.com/Application/index.php#manageApps.

- (NSString *) appSpotMillennialInterstitalAppKey

The Millennial APID for interstitials.

Since
4.0.0

This is the id for your app as set in Millennial, found here: https://developer.millennialmedia.com/Application/index.php#manageApps.

- (NSString *) appSpotMobclixApplicationID

The Mobclix Application Id.

Since
4.0.0

This is the id for your app as set in Mobclix

- (void) spaceClickActionDidFail: (NSString *)  adSpace
error: (NSError *)  error 
optional

Informational callback invoked when an ad is clicked for the specified adSpace. and the click action fails.

Since
6.0.0
Parameters
adSpaceThe placement of an ad in your app, where placement may be splash screen for SPLASH_AD.
- (void) spaceDidCollapse: (NSString *)  adSpace
optional

Invoked when a space has been collapsed.

Since
4.1

This method informs the app an ad space (typcially a banner) has been collapsed. Apps should resume their state when they receive this notification

Parameters
adSpaceThe placement of an ad in your app, where placement may be splash screen for SPLASH_AD.
- (void) spaceDidDismiss: (NSString *)  adSpace
interstitial: (BOOL)  interstitial 
optional

Invoked when the ad has been removed.

Since
4.0.0

This method informs the app that an ad has closed. You can use this to resume app states.

Parameters
adSpaceThe placement of an ad in your app, where placement may be splash screen for SPLASH_AD.
interstitialYES/NO indicates if space being removed is an interstitial
- (void) spaceDidFailToReceiveAd: (NSString *)  adSpace
error: (NSError *)  error 
optional

Invoked when an ad can not be retrieved for the specified adSpace.

Since
4.1

This method informs the app that an ad has failed to be received for the given adSpace.

See Also
+ fetchAdForSpace:frame:size: (FlurryAds) for details on the method that will invoke this delegate.
Parameters
adSpaceThe placement of an ad in your app, where placement may
errorThe error, if known, that caused ads not to be received. be splash screen for SPLASH_AD.
- (void) spaceDidFailToRender: (NSString *)  space
error: (NSError *)  error 
optional

Invoked when an ad fails to render.

Since
4.0.0

This method informs the user an ad was retrieved, however, was unsuccessful in displaying to the user (could be lost network connectivity for example).

See Also
FlurryAds::displayAdForSpace:view: for details on the method that will invoke this delegate.
FlurryAds::fetchAndDisplayAdForSpace:view:size: for details on the method that will invoke this delegate.
Parameters
adSpaceThe placement of an ad in your app, where placement may
errorThe error, if known, that caused ads not to be rendered. be splash screen for SPLASH_AD.
- (void) spaceDidReceiveAd: (NSString *)  adSpace
optional

Invoked when an ad is received for the specified adSpace.

Since
4.1

This method informs the app that an ad has been received and is available for display.

See Also
+ fetchAdForSpace:frame:size: (FlurryAds) for details on the method that will invoke this delegate.
Parameters
adSpaceThe placement of an ad in your app, where placement may be splash screen for SPLASH_AD.
- (void) spaceDidReceiveClick: (NSString *)  adSpace
optional

Informational callback invoked when an ad is clicked for the specified adSpace.

Since
4.1

This method informs the app that an ad has been clicked. This should not be used to adjust state of an app. It is only intended for informational purposes.

Parameters
adSpaceThe placement of an ad in your app, where placement may be splash screen for SPLASH_AD.
- (void) spaceDidRender: (NSString *)  space
interstitial: (BOOL)  interstitial 
optional

Invoked when an ad is rendered.

Since
5.1.0

This method informs the user an ad was retrieved, and successful in displaying to the user.

See Also
FlurryAds::displayAdForSpace:view: for details on the method that will invoke this delegate.
FlurryAds::fetchAndDisplayAdForSpace:view:size: for details on the method that will invoke this delegate.
Parameters
adSpaceThe placement of an ad in your app, where placement may be splash screen for SPLASH_AD.
interstitialYES/NO if the space to display will be an interstitial.
- (BOOL) spaceShouldDisplay: (NSString *)  adSpace
optional

[Deprecated] This method is deprecated. -[spaceShouldDisplay:interstitial:] should be used.

- (BOOL) spaceShouldDisplay: (NSString *)  adSpace
interstitial: (BOOL)  interstitial 
optional

Invoked when an ad is about to display on the specified adSpace.

Since
4.1.0

This method informs the app that an ad is about to be displayed. You can decide at this point not to show this ad by simply returning NO.

See Also
FlurryAds::displayAdForSpace:view: for details on the method that will invoke this delegate.
FlurryAds::fetchAndDisplayAdForSpace:view:size: for details on the method that will invoke this delegate.
Parameters
adSpaceThe placement of an ad in your app, where placement may be splash screen for SPLASH_AD.
interstitialYES/NO if the space to display will be an interstitial.
- (void) spaceWillCollapse: (NSString *)  adSpace
optional

Invoked when a space will be collapsed.

Since
4.1

This method informs the app an ad space (typcially a banner) will be collapsed.

Parameters
adSpaceThe placement of an ad in your app, where placement may be splash screen for SPLASH_AD.
- (void) spaceWillDismiss: (NSString *)  adSpace
interstitial: (BOOL)  interstitial 
optional

Invoked when the ad will be removed.

Since
4.1

This method informs the app that an ad will be removed.

Parameters
adSpaceThe placement of an ad in your app, where placement may be splash screen for SPLASH_AD.
interstitialYES/NO indicates if space being removed is an interstitial
- (void) spaceWillExpand: (NSString *)  adSpace
optional

Invoked when a space will be expanded.

Since
4.1

This method informs the app an ad space (typcially a banner) will be expanded. Apps should pause their state when they receive this notification

Parameters
adSpaceThe placement of an ad in your app, where placement may be splash screen for SPLASH_AD.
- (void) spaceWillLeaveApplication: (NSString *)  adSpace
optional

Invoked when the ad has been selected that will take the user out of the app.

Since
4.0.0

This method informs the app that an ad has been clicked and the user is about to be taken outside the app.

Parameters
adSpaceThe placement of an ad in your app, where placement may be splash screen for SPLASH_AD.
- (void) videoDidFinish: (NSString *)  adSpace
optional

Invoked when a video finishes playing.

Since
4.2.0

This method informs the app that a video associated with an ad has finished playing

Parameters
adSpaceThe placement of an ad in your app, where placement may be splash screen for SPLASH_AD.
- (void) videoDidNotFinish: (NSString *)  adSpace
optional

Invoked when a video finishes playing.

Since
6.0.0

This method informs the app that a video associated with an ad has NOT finished playing

Parameters
adSpaceThe placement of an ad in your app, where placement may be splash screen for SPLASH_AD.

The documentation for this protocol was generated from the following file: