I can not send a request for a banner in mediation

90 views
Skip to first unread message

Agatino Moschitta

unread,
Apr 26, 2015, 5:15:22 AM4/26/15
to google-adm...@googlegroups.com
I have to send a request banner, and I must add in mediation InMobi and Facebook, I added both SDK and its adapter, which only makes me add the InMobi network with:
.addNetworkExtras (inMobiAdapter)
while FacebookAdapter not me it does add.
PS: I do not understand something else, the appkey of Admob and facebook in the app where should I put them? or do not serve in the app client because we think the panel to deliver ads?
thanks

Andrew Brogdon (Mobile Ads SDK Team)

unread,
Apr 27, 2015, 2:19:12 PM4/27/15
to google-adm...@googlegroups.com
I'm having a little trouble understanding what you're asking, but I will do my best to help.

If you're looking for the best way to incorporate InMobi ads into your AdMob mediation settings, you can find their instructions here: 


For both InMobi and Facebook, you'll need to add your API Key, or other relevant account details, to the settings for your mediation stack on the AdMob web site. The only ID your actual application needs to have in its code is the ad unit ID for AdMob.

-Andrew

Manish

unread,
Jul 2, 2018, 2:17:46 AM7/2/18
to Google Mobile Ads SDK Developers
I am getting these error unable to find what is the issue with these please help me out 

Instantiating mediation adapter: com.google.ads.mediation.inmobi.InMobiAdapter
07-02 11:44:04.389 30340-30340/package name W/Ads: Could not request banner ad from adapter.
    java.lang.NullPointerException: println needs a message
        at android.util.Log.println_native(Native Method)
        at android.util.Log.d(Log.java:145)
        at com.google.ads.mediation.inmobi.InMobiAdapter.requestBannerAd(InMobiAdapter.java:137)
        at com.google.android.gms.internal.zzvn.zza(Unknown Source:164)
        at com.google.android.gms.internal.zzux.onTransact(Unknown Source:407)
        at android.os.Binder.transact(Binder.java:627)
        at nx.b(:com.google.android.gms.dynamite_dynamitemodulesa@12688023@12.6.88 (040400-197970725):20)
        at com.google.android.gms.ads.internal.mediation.client.g.a(:com.google.android.gms.dynamite_dynamitemodulesa@12688023@12.6.88 (040400-197970725):43)
        at com.google.android.gms.ads.internal.mediation.f.run(:com.google.android.gms.dynamite_dynamitemodulesa@12688023@12.6.88 (040400-197970725):71)
        at android.os.Handler.handleCallback(Handler.java:790)
        at android.os.Handler.dispatchMessage(Handler.java:99)
        at com.google.android.gms.ads.internal.util.f.dispatchMessage(:com.google.android.gms.dynamite_dynamitemodulesa@12688023@12.6.88 (040400-197970725):9)
        at android.os.Looper.loop(Looper.java:164)
        at android.app.ActivityThread.main(ActivityThread.java:6494)
        at java.lang.reflect.Method.invoke(Native Method)
        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807

mobileadssdk-a...@google.com

unread,
Jul 2, 2018, 11:45:32 AM7/2/18
to Manish, Google Mobile Ads SDK Developers
Hi,

Can you advise which version of the InMobiAdapter you are using? 

Can you also provide in a private reply to this email, your ad unit ID? It appears as though you could be missing some configuration parameters for the InMobi adapter, eg the account id or placement id.

Regards

Sam

On 07/01/18 23:17:46 man...@hashtaag.com wrote:
I am getting these error unable to find what is the issue with these please help me out 

Instantiating mediation adapter: com.google.ads.mediation.inmobi.InMobiAdapter
07-02 11:44:04.389 30340-30340/package name W/Ads: Could not request banner ad from adapter.
    java.lang.NullPointerException: println needs a message
        at android.util.Log.println_native(Native Method)
        at android.util.Log.d(Log.java:145)
        at com.google.ads.mediation.inmobi.InMobiAdapter.requestBannerAd(InMobiAdapter.java:137)
        at com.google.android.gms.internal.zzvn.zza(Unknown Source:164)
        at com.google.android.gms.internal.zzux.onTransact(Unknown Source:407)
        at android.os.Binder.transact(Binder.java:627)
        at nx.b(:com.google.android.gms.dynamite_dynamitemodulesa@1268...@12.6.88 (040400-197970725):20)
        at com.google.android.gms.ads.internal.mediation.client.g.a(:com.google.android.gms.dynamite_dynamitemodulesa@1268...@12.6.88 (040400-197970725):43)
        at com.google.android.gms.ads.internal.mediation.f.run(:com.google.android.gms.dynamite_dynamitemodulesa@12688023@12.6.88 (040400-197970725):71)
        at android.os.Handler.handleCallback(Handler.java:790)
        at android.os.Handler.dispatchMessage(Handler.java:99)
        at com.google.android.gms.ads.internal.util.f.dispatchMessage(:com.google.android.gms.dynamite_dynamitemodulesa@12688023@12.6.88 (040400-197970725):9)
        at android.os.Looper.loop(Looper.java:164)
        at android.app.ActivityThread.main(ActivityThread.java:6494)
        at java.lang.reflect.Method.invoke(Native Method)
        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807

On Monday, April 27, 2015 at 11:49:12 PM UTC+5:30, Andrew Brogdon (Mobile Ads SDK Team) wrote:
I'm having a little trouble understanding what you're asking, but I will do my best to help.

If you're looking for the best way to incorporate InMobi ads into your AdMob mediation settings, you can find their instructions here: 


For both InMobi and Facebook, you'll need to add your API Key, or other relevant account details, to the settings for your mediation stack on the AdMob web site. The only ID your actual application needs to have in its code is the ad unit ID for AdMob.

-Andrew



On Sunday, April 26, 2015 at 2:15:22 AM UTC-7, Agatino Moschitta wrote:
I have to send a request banner, and I must add in mediation InMobi and Facebook, I added both SDK and its adapter, which only makes me add the InMobi network with:
.addNetworkExtras (inMobiAdapter)
while FacebookAdapter not me it does add.
PS: I do not understand something else, the appkey of Admob and facebook in the app where should I put them? or do not serve in the app client because we think the panel to deliver ads?
thanks

--

---
You received this message because you are subscribed to the Google Groups "Google Mobile Ads SDK Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-admob-ads-sdk+unsub...@googlegroups.com.
To post to this group, send email to google-admob-ads-sdk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-admob-ads-sdk/245c5362-3e62-40b2-914a-1ff30b69a39b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Manish

unread,
Jul 4, 2018, 12:59:17 AM7/4/18
to Google Mobile Ads SDK Developers
Hi Sam ,

I am using this dependency which is provided by google 'com.google.ads.mediation:InMobi:7.0.2.0' also adding another dependency which giving by mediation i.e by InMobi 'com.inmobi.monetization:inmobi-ads:7.1.1'and 'com.squareup.picasso:picasso:2.5.2'

these ad unit id ca-app-pub-2216670821690096/9791822240 for android here AdMob ads are coming but InMobi ad is not giving exception to me 

 W/Ads: Could not request ad from mediation adapter.
    android.os.RemoteException
        at com.google.android.gms.internal.ads.zzyk.zza(Unknown Source:179)
        at com.google.android.gms.internal.ads.zzxr.dispatchTransaction(Unknown Source:407)
        at com.google.android.gms.internal.ads.zzek.onTransact(Unknown Source:22)
        at android.os.Binder.transact(Binder.java:627)
        at nx.b(:com.google.android.gms.dynamite_dynamitemodulesa@1268...@12.6.88 (040400-197970725):20)
        at com.google.android.gms.ads.internal.mediation.client.g.a(:com.google.android.gms.dynamite_dynamitemodulesa@1268...@12.6.88 (040400-197970725):43)
        at com.google.android.gms.ads.internal.mediation.f.run(:com.google.android.gms.dynamite_dynamitemodulesa@12688023@12.6.88 (040400-197970725):71)
        at android.os.Handler.handleCallback(Handler.java:790)
        at android.os.Handler.dispatchMessage(Handler.java:99)
        at com.google.android.gms.ads.internal.util.f.dispatchMessage(:com.google.android.gms.dynamite_dynamitemodulesa@12688023@12.6.88 (040400-197970725):9)
        at android.os.Looper.loop(Looper.java:164)
        at android.app.ActivityThread.main(ActivityThread.java:6494)
        at java.lang.reflect.Method.invoke(Native Method)
        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)



  but when I am using InMobi ad unit id giving in the sample then it shows InMobi ads but not AdMob ads that work fine 

Thanks in advances please let me know what is the issue with me 

Manish

unread,
Jul 6, 2018, 5:21:48 AM7/6/18
to Google Mobile Ads SDK Developers

Issue solved as the problem with the wrong configuration with InMobi with Google AdMob  its mandatory to provide app id of InMobi with placement id 

mobileadssdk-a...@google.com

unread,
Jul 9, 2018, 12:59:57 PM7/9/18
to Manish, Google Mobile Ads SDK Developers
Hi Manish,

Thanks for the update and sorry for the slow response as I was OOO.

Glad you were able to resolve the issue.

On 07/06/18 02:21:48 man...@hashtaag.com wrote:

Issue solved as the problem with the wrong configuration with InMobi with Google AdMob  its mandatory to provide app id of InMobi with placement id 

On Wednesday, July 4, 2018 at 10:29:17 AM UTC+5:30, Manish wrote:
Hi Sam ,

I am using this dependency which is provided by google 'com.google.ads.mediation:InMobi:7.0.2.0' also adding another dependency which giving by mediation i.e by InMobi 'com.inmobi.monetization:inmobi-ads:7.1.1'and 'com.squareup.picasso:picasso:2.5.2'

these ad unit id ca-app-pub-2216670821690096/9791822240 for android here AdMob ads are coming but InMobi ad is not giving exception to me 

 W/Ads: Could not request ad from mediation adapter.
    android.os.RemoteException
        at com.google.android.gms.internal.ads.zzyk.zza(Unknown Source:179)
        at com.google.android.gms.internal.ads.zzxr.dispatchTransaction(Unknown Source:407)
        at com.google.android.gms.internal.ads.zzek.onTransact(Unknown Source:22)
        at android.os.Binder.transact(Binder.java:627)
        at nx.b(:com.google.android.gms.dynamite_dynamitemodulesa@126880...@12.6.88 (040400-197970725):20)
        at com.google.android.gms.ads.internal.mediation.client.g.a(:com.google.android.gms.dynamite_dynamitemodulesa@12688023@12.6.88 (040400-197970725):43)
        at nx.b(:com.google.android.gms.dynamite_dynamitemodulesa@126880...@12.6.88 (040400-197970725):20)
        at com.google.android.gms.ads.internal.mediation.client.g.a(:com.google.android.gms.dynamite_dynamitemodulesa@12688023@12.6.88 (040400-197970725):43)
        at com.google.android.gms.ads.internal.mediation.f.run(:com.google.android.gms.dynamite_dynamitemodulesa@12688023@12.6.88 (040400-197970725):71)
        at android.os.Handler.handleCallback(Handler.java:790)
        at android.os.Handler.dispatchMessage(Handler.java:99)
        at com.google.android.gms.ads.internal.util.f.dispatchMessage(:com.google.android.gms.dynamite_dynamitemodulesa@12688023@12.6.88 (040400-197970725):9)
        at android.os.Looper.loop(Looper.java:164)
        at android.app.ActivityThread.main(ActivityThread.java:6494)
        at java.lang.reflect.Method.invoke(Native Method)
        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807

On Monday, April 27, 2015 at 11:49:12 PM UTC+5:30, Andrew Brogdon (Mobile Ads SDK Team) wrote:
I'm having a little trouble understanding what you're asking, but I will do my best to help.

If you're looking for the best way to incorporate InMobi ads into your AdMob mediation settings, you can find their instructions here: 


For both InMobi and Facebook, you'll need to add your API Key, or other relevant account details, to the settings for your mediation stack on the AdMob web site. The only ID your actual application needs to have in its code is the ad unit ID for AdMob.

-Andrew



On Sunday, April 26, 2015 at 2:15:22 AM UTC-7, Agatino Moschitta wrote:
I have to send a request banner, and I must add in mediation InMobi and Facebook, I added both SDK and its adapter, which only makes me add the InMobi network with:
.addNetworkExtras (inMobiAdapter)
while FacebookAdapter not me it does add.
PS: I do not understand something else, the appkey of Admob and facebook in the app where should I put them? or do not serve in the app client because we think the panel to deliver ads?
thanks

--

---
You received this message because you are subscribed to the Google Groups "Google Mobile Ads SDK Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-admob-ads-sdk+unsubscrib...@googlegroups.com.

--

---
You received this message because you are subscribed to the Google Groups "Google Mobile Ads SDK Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-admob-ads-sdk+unsub...@googlegroups.com.
To post to this group, send email to google-admob-ads-sdk@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages