Configuration

public struct Configuration

Configuration for the Yieldprobe SDK.

  • Specify the app name to be transmitted to Yieldprobe.

    Default: nil

    Declaration

    Swift

    public var appName: String?
  • Specify a bundle ID to be transmitted to Yieldprobe.

    Default: nil

    Declaration

    Swift

    public var bundleID: String?
  • Additional targeting information that will be present the each bid probe request.

    Default: [:]

    Declaration

    Swift

    public var extraTargeting: [String : String]
  • Specify whether Yieldprobe should use personal information.

    If set to false, personal information such as geolocation, IDFA, device type, and connection type will not be sent over the network.

    Default: true

    Declaration

    Swift

    public var personalizeAds: Bool
  • Specify the app store URL for this app.

    If set, Yieldprobe will include this information in the request to allow for better targeting.

    Default: nil

    Declaration

    Swift

    public var storeURL: URL?
  • Specify whether Yieldprobe should use Geolocation data.

    If false, Yieldprobe will not try to access geolocation information, even if it is available to the application. If true, Yieldprobe will try to access geolocation information only if the app already has access to it. Yieldprobe will not cause location permission prompts in your application.

    Default: true

    Declaration

    Swift

    public var useGeolocation: Bool
  • Create a default Configuration.

    Declaration

    Swift

    public init()