Admob on Android phone suddenly stops working

I have included admob in my Android phone phone application using the smartphone web method. In test mode, a test ad will appear every time I open the application. Testing with a live ad is also successful, although sometimes it does not appear. A few weeks ago, I noticed that there was no more advertising in my application. In test mode, a test ad is also not displayed.

I check logcat and found these 2 errors.

12-02 08: 12: 15.394: D / PhoneGapLog (1824): http://mmv.admob.com/static/iphone/iadmob.js : Line 1: TypeError: Result of the expression "R [Z]" [undefined] not an object.

12-02 08: 12: 15.394: E / Web Console (1824): TypeError: The result of the expression 'R [Z]' [undefined] is not an object. at http://mmv.admob.com/static/iphone/iadmob.js:1

Are 2 lines above causing admob to not work? Has anyone encountered this problem before? Thanks.

EDIT: I use this javascript code to load ads.

<script type="text/javascript"> var admob_vars = { pubid: my_pub_ID, bgcolor: '7F90AA', text: 'FFFFFF', test: true }; </script> <script type="text/javascript" src="http://mmv.admob.com/static/iphone/iadmob.js"></script> 
+4
source share
1 answer

The tested ads did not work yesterday, but they are supported again. In addition, in real time there is no 100% advertising. Did you try returning test ads again?

0
source

Source: https://habr.com/ru/post/1384287/


All Articles