GoogleInteractiveMediaAds Framework Reference
Stay organized with collections
Save and categorize content based on your preferences.
IMAUniversalAdID
@interface IMAUniversalAdID : NSObject
Simple data object containing universal ad ID information.
-
The universal ad ID value. This will be “unknown” if it isn’t defined by the ad.
Declaration
Swift
var adIDValue: String { get }
Objective-C
@property (nonatomic, copy, readonly) NSString *_Nonnull adIDValue;
-
The universal ad ID registry with which the value is registered. This will be “unknown”
if it isn’t defined by the ad.
Declaration
Swift
var adIDRegistry: String { get }
Objective-C
@property (nonatomic, copy, readonly) NSString *_Nonnull adIDRegistry;
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\u003eIMAUniversalAdID is a simple data object that stores universal ad ID information.\u003c/p\u003e\n"],["\u003cp\u003eIt includes two properties: \u003ccode\u003eadIDValue\u003c/code\u003e for the ID itself and \u003ccode\u003eadIDRegistry\u003c/code\u003e indicating where the ID is registered, both defaulting to "unknown" if undefined by the ad.\u003c/p\u003e\n"]]],[],null,["# GoogleInteractiveMediaAds Framework Reference\n\nIMAUniversalAdID\n================\n\n @interface IMAUniversalAdID : NSObject\n\nSimple data object containing universal ad ID information.\n- `\n ``\n ``\n `\n\n ### [adIDValue](#/c:objc(cs)IMAUniversalAdID(py)adIDValue)\n\n `\n ` \n The universal ad ID value. This will be \"unknown\" if it isn't defined by the ad. \n\n #### Declaration\n\n Swift \n\n var adIDValue: String { get }\n\n Objective-C \n\n @property (nonatomic, copy, readonly) NSString *_Nonnull adIDValue;\n\n- `\n ``\n ``\n `\n\n ### [adIDRegistry](#/c:objc(cs)IMAUniversalAdID(py)adIDRegistry)\n\n `\n ` \n The universal ad ID registry with which the value is registered. This will be \"unknown\"\n if it isn't defined by the ad. \n\n #### Declaration\n\n Swift \n\n var adIDRegistry: String { get }\n\n Objective-C \n\n @property (nonatomic, copy, readonly) NSString *_Nonnull adIDRegistry;"]]