InstreamAdRequestConfiguration

@objc(YMAInstreamAdRequestConfiguration)
@objcMembers
public class InstreamAdRequestConfiguration : NSObject

InstreamAdRequestConfiguration defines ad request.

  • Unique ID created in the Partner interface.

    Declaration

    Swift

    public let pageID: String
  • Category identifier.

    Declaration

    Swift

    public let categoryID: String
  • Custom request parameters.

    Declaration

    Swift

    public let parameters: [String : String]?
  • Creates InstreamAdRequestConfiguration.

    • pageID: unique ID created in the Partner interface.
    • categoryID: category identifier.

    Declaration

    Swift

    public init(pageID: String, categoryID: String = "0", parameters: [String : String]? = nil)