简体   繁体   English

AdMob广告未在Android产品上展示

[英]AdMob ads are not showing in production on Android

I'm using cordova-plugin-admobpro plugin to display ads inside my Cordova app. 我正在使用cordova-plugin-admobpro插件在我的Cordova应用中展示广告。 The test ads are showing if I set the isTesting:true property, but when i release my app to production (I removed isTesting:true property) the ads are not showing. 如果我设置isTesting:true属性,则显示测试广告,但是当我将应用发布到生产环境中时(我删除了isTesting:true属性),则广告不会显示。 The onAdFailLoad callback is fired and I get the following response: 触发了onAdFailLoad回调,并且得到以下响应:

{
"isTrusted":"false",
"adNetwork":"AdMob",
"adType":"banner",
"adEvent":"onAdFailLoad",
"error":"0",
"reason":"Internal error"
}

Anybody faced the same problem? 有人遇到同样的问题吗? I don't get why I get isTrusted:false . 我不明白为什么我会得到isTrusted:false This means the app isn't trusted by Google or AdMob? 这意味着该应用不受Google或AdMob的信任吗? How can I fix this? 我怎样才能解决这个问题?

I'm using cordova-plugin-admobpro 2.31.5 on Android. 我在Android上使用cordova-plugin-admobpro 2.31.5。

Thanks in advance 提前致谢

in the past i had a similar problem. 过去我有类似的问题。 I forgot to save a payment method to admob. 我忘记了保存付款方式来进行admob。 After adding this, everything worked as well. 添加此内容后,一切正常。

我的客户将横幅广告ID设置为Insterstitial广告,将横幅广告ID设置为interstitialID。因此,在设置我的朋友的ID时要小心广告类型。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM