如果我只是 运行 我的应用并在我的测试设备上展示真实广告而不点击广告,我的 AdMob 帐户会被暂停吗?

Will be my AdMob account suspended if I just run my app and show real ads on my test device without clicking the ads?

我通常使用测试广告进行开发,但有时我会使用真实广告来完成开发以查看我的应用程序是否真的有效。

但我自己从来没有点击过真正的广告。

我的 AdMob 帐户会被暂停吗?

"When building and testing your apps, make sure you use test ads rather than live, production ads. Failure to do so can lead to suspension of your account."

这是Google的官方说法,我没有测试直播广告的经验,所以我不能给你一个肯定的答案,如果是在较小的测试规模上可能不会。

是的,如果您连续点击该帐户或发现任何可疑的 activity 广告团队,他们可以暂停您的广告帐户。

仅点击来自 AdMob 的广告就会产生 流量,从而为您带来收入。因此,没有点击==没有流量,你应该像你在这个问题中所说的那样安全。

但是,要避免产生无效流量,有很多方法,您应该尝试使用所有方法。

  • 对您的广告单元 ID 保密。不会有人恶意利用它来产生无效流量。
  • 不要点击您的广告。不要告诉任何人(甚至是您应用程序的用户)点击您的广告。确保广告点击是由看到广告引起的。
  • 使用Alpha测试轨道测试真实AD,使用不同构建类型切换AD-Real-Unit-ID和AD-Test-Unit-ID

根据this document,您可以将这些 ID 放入您的 build.gradle 文件中,并自动切换您的测试 AD-ID / 真实 AD-通过选择不同构建类型的 ID。

这是我在 app/build.gradle

中的代码
buildTypes {
    debug {
        applicationIdSuffix ".debug"
        resValue "string", "app_name", "@string/app_name_debug"
        resValue "string", "ad_banner_id",   "ca-app-pub-3940256099942544/6300978111"  // test unit id
        resValue "string", "ad_rewarded_id", "ca-app-pub-3940256099942544/5224354917"  // test unit id
    }

    release {
        resValue "string", "app_name", "@string/app_name_release"
        resValue "string", "ad_banner_id",   "ca-app-pub-***/***"  // real ad unit id
        resValue "string", "ad_rewarded_id", "ca-app-pub-***/***"  // real ad unit id
        minifyEnabled true
        proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
        zipAlignEnabled true
    }
}