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.

+ (alnonnull ALAdType *)typeRegular

Return Value

ALAdType representing a standard advertisement.

Discussion

Represents a standard advertisement.

Declared In

ALAdType.h

+ typeIncentivized

Represents a rewarded video.

+ (alnonnull 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

+ allTypes

Retrieve an NSArray of all available ad size singleton instances.

+ (alnonnull 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