OOAdPricing

Objective-C

@interface OOAdPricing : NSObject

Swift

class OOAdPricing : NSObject

Used to provide a value that represents a price that can be used by real-time bidding (RTB) systems. VAST is not designed to handle RTB since other methods exist, but this element is offered for custom solutions if needed.

  • The price’s value that can be used by real-time bidding (RTB).

    Declaration

    Objective-C

    - (NSNumber *)pricing;

    Swift

    func pricing() -> NSNumber!
  • The pricing model of the ad. It can be one of: CPM, CPC, CPE or CPV.

    Declaration

    Objective-C

    - (NSString *)model;

    Swift

    func model() -> String!
  • The currency of the ad’s price, containing a three-letter ISO-4217 currency symbol.

    Declaration

    Objective-C

    - (NSString *)currency;

    Swift

    func currency() -> String!