Search...
Menu

The Callback Info

MCAdInfo

Method Description
String getMediationPlacementId() Get the placement ID of the mediation platform
String getMediationName() Get the name of the mediation platform
int getMediationId() Get the ID of the mediation platform
String getNetworkFirmName() Get the name of the ad network
int getNetworkFirmId() Get the Firm ID of the ad network
String getNetworkPlacementId() Get the placement ID of the ad network
double getRevenue() Get revenue per ad impression.
Currency unit via getCurrency(),
precision via getRevenuePrecision()
String getRevenuePrecision() Revenue precision types:
IAdInfo.PRECISION_PUBLISHER_DEFINED: Predefined price in mediation dashboard
IAdInfo.PRECISION_EXTRA: Real-time bidding revenue
IAdInfo.PRECISION_ESTIMATED: Estimated revenue
String getCurrency() Get currency unit (e.g., CNY/USD)
String getCountry() Get country code (e.g., "CN")
MCAdFormat getFormat() Get ad format:
REWARDED; INTERSTITIAL; APP_OPEN;
BANNER; NATIVE
String getScenarioId() Get ad scenario ID
Map<String, Object> getMediationExtraMap() Get extended data from the mediation platform
int getBiddingType() Get bidding type:
0: Regular non-bidding
1: C2S bidding
2: S2S bidding
double getEcpm() Get estimated eCPM per impression
String getOriginJsonString() Get raw callback data from the mediation platform
Previous
Native Ads
Next
How to Test
Last modified: 2025-09-30Powered by