GoogleInteractiveMediaAds Framework Reference
Stay organized with collections
Save and categorize content based on your preferences.
IMASecureSignals
@interface IMASecureSignals : NSObject
/**
* 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。
*/
@property(nonatomic, copy, readonly) NSString *customData;
- (instancetype)initWithCustomData:(NSString *)customData NS_DESIGNATED_INITIALIZER;
/**
* :nodoc:
*/
- (instancetype)init NS_UNAVAILABLE;
@end
Undocumented
-
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;
-
Declaration
Swift
init(customData: String)
Objective-C
- (instancetype)initWithCustomData:(NSString *)customData NS_DESIGNATED_INITIALIZER;
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-20 UTC.
[null,null,["Last updated 2025-08-20 UTC."],[[["\u003cp\u003e\u003ccode\u003eIMASecureSignals\u003c/code\u003e provides a way to send custom data with ad requests.\u003c/p\u003e\n"],["\u003cp\u003eThis custom data is an encrypted blob containing signals from the publisher, pre-agreed upon with the bidder.\u003c/p\u003e\n"],["\u003cp\u003eIt is initialized using the \u003ccode\u003einitWithCustomData:\u003c/code\u003e method with the custom data string.\u003c/p\u003e\n"]]],["IMASecureSignals handles encrypted data, known as a secure signal, sent with ad requests. This custom data is a blob containing signals collected by the publisher and pre-approved by the bidder. The `customData` property holds this encrypted string and is read-only. The `initWithCustomData:` method is the designated initializer to set the `customData`. A default `init` is unavailable, ensuring secure data is always provided.\n"],null,["# GoogleInteractiveMediaAds Framework Reference\n\nIMASecureSignals\n================\n\n @interface IMASecureSignals : NSObject\n\n /**\n * Secure Signal with custom data sent with ads request. Secure Signal with custom\n * data is an encrypted blob containing signals collected by the publisher and previously agreed\n * upon by the publisher and bidder。\n */\n\n @property(nonatomic, copy, readonly) NSString *customData;\n\n - (instancetype)initWithCustomData:(NSString *)customData NS_DESIGNATED_INITIALIZER;\n\n /**\n * :nodoc:\n */\n - (instancetype)init NS_UNAVAILABLE;\n\n @end\n\nUndocumented\n- `\n ``\n ``\n `\n\n ### [customData](#/c:objc(cs)IMASecureSignals(py)customData)\n\n `\n ` \n Secure Signal with custom data sent with ads request. Secure Signal with custom\n data is an encrypted blob containing signals collected by the publisher and previously agreed\n upon by the publisher and bidder。 \n\n #### Declaration\n\n Swift \n\n var customData: String { get }\n\n Objective-C \n\n @property (nonatomic, copy, readonly) NSString *_Nonnull customData;\n\n- `\n ``\n ``\n `\n\n ### [-initWithCustomData:](#/c:objc(cs)IMASecureSignals(im)initWithCustomData:)\n\n `\n ` \n Undocumented \n\n #### Declaration\n\n Swift \n\n init(customData: String)\n\n Objective-C \n\n - (instancetype)initWithCustomData:(NSString *)customData NS_DESIGNATED_INITIALIZER;"]]