本文介绍了403.那是一个错误。很抱歉,您无权访问此页面。我们知道的就这些的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经尝试了adMob的一些演示广告,直到昨天我都可以成功在我的应用程序中显示一些广告,但是今天,当我尝试运行相同的应用程序时,它显示以下内容:

Hi I have tried some demo ad's from adMob I could successfully display some ad's in my application until yesterday but today when I tried to run the same application it was showing the following :

未找到用于GMSG的GMSG处理程序:gmsg://mobileads.google.com/jsLoaded?google.afma.Notify_dt = 1419570286070
无法加载广告:3

No GMSG handler found for GMSG: gmsg://mobileads.google.com/jsLoaded?google.afma.Notify_dt=1419570286070Failed to load ad: 3

所以我尝试登录以检查我的帐户,然后显示以下消息。

so I have tried to login to check my account, then the following message is shown.

403。那是一个错误。
很抱歉,您无权访问此页面。

请让我知道此问题的解决方案...

please let me know the solution for this issue...

推荐答案

最初,即使在开发阶段,我也经常点击实时广告,因此我的adMob帐户被阻止并且无法从adMob服务器获取任何实时广告,因此经过一番调查后,我知道了如何我会显示一些用于测试和开发阶段的虚拟广告。

Initially I used to click live ad's even during the development phase so my adMob account is blocked and not able to get any live ad's from adMob server so after some investigation I get to know how can i display some dummy ad's for testing and development stage.

这是答案:

AdRequest adRequest = new AdRequest.Builder()。addTestDevice(
69AEF8955FAE39BFDF64CDB6D8911089)。build();
在测试和开发阶段使用上面的代码行。用您在运行应用程序时在logcat中找到的字符串替换69 ...

AdRequest adRequest = new AdRequest.Builder().addTestDevice( "69AEF8955FAE39BFDF64CDB6D8911089").build();use the above line of code during testing and development phase.Replace 69..... with the string that u find in your logcat when u run your application.

AdRequest adRequest =新的AdRequest.Builder()。build();
在生产阶段使用上面的代码,在测试和开发阶段对此进行注释。

AdRequest adRequest=new AdRequest.Builder().build();use the above code during production phase,comment this during testing and development phase.

这篇关于403.那是一个错误。很抱歉,您无权访问此页面。我们知道的就这些的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

05-27 14:27