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.

  size

The size of this ad.

@property (nonatomic, strong, readonly) ALAdSize *size

Discussion

The size of this ad.

Declared In

ALAd.h

  type

The type of this ad.

@property (nonatomic, strong, readonly) ALAdType *type

Discussion

The type of this ad.

Declared In

ALAd.h

  zoneIdentifier

The zone id for the ad, if any.

@property (nonatomic, copy, readonly, nullable) NSString *zoneIdentifier

Discussion

The zone id for the ad, if any.

Declared In

ALAd.h

  videoAd

Whether or not the current ad is a video advertisement.

@property (nonatomic, assign, readonly, getter=isVideoAd) BOOL videoAd

Discussion

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.

- (nullable NSString *)adValueForKey:(NSString *)key

Discussion

Get an arbitrary ad value for a given key. The list of keys may be found in AppLovin documentation online.

Declared In

ALAd.h

  adIdNumber

A unique ID which identifies this advertisement.

@property (nonatomic, strong, readonly) NSNumber *adIdNumber

Discussion

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