BidderTokenRequestConfiguration
@objc(YMABidderTokenRequestConfiguration)
@objcMembers
public class BidderTokenRequestConfiguration : NSObject
A class with data for generating bidder token.
-
A type of ad.
Declaration
Swift
public let adType: AdType -
A target information about user.
Declaration
Swift
public let targetInfo: AdTargetInfo -
A size of the banner if the type of ad is a banner.
Declaration
Swift
@available(*, deprecated, message: "Use the factory method banner(size:﹚ instead.") public var bannerAdSize: BannerAdSize? { get set } -
A set of arbitrary input parameters.
Declaration
Swift
public var parameters: [String : String]? -
Creates a configuration for banner ad.
Declaration
Swift
public static func banner(size: BannerAdSize) -> BidderTokenRequestConfigurationParameters
sizeA size of the banner ad.
Return Value
A configured instance for banner ad.
-
Creates a configuration for interstitial ad.
Declaration
Swift
public static func interstitial() -> BidderTokenRequestConfigurationReturn Value
A configured instance for interstitial ad.
-
Creates a configuration for rewarded ad.
Declaration
Swift
public static func rewarded() -> BidderTokenRequestConfigurationReturn Value
A configured instance for rewarded ad.
-
Creates a configuration for native ad.
Declaration
Swift
public static func native() -> BidderTokenRequestConfigurationReturn Value
A configured instance for native ad.
-
Creates a configuration for app open ad.
Declaration
Swift
public static func appOpenAd() -> BidderTokenRequestConfigurationReturn Value
A configured instance for app open ad.
-
Initializes a new object of the
BidderTokenRequestConfigurationclass.Declaration
Swift
@available(*, deprecated, message: "Use factory methods instead: banner(size:﹚, interstitial(﹚, rewarded(﹚, native(﹚ or appOpenAd(﹚.") public convenience init(adType: AdType)Parameters
adTypeA type of ad.
Return Value
An object of the BidderTokenRequestConfiguration class, configuration for generating bidder token.