admin
2020-08-14 aeab5e7844802a3324b8677ef3e43e9760c5f41e
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);
    }
    /**
     * 加载广点通广告
     *