SASBiddingAdResponse

Objective-C

@interface SASBiddingAdResponse : NSObject <NSCopying, NSCoding>

Swift

class SASBiddingAdResponse : NSObject, NSCopying, NSCoding

Class representing the response of a bidding call.

  • The ad placement of the bidding ad.

    Declaration

    Objective-C

    @property (nonatomic, readonly) SASAdPlacement *_Nonnull adPlacement;

    Swift

    var adPlacement: SASAdPlacement { get }
  • The format type of the bidding ad.

    Declaration

    Objective-C

    @property (nonatomic, readonly) SASBiddingAdFormatType biddingAdFormatType;

    Swift

    var biddingAdFormatType: SASBiddingAdFormatType { get }
  • The price of the bidding ad.

    Declaration

    Objective-C

    @property (nonatomic, readonly) SASBiddingAdPrice *_Nonnull biddingAdPrice;

    Swift

    var biddingAdPrice: SASBiddingAdPrice { get }
  • NO if the bidding ad response has not be used before, YES otherwise.

    Note

    A bidding ad response can only be used once. Trying to load an ad using a consumed response will trigger an error immediately.

    Declaration

    Objective-C

    @property (nonatomic, readonly) BOOL isConsumed;

    Swift

    var isConsumed: Bool { get }