Menu

Callback information description

ATAdEventArgs Parameter Description

Variable Type Description
placementId String Placement ID
callbackInfo ATCallbackInfo Detailed content of the ad event (see ATCallbackInfo Description for details)
isTimeout bool Whether the ad load has timed out (only applicable to Splash Ads)

ATAdErrorEventArgs Parameter Description

Variable Type Description
placementId String Placement ID
callbackInfo ATCallbackInfo Detailed content of the ad event (see ATCallbackInfo Description for details)
errorCode String Error code
errorMessage String Error content

ATCallbackInfo Description

Variable Type Description
network_firm_id int Obtain the ID corresponding to the ad network, used to distinguish ad networks.
adsource_id string Obtain the ad source ID. You can query specific network information through the ad source ID in the developer dashboard or TopOn Open API.
adsource_index int Obtain the ranking of the current ad source in the WaterFall (starting from 0).
adsource_price double Obtain the ECPM. The unit can be obtained via "currency".
adsource_isheaderbidding int Whether it is a header bidding ad source. 1: Yes, 2: No.
id string Obtain the unique ID generated each time the ad is displayed.
publisher_revenue double Obtain the impression revenue.
currency string Obtain the currency unit, e.g., "USD".
country string Obtain the country code, e.g., "CN".
adunit_id string Obtain the TopOn placement ID.
adunit_format string Obtain the ad type, including: "Native", "RewardedVideo", "Banner", "Interstitial", "Splash".
precision string Obtain the ECPM precision. "publisher_defined": The eCPM defined by the developer for the ad source in the TopOn dashboard (cross-promotion eCPM also belongs to this type). "estimated": TopOn's estimated eCPM (auto eCPM). "exact": Header Bidding real-time bidding eCPM (excluding the Meta ad network). "ecpm_api": Effective for the Meta ad platform, historical eCPM API estimated based on Meta's ReportAPI data. Supported in TopOn SDK v5.9.60 and above.
network_type string Obtain the network type. "Network": Third-party ad network. "Cross_Promotion": Cross-promotion. "Adx": TopOn Adx.
network_placement_id string Obtain the ad placement ID of the network.
ecpm_level int Obtain the ECPM level of the ad source. Header bidding ad sources default to 0.
segment_id int Obtain the traffic group ID.
scenario_id string Obtain the ad scenario ID. Only supported for Rewarded Video & Interstitial (starting from v5.7.20, Native & Banner are also supported).
scenario_reward_name string Obtain the reward name of the ad scenario. Only supported for Rewarded Video.
scenario_reward_number int Obtain the reward amount of the ad scenario. Only supported for Rewarded Video.
sub_channel string Obtain the sub-channel information.
channel string Obtain the channel information.
custom_rule Dictionary Obtain the Placement+App dimension custom rule JSON string.
Previous
Splash ad
Next
Error codes and FAQ
Last modified: 2026-07-03Powered by