-
public final class CloudXRevenueData
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classCloudXRevenueData.BuilderBuilder for CloudXRevenueData.
platform is the mediation that reported the impression, revenue the raw revenue value it reported (for AdMob,
AdValue.getValueMicros()), and adFormat the ad format string (e.g. "banner", "interstitial", "rewarded").public classCloudXRevenueData.Companion
-
Field Summary
Fields Modifier and Type Field Description private final CloudXRevenuePlatformplatformprivate final Longrevenueprivate final StringcurrencyCodeprivate final StringadFormatprivate final CloudXRevenuePrecisionprecisionprivate final StringnetworkNameprivate final StringadUnitIdprivate final StringthirdPartyAdPlacementIdprivate final StringcreativeIdprivate final StringnetworkPlacementprivate final StringcountryCodeprivate final StringuserSegment
-
Method Summary
Modifier and Type Method Description final CloudXRevenuePlatformgetPlatform()Mediation platform that reported the impression. final LonggetRevenue()Raw revenue value for this impression, as reported by the mediation SDK. final StringgetCurrencyCode()ISO 4217 currency code of revenue (e.g. final StringgetAdFormat()Raw ad format string (e.g. final CloudXRevenuePrecisiongetPrecision()Precision of the reported revenue, if known. final StringgetNetworkName()Winning ad network name, if known. final StringgetAdUnitId()Mediation-platform ad unit id, if known. final StringgetThirdPartyAdPlacementId()Network-side ad unit or placement id, if known. final StringgetCreativeId()Creative id from the ad network, if known. final StringgetNetworkPlacement()Network placement identifier, if known. final StringgetCountryCode()User's country (ISO 3166-1 alpha-2), if known. final StringgetUserSegment()User segment string, if known. -
-
Method Detail
-
getPlatform
final CloudXRevenuePlatform getPlatform()
Mediation platform that reported the impression.
-
getRevenue
final Long getRevenue()
Raw revenue value for this impression, as reported by the mediation SDK. For AdMob this is
AdValue.getValueMicros()(micros of currencyCode).
-
getCurrencyCode
final String getCurrencyCode()
ISO 4217 currency code of revenue (e.g. "USD"), if known.
-
getAdFormat
final String getAdFormat()
Raw ad format string (e.g. "banner", "mrec", "interstitial", "rewarded").
-
getPrecision
final CloudXRevenuePrecision getPrecision()
Precision of the reported revenue, if known.
-
getNetworkName
final String getNetworkName()
Winning ad network name, if known.
-
getAdUnitId
final String getAdUnitId()
Mediation-platform ad unit id, if known.
-
getThirdPartyAdPlacementId
final String getThirdPartyAdPlacementId()
Network-side ad unit or placement id, if known.
-
getCreativeId
final String getCreativeId()
Creative id from the ad network, if known.
-
getNetworkPlacement
final String getNetworkPlacement()
Network placement identifier, if known.
-
getCountryCode
final String getCountryCode()
User's country (ISO 3166-1 alpha-2), if known.
-
getUserSegment
final String getUserSegment()
User segment string, if known.
-
-
-
-