McAd class

Represents an ad that has been served by MCSDK.

Properties

adFormat → String?
final
adUnitId → String
The ad unit ID.
final
biddingType → int
Possible values:
final
country → String?
final
currency → String
final
ecpm → double
The ad’s ecpm
final
estPrice → double
final
hashCode → int
The hash code for this object.
no setterinherited
mediationId → int
The mediation ID.
final
mediationPlacementId → String
The mediation placement ID for which this ad was loaded.
final
nativeAd → McNativeAd?
An instance of McNativeAd, available only for native ads
final
networkFirmId → int
The ad network id which this ad was loaded.
final
networkName → String
The ad network from which this ad was loaded.
final
networkPlacementId → String
The ad network placement id from which this ad was loaded.
final
networkPriceType → int
Possible values:
final
originILRD → String
final
originJson → Map<String, dynamic>
final
placement → String?
The placement name that you assign when you integrate each ad format.
final
revenue → double
The ad’s revenue amount, or 0 if no revenue amount exists.
final
revenuePrecision → String
The precision of the revenue value for this ad.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
showId → String?
display unique id
final
strategyPrice → double
final
waterfall → McAdWaterfallInfo?
The underlying waterfall of ad responses.
final

Methods

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

Operators

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