manideep manideep - 1 month ago 59
Android Question

403. That’s an error. We're sorry, but you do not have access to this page. That’s all we know

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 :

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

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

403. That’s an error.
We're sorry, but you do not have access to this page. That’s all we know.


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

Answer

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.

Here is the answer for it:

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=new AdRequest.Builder().build(); use the above code during production phase,comment this during testing and development phase.