onInterstitialAdBidFailed static method
void
onInterstitialAdBidFailed(
- BidFailedReasonCode reasonCode,
- int firstECPM, {
- int bidType = 0,
- BidAdnId firstAdnId = BidAdnId.OTHER,
- String adUserName = "",
- String adTitle = "",
- BidMaterialType adnMaterialType = BidMaterialType.REPORT_MATERIAL_TYPE_OTHER,
- String adnMaterialUrl = "",
- bool isShow = false,
- bool isClick = false,
- int ts = 0,
插全屏广告广告竞败后,上报失败原因
Implementation
static void onInterstitialAdBidFailed(
/// 竞价失败原因码
BidFailedReasonCode reasonCode,
/// 竞胜方出价
int firstECPM, {
/// 竞胜方出价类型
/// 1-分层保价
/// 2-固定价格
/// 3-实时竞价
/// 4-其他
int bidType = 0,
/// 竞胜方的AdnID
BidAdnId firstAdnId = BidAdnId.OTHER,
/// 竞胜方广告主名称
String adUserName = "",
/// 竞胜方广告标题
String adTitle = "",
/// 竞胜方物料类型
BidMaterialType adnMaterialType =
BidMaterialType.REPORT_MATERIAL_TYPE_OTHER,
/// 竞胜方物料URL
String adnMaterialUrl = "",
/// 是否已展示
bool isShow = false,
/// 是否已点击
bool isClick = false,
/// 竞价发生的时间戳,单位毫秒
int ts = 0,
}) {
_sdkMethodChannel.invokeMethod("onInterstitialAdBidFailed", {
"reason": reasonCode.val,
"ecpm": firstECPM,
"type": bidType,
"adn": firstAdnId.val,
"ad_username": adUserName,
"ad_title": adTitle,
"adn_material_type": adnMaterialType.val,
"adn_material_url": adnMaterialUrl,
"is_show": isShow,
"is_click": isClick,
"ts": ts.toString(),
});
}