-
public class AdResultThe outcome of an ad request.
Exhaustive
whenover this to handle every case — or pass it directly to a ad.elo.androidsdk.EloAdView which hides itself on non-loaded results.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classAdResult.LoadedAn ad won the auction.
eCpm is the winning bid's price in USD-equivalent CPM. For Elo-direct fills this is the server-quoted price from
AdResponse.ecpm; for adapter fills it's the value the adapter reported (e.g. the publisher-configuredexpectedEcpmon the AdMob adapter). Consumers running a client-side auction against another SDK can compare this number to their own bid and choose whether to render the Elo result. Always>= 0.0.networkId identifies the winning adapter (
"elo"for the first-party network, or thenetworkIdof a mediation adapter).public final classAdResult.NoFillNo ad was available. Not an error; just no match for this request. The reason explains why so the host can show the right empty-state UI or diagnose integration problems.
public final classAdResult.ErrorSomething went wrong (network failure, decoding, etc).
-