GoogleInteractiveMediaAds Framework Reference

  • IMASecureSignals is an Objective-C class used to send secure signals with ad requests.

  • The customData property 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 : 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.