CloudXArbiterBid class abstract

A bid candidate submitted to CloudX.arbiter.

Build one bid per loaded ad from the factory matching its platform. Each bid keeps its platform's own field names; the native SDK owns the fallback comparison and the request payload, the same as on Android, iOS, Unity and React Native.

Constructors

CloudXArbiterBid.adMob({required String adUnitId, String? networkName, double? manualRevenuePerImpressionUSD, Map<String, String> extras})
A bid from an AdMob ad unit the publisher mediates themselves.
const
factory
CloudXArbiterBid.cloudX(CloudXAd ad)
A bid from a CloudX-mediated ad network.
const
factory
CloudXArbiterBid.custom({required String platformName, required String networkName, required double revenuePerImpressionUSD, required CloudXArbiterPrecision precision, Map<String, String> extras})
A bid from a mediation platform without a dedicated factory.
const
factory
CloudXArbiterBid.gam({required String adUnitId, String? networkName, double? manualRevenuePerImpressionUSD, Map<String, String> extras})
A bid from a Google Ad Manager ad unit the publisher mediates themselves.
const
factory
CloudXArbiterBid.levelPlay({required String networkName, required double revenue, required String precision, Map<String, String> extras})
A bid from a Unity LevelPlay ad network.
const
factory
CloudXArbiterBid.pubMatic({required double price, String? partnerName, Map<String, String> extras})
A bid from PubMatic OpenWrap.
const
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
platform CloudXArbiterPlatform
The platform that produced this bid.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited