iOS SDK Version

FBAdInitSettings

Objective-C
@interfaceFBAdInitSettings:NSObject
Swift
classFBAdInitSettings:NSObject
FBAdInitSettings is an object to incapsulate all the settings you can pass to SDK on initialization call.
  • Designated initializer for FBAdInitSettings If an ad provided service is mediating Audience Network in their sdk, it is required to set the name of the mediation service

    Declaration

    Objective-C
    -(nonnullinstancetype)initWithPlacementIDs:(nonnullNSArray<NSString*>*)placementIDsmediationService:(nonnullNSString*)mediationService;
    Swift
    init(placementIDs:[String],mediationService:String)

    Parameters

  • An array of placement identifiers.

    Declaration

    Objective-C
    @property(nonatomic,copy,readonly)NSArray<NSString*>*_NonnullplacementIDs;
    Swift
    varplacementIDs:[String]{get}
  • String to identify mediation provider.

    Declaration

    Objective-C
    @property(nonatomic,copy,readonly)NSString*_NonnullmediationService;
    Swift
    varmediationService:String{get}