Mediation Started Callback

DT FairBid provides access to initialization information about FairBid itself as well as each of the integrated third-party SDKs.

See networks section for more details on each individual third-party SDK.

iOS

Objective-C Swift
@interface MyDelegate: NSObject


@end


@implementation MyDelegate
- (void)networkStarted:(FYBMediatedNetwork)network {
    // A specific network started successfully.
}
- (void)network:(FYBMediatedNetwork)network failedToStartWithError:(NSError *)error {
    // A specific network failed to start.
}
- (void)mediationStarted {
    // FairBid is ready to mediate.
    // TPNs that need to be started as early as possible have been started
}
- (void)mediationFailedToStartWithError:(NSError *)error {
    // The SDK was unable to start any of the mediated networks.
    // That includes DT-X
    // Nothing to do. Contact support if this error persists (errorCode will be used to troubleshoot the problem)
}
@end

Networks A MediatedNetwork is essentially a pair containing the network name and its version. If you want to track a particular network, refer to the following table:

Network Marketing name Name used in callback Lazy Start Contains Start Success Callback
AdMob/Google Bidding ADMOB

 

  •  
Amazon Publisher Services AMAZON
  •  
 
  •  
 
Applovin APPLOVIN
  •  
 

 

 
BIGO Ads BIGOADS
  •  
 
  •  
 
Chartboost CHARTBOOST
  •  
 

 

 
Google Ad Manager GAM
  •  
 
  •  
 
HyprMX HYPRMX
  •  
 
  •  
 
InMobi INMOBI

 

 
  •  
 
IronSource IRON_SOURCE
  •  
 

 

Meta Audience Network FACEBOOK

 

 

 

Mintegral MINTEGRAL

 

 

MyTarget MYTARGET

 

 

 

Ogury OGURY

 

 

 

Pangle PANGLE

 

 
  •  
 
Unity Ads UNITYADS
  •  
 
  •  
 
Verve Group VERVE

 

  •  
Liftoff Monetize VUNGLE

 

  •  
 
  • Lazy Start- means FairBid only starts this TPN when asked to get an ad for the 1st time (instead when FairBid itself is starting
  • Contains Start Success Callback- means this network has an explicit callback reporting whether the start was successful. For all other networks we simply assume they are successfully started after we call their ‘start’ API.

    Note

    Lazy Start on iOS should work for every network, but we start a network immediately if we have at least one programmatic instance for the network.

Back to Top ⇧