MutableAdRequest
@objc(YMAMutableAdRequest)
@objcMembers
public class MutableAdRequest : AdRequest
An editable version of the AdRequest
class with data for a targeted ad request.
-
User age.
Declaration
Swift
override public var age: NSNumber? { get set }
-
The search query that the user entered in the app.
Declaration
Swift
override public var contextQuery: String? { get set }
-
List of tags. Matches the context in which the ad will be displayed.
Declaration
Swift
override public var contextTags: [String]? { get set }
-
The gender of the user. For a list of values, see the Gender section.
Declaration
Swift
override public var gender: String? { get set }
-
User location.
Declaration
Swift
override public var location: CLLocation? { get set }
-
Preferred ad theme.
Declaration
Swift
override public var adTheme: AdTheme { get set }
-
Bidding data for ad loading from mediation.
Declaration
Swift
override public var biddingData: String? { get set }
-
Header bidding data for ad loading from mediation, that contains bid id.
Declaration
Swift
override public var headerBiddingData: String? { get set }
-
A set of arbitrary input parameters.
Declaration
Swift
override public var parameters: [String : String]? { get set }
-
Corresponding immutable representation of current ad request.
Declaration
Swift
public var request: AdRequest { get }
-
Undocumented
Declaration
Swift
public convenience init()
-
Undocumented
Declaration
Swift
override public func copy(with zone: NSZone? = nil) -> Any