MutableNativeAdRequestConfiguration

@objc(YMAMutableNativeAdRequestConfiguration)
@objcMembers
public class MutableNativeAdRequestConfiguration : NativeAdRequestConfiguration

An editable version of the NativeAdRequestConfiguration 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 }
  • Declaration

    Swift

    override public var shouldLoadImagesAutomatically: Bool { get set }
  • Corresponding immutable representation of current native ad request configuration.

    Declaration

    Swift

    public var request: NativeAdRequestConfiguration { get }
  • Declaration

    Swift

    public convenience init(adUnitID: String)

NSCopying

  • Undocumented

    Declaration

    Swift

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