MozAdsClient
open class MozAdsClient : MozAdsClientProtocol, @unchecked Sendable
-
Declaration
Swift
open func clearCache() throws -
Declaration
Swift
open func recordClick(clickUrl: String, options: MozAdsCallbackOptions? = nil) throws -
Declaration
Swift
open func recordImpression(impressionUrl: String, options: MozAdsCallbackOptions? = nil) throws -
Declaration
Swift
open func reportAd(reportUrl: String, reason: MozAdsReportReason, options: MozAdsCallbackOptions? = nil) throws -
Declaration
Swift
open func requestImageAds(mozAdRequests: [MozAdsPlacementRequest], options: MozAdsRequestOptions? = nil) throws -> [String : MozAdsImage] -
Declaration
Swift
open func requestSpocAds(mozAdRequests: [MozAdsPlacementRequestWithCount], options: MozAdsRequestOptions? = nil) throws -> [String : [MozAdsSpoc]] -
Declaration
Swift
open func requestTileAds(mozAdRequests: [MozAdsPlacementRequest], options: MozAdsRequestOptions? = nil) throws -> [String : MozAdsTile]