Menu

The Callback Info


ATCallbackInfo

Variable Type Description
network_firm_id int Get the ID corresponding to the network to distinguish between networks
adsource_id string Get the ad source ID. You can query specific Network information through the ad source ID in the TopOn dashboard
adsource_index int Get the current ad source's order in the WaterFall (starting from 0)
adsource_price double Get ECPM, the unit can be obtained through getCurrency()
adsource_isheaderbidding int Whether it is a header bidding ad source, 1: Yes, 2: No
id string Get the unique ID generated each time an ad is displayed
publisher_revenue double Get display revenue
currency string Get currency unit, e.g., "USD"
country string Get country code, e.g., "CN"
adunit_id string Get TopOn ad unit ID
adunit_format string Get ad type, including: "Native", "RewardedVideo", "Banner", "Interstitial", "Splash"
precision string Get ECPM precision
"publisher_defined": eCPM defined by the developer for the ad source in the TopOn dashboard (eCPM for interactive promotion also belongs to this type)
"estimated": TopOn's estimated eCPM (auto eCPM)
"exact": Header Bidding real-time bidding eCPM (excluding Meta)
"ecpm_api": Effective for Meta ad sources, estimated historical eCPM API based on Meta's ReportAPI data.
network_type string Get Network type
"Network": Third-party advertising platform
"Cross_Promotion": Interactive promotion
"Adx": Adx
network_placement_id string Get Network's ad placement ID
ecpm_level int Get the eCPM level of the ad source, header bidding ad sources default to 0
segment_id int Get traffic grouping ID
scenario_id string Get ad scenario ID, only supported by Rewarded Video & Interstitial
scenario_reward_name string Get the reward name of the ad scenario, only supported by Rewarded Video
scenario_reward_number int Get the reward quantity of the ad scenario, only supported by Rewarded Video
sub_channel string Get sub-channel information
channel string Get channel information
custom_rule Dictionary<string,object> Get the custom rule Json string for Placement+App dimension
getOriginJSONString() string Original JSON string information

Previous
Native Ads
Next
How to Test
Last modified: 2025-06-04Powered by