SASAdInfo
Objective-C
@interface SASAdInfo : NSObject
Swift
class SASAdInfo : NSObject
Model class centralizing useful information for publishers.
-
The insertion ID corresponding to this ad if available, nil otherwise.
Declaration
Objective-C
@property (readonly, nullable) NSString *insertionID;
Swift
var insertionID: String? { get }
-
The aspect ratio of the ad if available, nil otherwise. This NSNumber contains a Float. Especially useful for banner format, you can easily compute the correct height of your banner by dividing your desired width by this aspectRatio.
Declaration
Objective-C
@property (readonly, nullable) NSNumber *aspectRatio;
Swift
var aspectRatio: NSNumber? { get }
-
The name of the mediation SDK which is currently displaying the ad. Will be available only in a mediation ad call, and nil otherwise.
Declaration
Objective-C
@property (readonly, nullable) NSString *mediationSDKName;
Swift
var mediationSDKName: String? { get }
-
All programmatic info corresponding to this ad if available, nil otherwise.
Declaration
Objective-C
@property (readonly, nullable) SASAdProgrammaticInfo *programmaticInfo;
Swift
var programmaticInfo: SASAdProgrammaticInfo? { get }