You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Android应用AdMob GDPR授权表单发布者配置错误求助

AdMob UMP SDK非测试环境GDPR授权表单加载失败问题解决

问题场景

我在Android应用中集成AdMob广告,发送广告请求前通过com.google.android.ump:user-messaging-platform SDK调用GDPR授权表单。

测试环境下使用以下代码可正常加载授权表单:

val debugSettings =
ConsentDebugSettings.Builder(activity)
.setDebugGeography(ConsentDebugSettings.DebugGeography.DEBUG_GEOGRAPHY_EEA)
.addTestDeviceHashedId("-----------------")
.build()
val params =
ConsentRequestParameters.Builder().setConsentDebugSettings(debugSettings).build()

但切换到非测试环境后,应用启动时收到错误:

Publisher misconfiguration: Failed to read publisher's account
configuration; no form(s) configured for the input app ID. Verify that
you have configured one or more forms for this application and try
again. Received app ID: ----------

出现错误后,授权表单无法显示,AdMob广告请求也无法正常发送。

解决方法

在AdMob后台创建并完善GDPR授权表单,同时将该表单与对应的应用ID进行关联,即可解决此问题。

内容的提问来源于stack exchange,提问作者Mohammadreza

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.06.29 12:42:07