MutableAdRequestConfiguration

@objc(YMAMutableAdRequestConfiguration)
@objcMembers
public class MutableAdRequestConfiguration : AdRequestConfiguration

An editable version of the AdRequestConfiguration class configuring native ad loading.

  • age

    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 }
  • A set of arbitrary input parameters.

    Declaration

    Swift

    override public var parameters: [String : String]? { get set }
  • Corresponding immutable representation of current ad request configuration.

    Declaration

    Swift

    public var request: AdRequestConfiguration { get }
  • Declaration

    Swift

    public convenience init(adUnitID: String)

NSCopying

  • Undocumented

    Declaration

    Swift

    override public func copy(with zone: NSZone? = nil) -> Any