Menu

Callback information

1. CallbackInfo content description of advertising event callback

VariableTypeDescription
network_firm_idintGet the ID corresponding to the advertising platform to distinguish the advertising platform
adsource_idstringGet the advertising source ID. You can query the specific Network information through the advertising source ID in the developer backend or TopOn Open API
adsource_indexintGet the sorting of the current advertising source in WaterFall(starting from 0)
adsource_pricedounbleGet ECPM, the unit can be obtained through getCurrency()
adsource_isheaderbiddingintwhether Ad source bidding for the header, 1: Yes, 2: No
idstringGet every time Individual ID generated when displaying ads
publisher_revenuedoubleGet impression revenue
currencystringGet a currency unit, for example: "USD"
countrystringGet the country code, for example: "CN"
adunit_idstringGet TopOn ad slot ID
adunit_formatstringGet the ad type, including:"Native", "RewardedVideo", "Banner", "Interstitial", "Splash"
precisionstringGet ECPM accuracy
"publisher_defined": The eCPM defined by the developer for the advertising source in the TopOn backend( The eCPM of interactive promotion also belongs to this type)
"estimated": TopOn's estimated eCPM (auto eCPM)
"exact": The eCPM of Header Bidding real-time bidding (Except Meta advertising platform)
"ecpm_api": Valid for Meta advertising sources, historical eCPM API estimated based on Meta's ReportAPI data. Supported by TopOn SDK v5.9.60 and above.
network_typestringGet Network type
"Network": Third-party advertising platform
"Cross_Promotion": Cross promotion

"Adx":
Adx
network_placement_id stringGet Network's advertising space ID
ecpm_levelintGet the eCPM level of the advertising source. The default value of the header bidding advertising source is 0
segment_id intGet traffic group ID
scenario_idstringGet the advertising scene ID, Only supported by Rewarded Video&Interstitial
scenario_reward_namestringGet the incentive name of the advertising scene, Only supported by Rewarded Video
scenario_reward_numberintGet the incentive number of the advertising scene, only supported by Rewarded Video
sub_channelstringGet sub-channel information
channelstringGet channel information
custom_ruleDictionary<string,object>GetPlacement+App Dimension Json string of custom rules
getOriginJSONString() stringOriginal JSON string Information

2. TopOn The platform's NETWORK FIRM ID corresponds to the Network name

Network NameNETWORK FIRM ID
Facebook1
Admob2
Inmobi3
Flurry4
Applovin5
Mintegral6
Mopub7
Tencent ad(GDT)8
Chartboost9
Tapjoy10
Ironsource11
UnityAds12
Vungle13
Adcolony14
TT (CSJ)15
WanZhuanHuLian16
Oneway17
Kingsoft Cloud19
Appnext21
Baidu22
Nend23
Maio24
StartApp25
Kuaishou28
Sigmob 29
MyTarget32
Yandex34
Cross promotion (MyOffer)35
Ogury36
Fyber37
Helium40
Kidoz45
Pangle 50
Klevin51
PubNative58
Bigo59
TopOn ADX66


Last modified: 2025-05-30Powered by