Skip to content

XMediator::Api::InstanceResult::Success

A class with the relevant information of a waterfall instance that has succeeded.

Inherits from XMediator.Api.InstanceResult

Public Functions

Name
Success(InstanceInformation information, TimeSpan latency, string creativeId, string subNetworkName, decimal ecpm, string adNetwork, string mediation)
override bool Equals(object obj)
override int GetHashCode()
override string ToString()

Protected Functions

Name
bool Equals(Success other)

Public Properties

Name
TimeSpan Latency
The amount of time the instance used to load an ad before succeeding.
String CreativeId
Id of the creative loaded by this instance, if available.
string NetworkName
Name of the network that filled the ad.
string SubNetworkName
Name of the sub network that filled the ad, if available.
decimal Ecpm
Ecpm value of the ad.
string AdNetwork
Name of the network that filled the ad.
string Mediation
Name of the mediation service used to mediate this ad network.
override InstanceInformation Information

Additional inherited members

Public Classes inherited from XMediator.Api.InstanceResult

Name
class Failure
A class with the relevant information of a waterfall instance that has failed.
class Success
A class with the relevant information of a waterfall instance that has succeeded.
class Unused
A class with the relevant information of a waterfall instance that has not been used, usually because a previous instance succeeded to load an ad.

Public Functions inherited from XMediator.Api.InstanceResult

Name
bool TryGetFailure(out Failure failure)
bool TryGetSuccess(out Success success)
bool TryGetUnused(out Unused success)

Public Functions Documentation

function Success

Success(
    InstanceInformation information,
    TimeSpan latency,
    string creativeId,
    string subNetworkName,
    decimal ecpm,
    string adNetwork,
    string mediation
)

function Equals

override bool Equals(
    object obj
)

function GetHashCode

override int GetHashCode()

function ToString

override string ToString()

Protected Functions Documentation

function Equals

bool Equals(
    Success other
)

Public Property Documentation

property Latency

TimeSpan Latency;

The amount of time the instance used to load an ad before succeeding.

property CreativeId

String CreativeId;

Id of the creative loaded by this instance, if available.

property NetworkName

string NetworkName;

Name of the network that filled the ad.

property SubNetworkName

string SubNetworkName;

Name of the sub network that filled the ad, if available.

property Ecpm

decimal Ecpm;

Ecpm value of the ad.

property AdNetwork

string AdNetwork;

Name of the network that filled the ad.

property Mediation

string Mediation;

Name of the mediation service used to mediate this ad network.

property Information

override InstanceInformation Information;

Updated on 2024-11-07 at 18:31:49 +0000