GoogleInteractiveMediaAds Framework Reference

  • IMASecureSignals is an Objective-C class for handling secure signals with custom data.

  • The customData property is a read-only NSString representing an encrypted blob containing publisher and bidder agreed-upon signals.

  • The designated initializer is initWithCustomData: which takes a custom data string.

IMASecureSignals

@interface IMASecureSignals : NSObject

Stores 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 SecureSignals object with the given custom data.

    Declaration

    Swift

    init(customData: String)

    Objective-C

    - (nonnull instancetype)initWithCustomData:(nonnull NSString *)customData;

    Parameters

    customData

    The custom data to initialize the SecureSignals object.

    Return Value

    An initialized SecureSignals object.