SASBiddingManagerDelegate
Objective-C
@protocol SASBiddingManagerDelegate <NSObject>
Swift
protocol SASBiddingManagerDelegate : NSObjectProtocol
SASBiddingManager delegate protocol.
Implement this protocol to be notified when an ad bidding call is successful or failed and to retrieve the ad response if any.
-
Notifies the delegate that a valid ad response has been retrieved.
Declaration
Objective-C
- (void)biddingManager:(nonnull SASBiddingManager *)biddingManager didLoadAdResponse:(nonnull SASBiddingAdResponse *)biddingAdResponse;
Swift
func biddingManager(_ biddingManager: SASBiddingManager, didLoad biddingAdResponse: SASBiddingAdResponse)
Parameters
biddingManager
The instance of SASBiddingManager that called this delegate method.
biddingAdResponse
The ad response that have been retrieved by the manager.
-
Notifies the delegate that an error occurred during ad response loading.
Declaration
Objective-C
- (void)biddingManager:(nonnull SASBiddingManager *)biddingManager didFailToLoadWithError:(nonnull NSError *)error;
Swift
func biddingManager(_ biddingManager: SASBiddingManager, didFailToLoadWithError error: any Error)
Parameters
biddingManager
The instance of SASBiddingManager that called this delegate method.
error
The error that occurred during the ad bidding call.