SVSAdPlayerConfigurationRTBOptions

Objective-C

@interface SVSAdPlayerConfigurationRTBOptions : NSObject <NSCopying>

Swift

class SVSAdPlayerConfigurationRTBOptions : NSObject, NSCopying

Hold the configuration for RTB requests.

Initialization

  • Initialize a new instance of SVSAdPlayerConfigurationRTBOptions with the default configuration.

    Declaration

    Objective-C

    - (nonnull instancetype)init;

    Swift

    init()

    Return Value

    The initialized SVSAdPlayerConfigurationRTBOptions instance.

Configuration properties

  • The minimum duration (in seconds) for requested video creatives.

    This information will be sent in the ad request only if greater than 0.

    Default: -1

    Declaration

    Objective-C

    @property (nonatomic) NSTimeInterval minimumVideoDuration;

    Swift

    var minimumVideoDuration: TimeInterval { get set }
  • The maximum duration (in seconds) for requested video creatives.

    This information will be sent in the ad request only if greater than 0.

    Default: -1

    Declaration

    Objective-C

    @property (nonatomic) NSTimeInterval maximumVideoDuration;

    Swift

    var maximumVideoDuration: TimeInterval { get set }
  • The minimum bitrate (in kbps) for requested video creatives.

    This information will be sent in the request only if greater than 0.

    Default: -1

    Declaration

    Objective-C

    @property (nonatomic) double minimumVideoBitrate;

    Swift

    var minimumVideoBitrate: Double { get set }
  • The maximum bitrate (in kbps) for the programmatically requested video creatives.

    This information will be sent in the request only if greater than 0.

    Default: -1

    Declaration

    Objective-C

    @property (nonatomic) double maximumVideoBitrate;

    Swift

    var maximumVideoBitrate: Double { get set }
  • The playback method used by the video player.

    Default: SVSAdPlayerConfigurationPlaybackMethodUndefined

    Declaration

    Objective-C

    @property (nonatomic) SVSAdPlayerConfigurationPlaybackMethod playbackMethod;

    Swift

    var playbackMethod: SVSAdPlayerConfigurationPlaybackMethod { get set }
  • The page domain of the website for your app. For example: www.smartadserver.com. This parameter is very useful for buyers to identify your network.

    Default: Nil.

    Declaration

    Objective-C

    @property (nonatomic, strong, nullable) NSString *pageDomain;

    Swift

    var pageDomain: String? { get set }