Unity Mobile ads plugin 7.4.0 gives a null response

184 views
Skip to first unread message

Oskari Rautala

unread,
Feb 6, 2023, 6:39:57 AM2/6/23
to Google Mobile Ads SDK Developers
Hi, after updating to the new version of the plugin and updating all the calls from the old obsolete ones to the newer functions, I get null ad back when requesting one with the RewardedAd testing AdUnitID and the LoadError.GetResponseInfo() gives me this: 

info: {
"Response ID": "null",
"Mediation Adapter Class Name": "",
"Adapter Responses": [],
"Response Extras": {}
 }

other functions in the LoadError give an actual null error from inside the library (like GetCause()). The load function that gave this error was: RewardedAd.Load(adUnitID, adRequest, AdLoadCallback);

This doesnt give me much to fix since I get no feedback and the documentation has not been updated at all to show me if something is wrong.

Mobile Ads SDK Forum Advisor

unread,
Feb 6, 2023, 12:51:24 PM2/6/23
to oskari....@mitale.fi, google-adm...@googlegroups.com

Hi Oskari,

 

Thank you for reaching out to us.

 

For us to further check this, can you provide us the following details below privately?

 

  • Sample app project
  • Steps to replicate
  • Device name and versions affected
  • App ID
  • Complete stack trace

 

You can provide the following details via reply privately to author option or directly provide it to the link below.

 

If the file(s) you are looking to share are less than 25mb in total you can attach them to this case on your next reply. If you are having trouble attaching your file to this case or if your file(s) are larger than 25mb, you can share your files with me by performing the following steps:

 

1. Navigate to

https://docs.google.com/forms/d/e/1FAIpQLSfkAiXMeYP-fw1W3Z-tT9uwmATEKO5X6S-th0gR2ezdKaaqfg/viewform?usp=pp_url&entry.400550049=Mobile+Ads+SDK&entry.460850823=5004Q00002iWKRIQA4&entry.80707362=00166107

2. Fill out all fields, and attach your file(s).

3. Please reply back on this thread when you have uploaded your file(s). Please do not share this link.

 

Regards,

Google Logo
Princess Pamela
Mobile Ads SDK Team
 


ref:_00D1U1174p._5004Q2iWKRI:ref

Oskari Rautala

unread,
Feb 7, 2023, 6:01:24 AM2/7/23
to Google Mobile Ads SDK Developers
I cannot replicate this issue in an empty unity project using copied over plugin and the settings from the actual project, in empty version it works fine. But I cannot send you the game itself either. But clearly something is wrong with some settings stuff related to this project. I can also see some additional stuff in logcat (with the appname removed):

2023/02/07 12:50:40.380 6534 6534 Warn ConnectionStatusConfig Dynamic lookup for intent failed for action: com.google.android.gms.ads.service.CACHE
2023/02/07 12:50:40.418 6534 6684 Debug nativeloader Configuring classloader-namespace for other apk . target_sdk_version=33, uses_libraries=ALL, library_path=, permitted_path=/data:/mnt/expand
2023/02/07 12:50:40.415 6534 6534 Warn AdWorker(Defaul type=1400 audit(0.0:272616): avc: granted { execute } for path="/data/data/APPNAMEHERE/app_pccache/5/62CC4FEEBB47923672350FE25CF85BA1A5E99BEF/pcam.jar" dev="dm-21" ino=458815 scontext=u:r:untrusted_app:s0:c208,c257,c512,c768 tcontext=u:object_r:app_data_file:s0:c208,c257,c512,c768 tclass=file app= APPNAMEHERE
2023/02/07 12:50:40.441 6534 7015 Warn ConnectionStatusConfig Dynamic lookup for intent failed for action: com.google.android.gms.ads.service.START
2023/02/07 12:50:40.922 6534 6534 Info Ads Ad failed to load : 3

This issue also happens in iOS builds of the same project so theres clearly something weird with some settings thats causing this but am having a hard time finding out what it is specifically.

Oskari Rautala

unread,
Feb 7, 2023, 9:58:42 AM2/7/23
to Google Mobile Ads SDK Developers
Testing further, the empty project DOES do the same error, but only if I use the same bundle identifier as the actual game. If I use something else, the project builds fine and displays the test ad correctly. I have now deleted pretty much everything else from the test project, so it should be something related to the package but also something to do with the bundle identifier. I'll try to make an really empty testing project to upload tomorrow if I still can't fix it myself.

Mobile Ads SDK Forum Advisor

unread,
Feb 7, 2023, 12:03:32 PM2/7/23
to oskari....@mitale.fi, google-adm...@googlegroups.com

Hello Oskari,

 

Michael here and I work with Pamela.

 

I do understand your concern. However, we can only provide precise guidance once we can test on our end the behavior you are reporting. Thus, we will need the below information in order to assist you in troubleshooting the issue:

  • Sample app project
  • Steps to replicate
  • Device name and versions affected
  • App ID
  • Complete stack trace

 

Since you mentioned that you are currently working on making an empty test project tomorrow, we will look forward to it in case you would need further assistance from us.

 

Kindly provide this information privately via "Reply To Author" button or with the below process.

 

If you are having trouble attaching your file to this case or if your file(s) are larger than 25mb, you can share your files with me by performing the following steps:

 

1. Navigate to

https://docs.google.com/forms/d/e/1FAIpQLSfkAiXMeYP-fw1W3Z-tT9uwmATEKO5X6S-th0gR2ezdKaaqfg/viewform?usp=pp_url&entry.400550049=Mobile+Ads+SDK&entry.460850823=5004Q00002iWKRIQA4&entry.80707362=00166107

2. Fill out all fields, and attach your file(s).

3. Please reply back on this thread when you have uploaded your file(s). Please do not share this link.

 

Regards,

Google Logo
Michael Angelo
Mobile Ads SDK Team
 


ref:_00D1U1174p._5004Q2iWKRI:ref
Reply all
Reply to author
Forward
0 new messages