Page Summary
-
IMASecureSignals is an Objective-C class used to send secure signals with ad requests.
-
The
customDataproperty is a read-only string containing an encrypted blob of publisher-collected signals. -
Secure signals with custom data are agreed upon by the publisher and bidder.
-
The class can be initialized using
initWithCustomData:.
IMASecureSignals
@interface IMASecureSignals : NSObjectStores the signal data for Secure Signals. Stores signals for Publisher Collected Signals only.
-
Secure Signal with custom data sent with ads request. Secure Signal with custom data is an encrypted blob containing signals collected by the publisher and previously agreed upon by the publisher and bidder。
Declaration
Swift
var customData: String { get }Objective-C
@property (nonatomic, copy, readonly) NSString *_Nonnull customData; -
Initializes the
SecureSignalsobject with the given custom data.Declaration
Swift
init(customData: String)Objective-C
- (nonnull instancetype)initWithCustomData:(nonnull NSString *)customData;Parameters
customDataThe custom data to initialize the
SecureSignalsobject.Return Value
An initialized
SecureSignalsobject.