GoogleInteractiveMediaAds Framework Reference

  • IMAUniversalAdID is a simple data object that holds universal ad ID information.

  • It contains two properties: adIDValue, representing the ad ID, and adIDRegistry, indicating where the ID is registered.

  • If the ad doesn't define the ad ID or registry, both properties default to "unknown".

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;