SASBiddingManager
Objective-C
@interface SASBiddingManager : NSObject
Swift
class SASBiddingManager : NSObject
A class that loads a in-app bidding ad.
-
The bidding manager delegate if any, nil otherwise.
Declaration
Objective-C
@property (weak, nullable) id<SASBiddingManagerDelegate> delegate;
Swift
weak var delegate: (any SASBiddingManagerDelegate)? { get set }
-
The ad placement used to load the ad.
Declaration
Objective-C
@property (readonly) SASAdPlacement *_Nonnull adPlacement;
Swift
var adPlacement: SASAdPlacement { get }
-
The format type of the requested bidding ad.
Declaration
Objective-C
@property (readonly) SASBiddingAdFormatType formatType;
Swift
var formatType: SASBiddingAdFormatType { get }
-
The currency that must be used for the price of the bidding ad.
Declaration
Objective-C
@property (readonly) SASBiddingCurrency currency;
Swift
var currency: SASBiddingCurrency { get }
-
Initialize a new instance of SASBiddingManager.
Declaration
Objective-C
- (nonnull instancetype)initWithAdPlacement: (nonnull SASAdPlacement *)adPlacement formatType:(SASBiddingAdFormatType)formatType currency:(SASBiddingCurrency)currency;
Swift
init(adPlacement: SASAdPlacement, formatType: SASBiddingAdFormatType, currency: SASBiddingCurrency)
Parameters
adPlacement
The ad placement used to load the ad.
formatType
The format type of the requested bidding ad.
currency
The currency that must be used for the price of the bidding ad.
Return Value
An initialized instance of SASBiddingManager.
-
Attempt to load an ad using the provided ad placement.
Declaration
Objective-C
- (void)loadAd;
Swift
func loadAd()