Error Code 3, No fill using Meta Audience Network AdSource in AdMob

1,311 views
Skip to first unread message

Federico Vega

unread,
May 9, 2023, 2:59:52 PM5/9/23
to Google Mobile Ads SDK Developers
Hi Google Dev team,
I'm trying to get ads from the Meta Audience Network adapter on android using the Unity plugin and I can't get it to work. I'm getting this error on an signed version of the app:

05-09 15:36:15.174: E/Unity(25222): {
05-09 15:36:15.174: E/Unity(25222):   "Code": 3,
05-09 15:36:15.174: E/Unity(25222):   "Message": "No fill.",
05-09 15:36:15.174: E/Unity(25222):   "Domain": "com.google.android.gms.ads",
05-09 15:36:15.174: E/Unity(25222):   "Cause": "null",
05-09 15:36:15.174: E/Unity(25222):   "Response Info": {
05-09 15:36:15.174: E/Unity(25222):     "Response ID": "null",
05-09 15:36:15.174: E/Unity(25222):     "Mediation Adapter Class Name": "",
05-09 15:36:15.174: E/Unity(25222):     "Adapter Responses": [],
05-09 15:36:15.174: E/Unity(25222):     "Response Extras": {
05-09 15:36:15.174: E/Unity(25222):       "mediation_group_name": "AndroidRV"
05-09 15:36:15.174: E/Unity(25222):     }
05-09 15:36:15.174: E/Unity(25222):   }
05-09 15:36:15.174: E/Unity(25222): }

Ads are working on IOS without a problem, and I couldn't find useful info on google... So I'm really scratching my head in this one.

Mobile Ads SDK Forum Advisor

unread,
May 9, 2023, 5:04:15 PM5/9/23
to fede...@pizia.com, google-adm...@googlegroups.com

Hi Federico,

Thank you for reaching out to us.

For us to further check this error code 3 that you're seeing in your android app using Unity, can you provide us the following information below?

  • Sample app project
  • Steps to replicate
  • SDK version
  • App ID
  • Mediation adapter used

You can provide the following details via reply 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=5004Q00002lC4r8QAC&entry.80707362=00178158

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 Mobile Ads SDK Team


ref:_00D1U1174p._5004Q2lC4r8:ref

Federico Vega

unread,
May 10, 2023, 9:18:55 AM5/10/23
to Google Mobile Ads SDK Developers
Sorry for the delay, to clarify you are asking me for a sample Unity project?

Meanwhile I'll post the other info here:
- SDK Version 8.1.0
- App ID: ca-app-pub-6548849201214427~9796429235
- Mediation adapter: MetaAudienceNetworkUnityAdapter-3.9.1

Mobile Ads SDK Forum Advisor

unread,
May 10, 2023, 1:22:46 PM5/10/23
to fede...@pizia.com, google-adm...@googlegroups.com

Hi Federico,

Thank you for your response.

With regard to the sample app, kindly provide us the sample unity project so we can check as well your implementation. Kindly provide us also the steps you made for replicating the error code 3. In addition to that, I've tried to check your ad unit id in our sample app (https://github.com/googleads/googleads-mobile-android-examples) and was able to get ads on it.

Federico Vega

unread,
May 10, 2023, 3:43:41 PM5/10/23
to Google Mobile Ads SDK Developers
I sent you a sample project with the implementation of the AdMob SDK in the link you provided me.

The steps to reproduce the error:
1 - Open the AdInspector on the installed game on your phone
2 - Select "Facebook Audience Network (Bidding)" as the Single ad source test
3 - Request whatever ad unit

Mobile Ads SDK Forum Advisor

unread,
May 11, 2023, 2:37:00 AM5/11/23
to fede...@pizia.com, google-adm...@googlegroups.com
Hello Federico,

Thank you for the information.

Unfortunately, I'm unable to successfully build the project and install it on a device. Kindly provide us a screen recording of the issue and an APK of the project so we may investigate this further.

Federico Vega

unread,
May 11, 2023, 8:56:12 AM5/11/23
to Google Mobile Ads SDK Developers
Sure, I uploaded the video and apk in the link you gave me.

Mobile Ads SDK Forum Advisor

unread,
May 11, 2023, 2:42:03 PM5/11/23
to fede...@pizia.com, google-adm...@googlegroups.com

Hi Federico,

Thank you for your response.

Upon checking the file you've uploaded, it seems that it was a RAR file, on which we're unable to open in our end. With that, can you provide it again in a ZIP file on the link below? In addition to that, kindly provide us a Charles log capturing this error code 3 in your end. Once provided, we will investigate further.

Federico Vega

unread,
May 12, 2023, 12:20:44 PM5/12/23
to Google Mobile Ads SDK Developers
Hi,
I submitted the zip file, but I couldn't manage Charles to work with my Unity app

Mobile Ads SDK Forum Advisor

unread,
May 15, 2023, 1:40:24 AM5/15/23
to fede...@pizia.com, google-adm...@googlegroups.com
Hello Federico,

Thank you for the information.

Upon reviewing this, we are suspecting this is an ad serving issue with Meta since every other adapter is serving test ads normally. However, to further verify this,  kindly provide us the ad response (https://developers.google.com/admob/unity/response-info) so we may retrieve more details on the error.

Federico Vega

unread,
May 15, 2023, 2:04:25 PM5/15/23
to Google Mobile Ads SDK Developers
Sure, here is the full log:

05-15 15:01:25.943: E/Unity(20241): {
05-15 15:01:25.943: E/Unity(20241):   "Code": 3,
05-15 15:01:25.943: E/Unity(20241):   "Message": "Unable to instantiate mediation adapter class.",
05-15 15:01:25.943: E/Unity(20241):   "Domain": "com.google.android.gms.ads",
05-15 15:01:25.943: E/Unity(20241):   "Cause": "null",
05-15 15:01:25.943: E/Unity(20241):   "Response Info": {
05-15 15:01:25.943: E/Unity(20241):     "Response ID": "",
05-15 15:01:25.943: E/Unity(20241):     "Mediation Adapter Class Name": "",
05-15 15:01:25.943: E/Unity(20241):     "Adapter Responses": [
05-15 15:01:25.943: E/Unity(20241):       {
05-15 15:01:25.943: E/Unity(20241):         "Adapter": "MetaAudienceNetwork",
05-15 15:01:25.943: E/Unity(20241):         "Latency": 0,
05-15 15:01:25.943: E/Unity(20241):         "Ad Source Name": "",
05-15 15:01:25.943: E/Unity(20241):         "Ad Source ID": "",
05-15 15:01:25.943: E/Unity(20241):         "Ad Source Instance Name": "",
05-15 15:01:25.943: E/Unity(20241):         "Ad Source Instance ID": "",
05-15 15:01:25.943: E/Unity(20241):         "Credentials": {},
05-15 15:01:25.943: E/Unity(20241):         "Ad Error": {
05-15 15:01:25.943: E/Unity(20241):           "Code": 3,
05-15 15:01:25.943: E/Unity(20241):           "Message": "Unable to instantiate mediation adapter class.",
05-15 15:01:25.943: E/Unity(20241):           "Domain": "com.google.android.gms.ads",
05-15 15:01:25.943: E/Unity(20241):           "Cause": "null"
05-15 15:01:25.943: E/Unity(20241):         }
05-15 15:01:25.943: E/Unity(20241):       }
05-15 15:01:25.943: E/Unity(20241):     ],
05-15 15:01:25.943: E/Unity(20241):     "Response Extras": {}
05-15 15:01:25.943: E/Unity(20241):   }
05-15 15:01:25.943: E/Unity(20241): }
05-15 15:01:25.943: E/Unity(20241): System.Reflection.RuntimeMethodInfo:Invoke(Object, BindingFlags, Binder, Object[], CultureInfo)
05-15 15:01:25.943: E/Unity(20241): UnityEngine.AndroidJavaProxy:Invoke(String, Object[])
05-15 15:01:25.943: E/Unity(20241): UnityEngine._AndroidJNIHelper:InvokeJavaProxyMethod(AndroidJavaProxy, IntPtr, IntPtr)
05-15 15:01:25.945: E/Unity(20241): {
05-15 15:01:25.945: E/Unity(20241):   "Code": 3,
05-15 15:01:25.945: E/Unity(20241):   "Message": "Unable to instantiate mediation adapter class.",
05-15 15:01:25.945: E/Unity(20241):   "Domain": "com.google.android.gms.ads",
05-15 15:01:25.945: E/Unity(20241):   "Cause": "null",
05-15 15:01:25.945: E/Unity(20241):   "Response Info": {
05-15 15:01:25.945: E/Unity(20241):     "Response ID": "",
05-15 15:01:25.945: E/Unity(20241):     "Mediation Adapter Class Name": "",
05-15 15:01:25.945: E/Unity(20241):     "Adapter Responses": [
05-15 15:01:25.945: E/Unity(20241):       {
05-15 15:01:25.945: E/Unity(20241):         "Adapter": "MetaAudienceNetwork",
05-15 15:01:25.945: E/Unity(20241):         "Latency": 0,
05-15 15:01:25.945: E/Unity(20241):         "Ad Source Name": "",
05-15 15:01:25.945: E/Unity(20241):         "Ad Source ID": "",
05-15 15:01:25.945: E/Unity(20241):         "Ad Source Instance Name": "",
05-15 15:01:25.945: E/Unity(20241):         "Ad Source Instance ID": "",
05-15 15:01:25.945: E/Unity(20241):         "Credentials": {},
05-15 15:01:25.945: E/Unity(20241):         "Ad Error": {
05-15 15:01:25.945: E/Unity(20241):           "Code": 3,
05-15 15:01:25.945: E/Unity(20241):           "Message": "Unable to instantiate mediation adapter class.",
05-15 15:01:25.945: E/Unity(20241):           "Domain": "com.google.android.gms.ads",
05-15 15:01:25.945: E/Unity(20241):           "Cause": "null"
05-15 15:01:25.945: E/Unity(20241):         }
05-15 15:01:25.945: E/Unity(20241):       }
05-15 15:01:25.945: E/Unity(20241):     ],
05-15 15:01:25.945: E/Unity(20241):     "Response Extras": {}
05-15 15:01:25.945: E/Unity(20241):   }
05-15 15:01:25.945: E/Unity(20241): }
05-15 15:01:25.945: E/Unity(20241): System.Reflection.RuntimeMethodInfo:Invoke(Object, BindingFlags, Binder, Object[], CultureInfo)
05-15 15:01:25.945: E/Unity(20241): UnityEngine.AndroidJavaProxy:Invoke(String, Object[])
05-15 15:01:25.945: E/Unity(20241): UnityEngine._AndroidJNIHelper:InvokeJavaProxyMethod(AndroidJavaProxy, IntPtr, IntPtr)

Now it throws a different error, Ad inspector says that the Meta Audience Network is initialized

Mobile Ads SDK Forum Advisor

unread,
May 16, 2023, 5:36:09 AM5/16/23
to fede...@pizia.com, google-adm...@googlegroups.com
Hello Federico,
 
Thank you for the information.
 
Upon reviewing this, it appears that the issue is an ad serving issue on Meta's side. Kindly note that the SDK just requests an ad to the ad server, and I'm afraid that it doesn't have any control on the fill rate of your app. This is more of an ad serving issue/ fill rate concern which is out of scope to our team. That said, we would recommend raising this Meta's product support team (via this link: https://www.facebook.com/business/help) instead as this issue is not within our scope.

Federico Vega

unread,
May 16, 2023, 8:46:39 AM5/16/23
to Google Mobile Ads SDK Developers
I'll reach to the Meta team ,  thanks for your help!

Mobile Ads SDK Forum Advisor

unread,
May 16, 2023, 10:39:49 AM5/16/23
to fede...@pizia.com, google-adm...@googlegroups.com

Hi Federico,

Thank you for responding back to us. Should you have future concerns directly with Google Mobile Ads SDK, do not hesitate to come back to us and we will be glad to assist you.

Liran Barsisa

unread,
Jun 25, 2023, 8:27:25 AM6/25/23
to Google Mobile Ads SDK Developers
Has anyone here succeeded handling this?
I get this error too. 
Facebook documentation is about 10 times harder to understand than of Admob, and Admob is already quite complex...

Federico Vega

unread,
Jun 26, 2023, 9:30:34 AM6/26/23
to Google Mobile Ads SDK Developers
Hi Liran,

It ended up fixing itself after we updated all SDKs to their latest version, I couldn't catch what was the specific thing that was causing the issue sadly.
I would suggest that you try to update every single one SDK that you have in your project, and check if that works.

Liran Barsisa

unread,
Jun 26, 2023, 9:47:56 AM6/26/23
to Google Mobile Ads SDK Developers
Sadly all dependencies are already updated.
In the past, I had to add this for Facebook:

Bundle extras = new FacebookExtras()
       .setNativeBanner(true)
       .build();
AdManagerAdRequest request =  new AdManagerAdRequest.Builder()
       .addNetworkExtrasBundle(FacebookAdapter.class, extras)
       .build();


However, today I can't use it after the updates, as FacebookAdapter doesn't exist anymore. I even asked about it here:
https://stackoverflow.com/q/74385930/878126

The documentation now has only the Facebook dependency being mentioned as something I should have.
Is it true? I don't need to have anything else in code?

Federico Vega

unread,
Jun 26, 2023, 10:04:17 AM6/26/23
to Google Mobile Ads SDK Developers
Yeah, you only need to add the Meta Audience Network package into your project and its supposed to work right away, no additional code required.
Check also if you have all ids and the test environment correctly setup, I can't give you more help in this as for me it started to work by itself haha.

You can also try to contact meta about this issue, maybe they will give you another clue at what could be the issue.

Liran Barsisa

unread,
Jun 26, 2023, 10:50:49 AM6/26/23
to Google Mobile Ads SDK Developers
Seems it's not the same as reported here, as I write only about Facebook in mediation of Admob, yet here it's about Unity.

Yohei Oba

unread,
Dec 18, 2023, 4:22:52 AM12/18/23
to Google Mobile Ads SDK Developers
Hello. I was also struggling with the same issue, but when I installed the Facebook app on my Android device and logged into my Facebook account, the problem was resolved. I couldn't help but smile.

2023年6月26日月曜日 23:50:49 UTC+9 Liran Barsisa:

tonyev...@gmail.com

unread,
May 7, 2024, 11:25:13 PMMay 7
to Google Mobile Ads SDK Developers
Has anyone here succeeded handling this?
I get this error too. 

tonyev...@gmail.com

unread,
May 30, 2024, 5:01:28 AMMay 30
to Google Mobile Ads SDK Developers
I used waterfall mediation ads. I removed it and it solved it.

Kwong

unread,
Sep 17, 2024, 4:03:58 AMSep 17
to Google Mobile Ads SDK Developers
I'm having the same issue as well in Unity. The review was done and the app status is in "Waiting for bid request" in Meta business website now, but it's still returning No Fill when "Single ad source test" is set to "Meta Audience Network (Bidding)" in Ad Inspector.  Testing Mode is enabled in Meta website adn Admob console and test devices were added accordingly too. Tested with installed Facebook app and logged in the Facebook account which is also under the Facebook developer account as tester role. No source is added under Waterfall. Tried Applovin bidding and regular admob ads, and they worked fine without issue. It's easy to blame Meta seeing only Meta mediation does not work, but we also suspect the mediation adapter might be missing passing some important data, such as test mode value or test device ID to Meta SDK and Meta just simply returns no ads due to it's not a test ad request. For more info, here's the ReponseInfo:

ResponseInfo: {
  "Response ID": "xxxxxxxxxx",
  "Mediation Adapter Class Name": "",
  "Adapter Responses": [
    {
      "Adapter": "com.google.ads.mediation.facebook.FacebookMediationAdapter",
      "Latency": 610,
      "Ad Source Name": "Meta Audience Network (bidding)",
      "Ad Source ID": "xxxxxxxxxx",
      "Ad Source Instance Name": "Meta Audience Network (bidding) (Rewarded)",
      "Ad Source Instance ID": "xxxxxxxxxx",
      "Credentials": {
        "pubid": "xxxxxxxxxx",
        "placement_id": "xxxxxxxxxx"
      },
      "Ad Error": {
        "Code": 3,
        "Message": "No fill.",
        "Domain": "com.google.android.gms.ads",
        "Cause": {
          "Code": 1001,
          "Message": "No fill",
          "Domain": "com.facebook.ads",
          "Cause": "null"
        }
      }
    }
  ],

I replaced confidential credentials with "xxxxxxxxxx". Please ignore them.

This is tested using the samples in https://github.com/googleads/googleads-mobile-unity and configured using our own ads unit IDs. More info on versions:
- Google Mobile Ads Unity Plugin v9.2.0
- com.google.ads.mediation:facebook:6.17.0.0 (Android package)
- com.google.ads.mediation:applovin:12.6.1.0  (Android package)
- Unity 2022.3.39f1
Reply all
Reply to author
Forward
0 new messages