BMPAdPricing

Objective-C


@interface BMPAdPricing : NSObject <BMPJsonable>

Swift

class AdPricing : NSObject, BMPJsonable

Used to provide a value that represents a price that can be used by real-time bidding (RTB) systems. Specified in Inline.Pricing in the VAST response.

  • A numerical value that represents a price that can be used in real-time bidding systems.

    Declaration

    Objective-C

    @property (nonatomic, readonly) double value;

    Swift

    var value: Double { get }

    Return Value

    A numerical value that represents a price that can be used in real-time bidding systems.

  • Identifies the pricing model as one of: CPM, CPC, CPE, or CPV.

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSString *_Nonnull model;

    Swift

    var model: String { get }

    Return Value

    Identifies the pricing model as one of: CPM, CPC, CPE, or CPV.

  • The three-letter ISO-4217 currency symbol that identifies the currency of the value provided (e.g. USD, GBP, etc.).

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSString *_Nonnull currency;

    Swift

    var currency: String { get }

    Return Value

    The three-letter ISO-4217 currency symbol that identifies the currency of the value provided (e.g. USD, GBP, etc.).

  • Unavailable

    Undocumented

    Declaration

    Objective-C

    + (instancetype)new NS_UNAVAILABLE;
  • Unavailable

    Undocumented

    Declaration

    Objective-C

    - (instancetype)init NS_UNAVAILABLE;
  • Undocumented

    Declaration

    Objective-C

    - (instancetype)initWithValue:(double)value
                            model:(NSString *)model
                         currency:(NSString *)currency NS_DESIGNATED_INITIALIZER;

    Swift

    init(value: Double, model: String, currency: String)