admin
2020-08-14 bbe126bc62902f3bb5d6d9db48d398efcb7f98c4
BuWanVideo/src/com/weikou/beibeivideo/util/ad/ExpressAdManager.java
@@ -176,6 +176,28 @@
        loadAd(width, height, pid, count, adLoadListener);
    }
    /**
     * 视频详情页信息流广告
     * @param count
     * @param adLoadListener
     */
    public void loadVideoDetailAd(int count, final IAdLoadListener adLoadListener) {
        //加载大图
        String pid = null;
        if (sourceType == SOURCE_CSJ) {
            pid = "945379581";
        } else if (sourceType == SOURCE_GDT) {
            pid = BeibeiConstant.GDT_SEARCH_RESULT_MIN_NATIVE;
        }
        //获取屏幕的宽
        int deviceWidth = DimenUtils.getScreenWidth(mContext);
        deviceWidth = DimenUtils.px2dip(mContext, deviceWidth);
        int width = (deviceWidth - 20);
        int height = 75;
        loadAd(width, height, pid, count, adLoadListener);
    }
    /**
     * 加载广点通广告
     *