Page Summary
-
IMASecureSignals is an Objective-C class used to send secure signals with ad requests.
-
The
customDataproperty is a readonly string that contains an encrypted blob of publisher and bidder agreed upon signals. -
The class is initialized using the
initWithCustomData:method, which takes a string as input. -
The default
initmethod is unavailable.
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.