While my ads are opening, my apps are crashing. Emergency Help !

385 views
Skip to first unread message

MUHAMMED ÜSAME KILIÇBAY

unread,
Jun 9, 2019, 9:45:46 AM6/9/19
to Google Mobile Ads SDK Developers
Hello guys, it's my AdMob account. My codes are correct I controlled with debugging over and over... Every time test ids are working I can see test ads but when I change ids with my ids. Ads are not showing and my apps/games are crashing. Please help me...

(I'm using Unity 2019.1.3f1 and AdMob last version)
Ekran Alıntısı.png

Mobile Ads SDK Forum Advisor Prod

unread,
Jun 9, 2019, 11:32:01 PM6/9/19
to google-adm...@googlegroups.com, orenda.a...@gmail.com
Hi Muhammed,

Thank you for reaching out to us.

Kindly provide the details below using the Reply privately to author option so that I can investigate the issue:
  • Ad unit IDs affected
  • Error code encountered (if any)
  • Play Store link (if published)
  • Copy of the Unity project with the error replicated

Regards,
Ziv Yves Sanchez
Mobile Ads SDK Team

ref:_00D1U1174p._5001UBmLjj:ref

MUHAMMED ÜSAME KILIÇBAY

unread,
Jun 10, 2019, 9:47:12 AM6/10/19
to Google Mobile Ads SDK Developers
I haven't any problem in codes. Test Ids' are working totally problem must be about my Ad IDs

10 Haziran 2019 Pazartesi 06:32:01 UTC+3 tarihinde mobileadssdkforumadvisor yazdı:

Mobile Ads SDK Forum Advisor Prod

unread,
Jun 10, 2019, 8:06:32 PM6/10/19
to orenda.a...@gmail.com, google-adm...@googlegroups.com
Hi Muhammed,

I understand your concern. I'll need the details below so that I can investigate your issue. Could you provide them using the Reply privately to author option?

Mobile Ads SDK Forum Advisor Prod

unread,
Jun 10, 2019, 11:29:35 PM6/10/19
to orenda.a...@gmail.com, google-adm...@googlegroups.com
Hi Muhammed,

Thank you for providing the requested details in private.

I was able to test all 3 of your apps from the Play Store, and can confirm that I was getting ads from them (kindly see attached screenshots). Hence, I could not replicate any crashing nor any ads not showing up.

It may be possible that the crashes would only happen if no ads show up on your apps. It'll be most helpful if you can provide a log of the crash from Android Studio's logcat so that I can dig deeper into the issue.
device-2019-06-11-111416.png
device-2019-06-11-111749.png
device-2019-06-11-112048.png

Mobile Ads SDK Forum Advisor Prod

unread,
Jun 11, 2019, 1:36:27 AM6/11/19
to orenda.a...@gmail.com, google-adm...@googlegroups.com
Hi Muhammed,

It is entirely possible that there might be an ad-serving issue for your app for specific countries. Since I cannot replicate your issue on my end, I have to rely on the log reports coming from your app tests.

Thus, as mentioned, I will be needing logs from the logcat in Android Studio so that I can investigate the issue. You may check out the relevant article here. Kindly make sure that the logs capture the moment when the app crashes. You may also send me a copy of your sample project with the crash replicated (using the Reply privately to author option) so that I can look into the issue directly.

Mobile Ads SDK Forum Advisor Prod

unread,
Jun 11, 2019, 3:54:26 AM6/11/19
to orenda.a...@gmail.com, google-adm...@googlegroups.com
Hi Muhammed,

Thank you for providing your sample project in private.

I was able to build and test your sample project using Unity 2019.1.3f1; I had to change the Scripting Backend to Mono however, since I could not build the project using IL2CPP. Attached is a recording of the interstitial ads in question.

I noticed that your Managed Stripping Level is set to High. While this is good practice in general for optimizing file sizes, please note that the AdMob SDK uses lots of reflection in its codebase, and is thus prone to having its code stripped by Unity during the building process. I recommend setting Managed Stripping Level to Disabled and see if this fixes the problem (you may have to change your Scripting Backend to Mono as well). Alternatively, you may check out how UnityLinker works (via the official Unity documentation pages) and learn about the Preserve attribute so that you can continue to use the AdMob SDK while still using code stripping.

As an aside, there should be an Android Logcat package available for Unity. You can check it out inside the editor via Window -> Package Manager. You may have to Show preview packages in the manager screen for Logcat to appear in the options.

If you have further questions on how Unity's code stripping works, or on how to install the Android Logcat package for Unity, you may reach out to the Unity support forums.
device-2019-06-11-153820_mp4.html

Mobile Ads SDK Forum Advisor Prod

unread,
Jun 11, 2019, 5:31:07 PM6/11/19
to orenda.a...@gmail.com, google-adm...@googlegroups.com
Hello there,

Ziv is Out of Office today and I will be assisting you with your issue here. This looks like an issue with your implementation. I would suggest that you go through our sample apps and also our documentation and see if you have missed anything and try again. 

Regards,
Deepika Uragayala

Mobile Ads SDK Forum Advisor Prod

unread,
Jun 17, 2019, 9:31:31 PM6/17/19
to orenda.a...@gmail.com, google-adm...@googlegroups.com
Hi Muhammed,

Thank you for providing a set of videos in private, demonstrating the crash in question.

I tried replicating the exact same scenario of building your app as that in the video, and noticed that the ads were now giving me an error code 0 (whereas they were displaying last week on my end). This means that the ad units are sending out invalid requests to the AdMob server, and thus could not serve any ads in return. This error can be caused by various factors, such as incorrect usage of app/ad unit IDs, account-related issues (like incomplete account setup), policy violations, etc.

Kindly double-check your account for any notifications on policy violations; they should be fixed first in order to restore ad serving if there are any. You may refer to our page on policies and on resolving policy violations for further details. For other account- or policy-related concerns, you may visit the AdMob Help Center for further assistance.

Regards,
Ziv Yves Sanchez
Reply all
Reply to author
Forward
0 new messages