我如何展示随机展示的插页式广告

how I can show interstitial ads with a random presentation

你好我想通过随机点击按钮示例显示插页式广告如果我点击墙纸 3 次插页式广告显示我想添加一个功能以在点击后随机显示插页式广告,在 3 到 10 次点击之间

这是我的代码:

if (Config.Counter == 2){
Config.Counter = 0;
new InterstitialAdMobModel(activity);
}else{
Config.Counter ++;
}
                if (Config.Counter >= random ){

                    Random rand = new Random();
                    random = rand.nextInt((max - min + 1) + min);
                    new  InterstitialAdMobModel(activity);
                    Config.Counter = 0;
                }else{
                    Config.Counter ++;

                }