Adapter Started Callback

Introduction

FairBid provides access to initialization information for integrated third-party SDK.

Two methods are available. The first informs that the initialization of the network SDK was successful, the second will inform of an error.

In both methods, the network name is an additional parameter. Checking the initialization status of the adapter and its network can be useful before performing an ad request for a given network.

Make your class conform to the FairBidDelegate and implement FairBidDelegate callbacks before starting the FairBidSDK.

iOS

Objective-C Swift
typedef NS_ENUM(NSUInteger, FYBMediatedNetwork) {
    FYBMediatedNetworkUnknown,
    FYBMediatedNetworkAdColony,
    FYBMediatedNetworkAdMob,
    FYBMediatedNetworkAppLovin,
    FYBMediatedNetworkChartboost,
    FYBMediatedNetworkFacebook,
    FYBMediatedNetworkHyprMX,
    FYBMediatedNetworkInMobi,
    FYBMediatedNetworkIronSource,
    FYBMediatedNetworkMintegral,
    FYBMediatedNetworkMyTarget,
    FYBMediatedNetworkOgury,
    FYBMediatedNetworkPangle,
    FYBMediatedNetworkSnap,
    FYBMediatedNetworkTapjoy,
    FYBMediatedNetworkUnityAds,
    FYBMediatedNetworkVerizon,
    FYBMediatedNetworkVungle
};
@protocol FairBidDelegate <NSObject>
- (void)networkStarted:(FYBMediatedNetwork)network;
- (void)network:(FYBMediatedNetwork)network failedToStartWithError:(NSError *)error;
@end

Back to Top ⇧