ALAd Class Reference
| Inherits from | NSObject |
|---|---|
| Conforms to | NSCopying |
| Declared in | ALAd.h |
Overview
This class represents an ad that has been served from the AppLovin server and should be displayed to the user.
Ad Properties
size
The size of this ad.
@property (strong, nonatomic, readonly) ALAdSize *sizeDiscussion
The size of this ad.
Declared In
ALAd.h
type
The type of this ad.
@property (strong, nonatomic, readonly) ALAdType *typeDiscussion
The type of this ad.
Declared In
ALAd.h
zoneIdentifier
The zone identifier for the ad, if any.
@property (copy, nonatomic, readonly, alnullable) NSString *zoneIdentifierDiscussion
The zone identifier for the ad, if any.
Declared In
ALAd.h
videoAd
Whether or not the current ad is a video advertisement.
@property (assign, readonly, getter=isVideoAd) BOOL videoAdDiscussion
Whether or not the current ad is a video advertisement.
Declared In
ALAd.h
– adValueForKey:
Get an arbitrary ad value for a given key. The list of keys may be found in AppLovin documentation online.
- (alnullable NSString *)adValueForKey:(NSString *)keyDiscussion
Get an arbitrary ad value for a given key. The list of keys may be found in AppLovin documentation online.
Declared In
ALAd.h
Ad Identification
adIdNumber
A unique ID which identifies this advertisement.
@property (strong, nonatomic, readonly) NSNumber *adIdNumberDiscussion
A unique ID which identifies this advertisement.
Should you need to report a broken ad to AppLovin support, please include this number’s longValue.
Declared In
ALAd.h