ALAdSize Class Reference

Inherits from NSObject
Conforms to NSCopying
Declared in ALAdSize.h

Overview

This class defines a size of an ad to be displayed. It is recommended to use default sizes that are declared in this class (BANNER, INTERSTITIAL)

Ad Size Identification

  label

An NSString label which describes this ad size.

@property (copy, nonatomic, readonly) NSString *label

Discussion

An NSString label which describes this ad size.

Declared In

ALAdSize.h

Supported Ad Size Singletons

+ sizeBanner

Retrieve a singleton instance of the BANNER ad size object.

+ (ALAdSize *)sizeBanner

Return Value

An instance of ALAdSize which represents the size BANNER.

Discussion

Retrieve a singleton instance of the BANNER ad size object.

Banners are typically 320x50 ads added to the bottom of the view.

Declared In

ALAdSize.h

+ sizeInterstitial

Retrieve a singleton instance of the INTERSTITIAL ad size object.

+ (ALAdSize *)sizeInterstitial

Return Value

An instance of ALAdSize which represents the size INTERSTITIAL.

Discussion

Retrieve a singleton instance of the INTERSTITIAL ad size object.

Interstitials are full-screen ads with high click-through rates which will fully cover the UIViewController below.

Declared In

ALAdSize.h

+ sizeNative

Retrieve a singleton instance of the NATIVE ad size object.

+ (ALAdSize *)sizeNative

Return Value

An instance of ALAdSize which represents the size NATIVE.

Discussion

Retrieve a singleton instance of the NATIVE ad size object.

Declared In

ALAdSize.h

+ sizeMRec

Retrieve a singleton instance of the MREC ad size object.

+ (ALAdSize *)sizeMRec

Return Value

An instance of ALAdSize which represents the size MREC.

Discussion

Retrieve a singleton instance of the MREC ad size object.

MRECs are 300x250 (mostly square) advertisements.

Declared In

ALAdSize.h

+ sizeLeader

Retrieve a singleton instance of the LEADER ad size object.

+ (ALAdSize *)sizeLeader

Return Value

An instance of ALAdSize which represents the size LEADER.

Discussion

Retrieve a singleton instance of the LEADER ad size object.

Leaderboard ads are 728x90 ads intended for iPads.

Declared In

ALAdSize.h