diff --git a/EventHandlers/PrebidMobileAdMobAdapters/Sources/PrebidAdMobNativeAdapter.swift b/EventHandlers/PrebidMobileAdMobAdapters/Sources/PrebidAdMobNativeAdapter.swift index 8a740bf5b..6f12784dd 100644 --- a/EventHandlers/PrebidMobileAdMobAdapters/Sources/PrebidAdMobNativeAdapter.swift +++ b/EventHandlers/PrebidMobileAdMobAdapters/Sources/PrebidAdMobNativeAdapter.swift @@ -45,15 +45,6 @@ public class PrebidAdMobNativeAdapter: public var store: String? - public var privacyUrl: String? { - set { - prebidNativeAd?.nativeAdMarkup?.privacy = newValue - } - get { - return prebidNativeAd?.nativeAdMarkup?.privacy - } - } - public var price: String? { prebidNativeAd?.dataObjects(of: .salePrice).first?.value } diff --git a/PrebidMobile/AdUnits/Native/NativeAd.swift b/PrebidMobile/AdUnits/Native/NativeAd.swift index 39e59b27d..79a1c9b5c 100644 --- a/PrebidMobile/AdUnits/Native/NativeAd.swift +++ b/PrebidMobile/AdUnits/Native/NativeAd.swift @@ -42,6 +42,15 @@ public class NativeAd: NSObject, CacheExpiryDelegate { private let eventManager = EventManager() + public var privacyUrl: String? { + set { + nativeAdMarkup?.privacy = newValue + } + get { + return nativeAdMarkup?.privacy + } + } + // MARK: - Array getters @objc public var titles: [NativeTitle] {