在 alpha/beta 测试中使用真正的 AdMob 广告
Using real AdMob ads in alpha/beta testing
我的 android 应用程序有一些 admob 广告。我正在 Google Play 商店 Alpha 和 Beta 频道中测试我的 admob。
我的问题是:
当我将我的应用程序部署到 Google play 时,我可以使用真正的 admob 广告单元 ID
存储 Alpha 和 Beta 频道?它是否违反了 google 游戏规则?什么
如果我点击或不点击它们?
我在 Google admob 中看到了这个:
Do I need to use test ads? Yes. It is against AdMob policy to use live
ads during development, and doing so could cause the suspension of
your AdMob account.
不过我好像不太清楚。
谢谢!
Can I use REAL admob ad unit ids when I deploy my app into Google play
store Alpha & Beta channels?
可以,不违反政策。
What if i click or don't click them?
您cannot/should没有点击您自己的实时广告。
(从技术上讲你可以,但你会因此被停职)
如果您可以获得测试设备的设备 ID。请将它们添加到请求中。这是最好的方法。
// Create an ad request. Check logcat output for the hashed device ID to
// get test ads on a physical device.
AdRequest adRequest = new AdRequest.Builder()
.addTestDevice(AdRequest.DEVICE_ID_EMULATOR)
.addTestDevice("INSERT_YOUR_HASHED_DEVICE_ID_HERE")
.build();
从技术上讲可以,但是有一个非常重要的问题需要考虑 - 发布前报告。您需要禁用预发布报告,或者确保您不向 Firebase 测试设备展示广告,否则您将获得一堆“机器人点击”,并带来所有后果。
我的帐户因不小心这样做而被暂停了一个月 - 不要重蹈我的覆辙。
您可以在 Play 管理中心设置中禁用预发布报告(参见屏幕截图),或使用此功能以某种方式从测试设备中隐藏您的广告:
boolean isTestDevice() {
return Boolean.valueOf(Settings.System.getString(getContentResolver(), "firebase.test.lab"));
}
更多信息见this article on ubuverse.com
Firebase官方documentation
我的 android 应用程序有一些 admob 广告。我正在 Google Play 商店 Alpha 和 Beta 频道中测试我的 admob。
我的问题是:
当我将我的应用程序部署到 Google play 时,我可以使用真正的 admob 广告单元 ID 存储 Alpha 和 Beta 频道?它是否违反了 google 游戏规则?什么 如果我点击或不点击它们?
我在 Google admob 中看到了这个:
Do I need to use test ads? Yes. It is against AdMob policy to use live ads during development, and doing so could cause the suspension of your AdMob account.
不过我好像不太清楚。
谢谢!
Can I use REAL admob ad unit ids when I deploy my app into Google play store Alpha & Beta channels?
可以,不违反政策。
What if i click or don't click them?
您cannot/should没有点击您自己的实时广告。
(从技术上讲你可以,但你会因此被停职)
如果您可以获得测试设备的设备 ID。请将它们添加到请求中。这是最好的方法。
// Create an ad request. Check logcat output for the hashed device ID to
// get test ads on a physical device.
AdRequest adRequest = new AdRequest.Builder()
.addTestDevice(AdRequest.DEVICE_ID_EMULATOR)
.addTestDevice("INSERT_YOUR_HASHED_DEVICE_ID_HERE")
.build();
从技术上讲可以,但是有一个非常重要的问题需要考虑 - 发布前报告。您需要禁用预发布报告,或者确保您不向 Firebase 测试设备展示广告,否则您将获得一堆“机器人点击”,并带来所有后果。
我的帐户因不小心这样做而被暂停了一个月 - 不要重蹈我的覆辙。
您可以在 Play 管理中心设置中禁用预发布报告(参见屏幕截图),或使用此功能以某种方式从测试设备中隐藏您的广告:
boolean isTestDevice() {
return Boolean.valueOf(Settings.System.getString(getContentResolver(), "firebase.test.lab"));
}
更多信息见this article on ubuverse.com
Firebase官方documentation