AdInfo回调信息说明
AdInfo information description
1. AdInfo回调信息说明
AdInfo information description
AdInfo对象在各类型广告回调接口中获得。
The AdInfo object is obtained in the callback interface of each type of advertisement.
| 方法 method | 类型 type | 说明 illustrate |
|---|---|---|
| networkId | WindMillAdn | 广告网络id Advertising network id |
| networkPlacementId | string | 开发者在 ToBid 平台填写的三方广告位Id The third-party ad space ID filled in by the developer on the ToBid platform |
| networkName | string | 广告网络名称 Ad Network Name |
| groupId | string | ToBid 平台生成的流量分组Id,开发者可以在瀑布流管理页面点击分组名称查看流量分组Id The traffic group ID generated by the ToBid platform. Developers can view the traffic group ID by clicking the group name on the waterfall management page. |
| abFlag | string | ab实验的分组标记 Grouping mark for ab experiment |
| loadPriority | int | 加载广告的优先级,加载优先级越高越优先请求广告 The priority of loading ads. The higher the loading priority, the higher the priority of requesting ads. |
| playPriority | int | 播放广告的优先级,在广告已经填充的情况下,播放优先级越高越有可能曝光 The priority of playing ads. If ads are already filled, the higher the playing priority, the more likely it is to be exposed. |
| eCPM | Int | 开发者填写的预估eCPM,单位分。用于计算预估收益 The estimated eCPM filled in by the developer, in cents. Used to calculate the estimated revenue |
| currency | string | 货币单位,当前仅支持 CNY Currency unit, currently only supports CNY |
| isHeaderBidding | boolean | 是否hb广告源。false 是普通广告源,true 是hb广告源。 Whether it is hb advertising source. False is a common advertising source, true is a hb advertising source. |
| loadId | string | 每次展示广告时生成的独立Id,可用于排查问题 A unique ID is generated each time an ad is displayed, which can be used to troubleshoot problems |
| userId | string | App自己的用户体系的Id,由开发者传入 The ID of the App's own user system, passed in by the developer |
| adType | WindMillAdSlotType | 当前广告类型。1代表激励视频,2代表开屏广告,4代表插屏广告,5代表原生广告,7代表Banner广告 The current ad type. 1 represents rewarded video, 2 represents splash screen ad, 4 represents interstitial ad, 5 represents native ad, 7 represents banner ad |
| scene | string | 广告场景,由开发者传入 Advertising scenario, passed in by the developer |
| options | Map | 开发者在request中传入的options 信息 The options information passed by the developer in the request |
| toString() | String | 获取整个AdInfo对象的Json字符串 Get the Json string of the entire AdInfo object |
2. Network ID 对照表
Network ID Comparison Table
ToBid 平台支持的广告网络对应 NetworkID 列表
List of NetworkIDs of advertising networks supported by ToBid platform
c#
public enum WindMillAdn
{
WindMillAdnNoData = -2, // 暂时无真实数据,未获取到最佳广告,一般在未展示之前提前调用
WindMillAdnNone = 0, // 未知adn
WindMillAdnMTG = 1, // Mintegral
WindMillAdnVungle = 4, // Vungle
WindMillAdnApplovin = 5, // applovin
WindMillAdnUnityAds = 6, // unityads
WindMillAdnIronsource = 7, // ironsource
WindMillAdnSigmob = 9, // Sigmob
WindMillAdnAdmob = 11, // 谷歌Admob
WindMillAdnTapjoy = 12, // Tapjoy
WindMillAdnCSJ = 13, // 穿山甲
WindMillAdnGDT = 16, // 腾讯广点通
WindMillAdnKs = 19, // 快手
WindMillAdnBaidu = 21, // 百度联盟
WindMillAdnGroMore = 22, // GroMore
WindMillAdnBeiZi = 27, // AdScope
WindMillAdnPangle = 30, // Pangle
WindMillAdnMax = 31, // Max
WindMillAdnReklamup = 33, // Reklamup
WindMillAdnAdMate = 35, // admate
WindMillAdnInMobi = 37, // InMobi
}3. 广告位类型 对照表
Ad space type comparison table
c#
public enum WindMillAdSlotType
{
WindMillAdSlotTypeNone = 0,
WindMillAdSlotTypeRewardVideo=1,
WindMillAdSlotTypeSplash=2,
WindMillAdSlotTypeIntersititial=4,
WindMillAdSlotTypeNative=5,
WindMillAdSlotTypeBanner=7
}