ALAdType Class Reference

Inherits from NSObject
Conforms to NSCopying
Declared in ALAdType.h

Overview

This class represents the behavior of an ad.

Ad Type Identification

  label

String representing the name of this ad type.

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

Discussion

String representing the name of this ad type.

Declared In

ALAdType.h

Supported Ad Type Singletons

+ typeRegular

Represents a standard advertisement.

+ (ALAdType *)typeRegular

Return Value

ALAdType representing a standard advertisement.

Discussion

Represents a standard advertisement.

Declared In

ALAdType.h

+ typeIncentivized

Represents a rewarded video.

+ (ALAdType *)typeIncentivized

Return Value

ALAdType representing a rewarded video.

Discussion

Represents a rewarded video.

Typically, you’ll award your users coins for viewing this type of ad.

Declared In

ALAdType.h

+ typeNative

Represents a native ad.

+ (ALAdType *)typeNative

Return Value

ALAdType representing a native ad.

Discussion

Represents a native ad.

Declared In

ALAdType.h

+ allTypes

Retrieve an NSArray of all available ad size singleton instances.

+ (NSArray *)allTypes

Return Value

[NSArray arrayWithObjects: [ALAdType typeRegular], [ALAdType typeIncentivized], nil];

Discussion

Retrieve an NSArray of all available ad size singleton instances.

Declared In

ALAdType.h