Skip to content

Commit

Permalink
Added support for privacyURL
Browse files Browse the repository at this point in the history
  • Loading branch information
jsligh committed Jul 16, 2024
1 parent 44e59f0 commit 936648c
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,15 @@ 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
}
Expand Down

0 comments on commit 936648c

Please sign in to comment.