PrebidResult

public struct PrebidResult

The result of a prebid call.

  • Name of the bidder.

    Declaration

    Swift

    public let bidderName: String
  • Identifier of the bid that was performed.

    Declaration

    Swift

    public let bidId: String
  • The amount of time the bidder used to bid for the ad placement.

    Declaration

    Swift

    public let latency: TimeInterval
  • A dictionary containing any extra values. Usually empty.

    Declaration

    Swift

    public let extras: [String : Any]
  • The result of the prebid call

    The result can either be:

    • An error, represented by an InstanceError indicating the reason the call failed.
    • A success, with the ecpm of the bid in case it was provided by the underlying bidder.

    Declaration

    Swift

    public let value: Result<BidEcpm?, InstanceError>