Admob banner not showing in real devices.

2,481 views
Skip to first unread message

myads...@gmail.com

unread,
May 21, 2017, 5:40:59 PM5/21/17
to Google Mobile Ads SDK Developers
Hell all,

I have an app in google play which is going well. But recently i have been informed that my banner is not actually showing in any devices.
it was working in my Android Studio virtual device.

I dont know what is the real problem behind this. 
Anyone has the kind of problems in the past?

Joshua Lagonera (Mobile Ads SDK Team)

unread,
May 21, 2017, 11:03:18 PM5/21/17
to Google Mobile Ads SDK Developers
Hi there,

Do note that using the Android Emulator only serves test ads. You have to use a physical Android device in order to test live ads.

However, can you provide us the following information for us to help you further?
  • The affected Ad Unit IDs
  • All warning/error logs displayed when ads fail to load, preferably by utilizing Ad Events.
  • A sample code snippet/project on how you are requesting and showing your ads.
  • If possible, logs from Charles' Proxy with SSL Proxying enabled.
  • Verify if you can replicate the issue when using our sample apps.
Regards,
Joshua Lagonera
Mobile Ads SDK Team

myads mail

unread,
May 22, 2017, 3:18:14 AM5/22/17
to google-adm...@googlegroups.com
hello again. Thanks for reply.

AdView mAdView = (AdView) findViewById(R.id.adView);
    AdRequest request = new AdRequest.Builder().build();
    mAdView.loadAd(request);

and Layout:

<RelativeLayout
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:background="@color/gray_background">
    <com.flaviofaria.kenburnsview.KenBurnsView
        android:layout_width="match_parent"
        android:layout_height="match_parent"/>
    <LinearLayout
        android:layout_marginTop="?attr/actionBarSize"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        tools:context="misc.songbox.Search"
        android:orientation="vertical">

        <com.google.android.gms.ads.AdView

            android:id="@+id/adView"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            ads:adSize="SMART_BANNER"
            ads:adUnitId="@string/bannerAd">

        </com.google.android.gms.ads.AdView>

        <ListView
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:id="@+id/listView"
            android:dividerHeight="0dp"
            />

    </LinearLayout>
</RelativeLayout>



--

---
You received this message because you are subscribed to a topic in the Google Groups "Google Mobile Ads SDK Developers" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-admob-ads-sdk/m1glr4JnWZw/unsubscribe.
To unsubscribe from this group and all its topics, 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.
For more options, visit https://groups.google.com/d/optout.

myads mail

unread,
May 22, 2017, 3:18:58 AM5/22/17
to google-adm...@googlegroups.com
banner id : ca-app-pub-5628122895651391/5191159665


To unsubscribe from this group and all its topics, send an email to google-admob-ads-sdk+unsubscrib...@googlegroups.com.

Joshua Lagonera (Mobile Ads SDK Team)

unread,
May 22, 2017, 4:54:03 AM5/22/17
to Google Mobile Ads SDK Developers
Hi there,

Thank you for providing your Ad Unit ID and your code snippets. I tried using your Ad Unit ID on our sample apps and I was able to receive ads on my end. That said, are you able to provide us the following information for us to investigate the issue further?
  • All warning/error logs displayed when ads fail to load, preferably by utilizing Ad Events.
  • A sample code snippet/project on how you are requesting and showing your ads.
  • If possible, logs from Charles' Proxy with SSL Proxying enabled.
Additionally, were you able to verify if you can replicate the issue when using our sample apps?

Regards,
Joshua Lagonera
Mobile Ads SDK Team

banner id : ca-app-pub-5628122895651391/5191159665


To unsubscribe from this group and all its topics, send an email to google-admob-ads-sdk+unsub...@googlegroups.com.

myads mail

unread,
May 22, 2017, 5:02:50 AM5/22/17
to google-adm...@googlegroups.com
There is no any warning when i run it with my Android Studio virtual device. The code is already shared with you in my previous mail.

Regards.

banner id : ca-app-pub-5628122895651391/5191159665


To unsubscribe from this group and all its topics, send an email to google-admob-ads-sdk+unsubscrib...@googlegroups.com.

To post to this group, send email to google-admob-ads-sdk@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Joshua Lagonera (Mobile Ads SDK Team)

unread,
May 22, 2017, 6:04:19 AM5/22/17
to Google Mobile Ads SDK Developers
Hi there,

As previously stated, testing using an Android Emulator and/or Virtual Device only shows Test Ads. You need to test your Ad Unit ID and your app on a physical Android device in order to check if live ads are showing.

That said, kindly provide us the aforementioned information for us to assist you further. Without the following information, we are not able to investigate the root cause of the issue:
    • All warning/error logs displayed when ads fail to load, preferably by utilizing Ad Events.
    Additionally, were you able to verify if you can replicate the issue when using our sample apps?

    Regards,
    Joshua Lagonera
    Mobile Ads SDK Team 

    On Monday, May 22, 2017 at 5:02:50 PM UTC+8, myads mail wrote:
    There is no any warning when i run it with my Android Studio virtual device. The code is already shared with you in my previous mail.

    Regards.
    banner id : ca-app-pub-5628122895651391/5191159665


    To unsubscribe from this group and all its topics, 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.
    For more options, visit https://groups.google.com/d/optout.

    myads mail

    unread,
    May 22, 2017, 6:26:58 AM5/22/17
    to google-adm...@googlegroups.com
    The ads shows in my physical Android device which i used during my app development . But it doesnt work in other devices. 


    banner id : ca-app-pub-5628122895651391/5191159665


    To unsubscribe from this group and all its topics, send an email to google-admob-ads-sdk+unsubscrib...@googlegroups.com.

    To post to this group, send email to google-admob-ads-sdk@googlegroups.com.
    For more options, visit https://groups.google.com/d/optout.

    --

    ---
    You received this message because you are subscribed to a topic in the Google Groups "Google Mobile Ads SDK Developers" group.
    To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-admob-ads-sdk/m1glr4JnWZw/unsubscribe.
    To unsubscribe from this group and all its topics, send an email to google-admob-ads-sdk+unsubscrib...@googlegroups.com.

    To post to this group, send email to google-admob-ads-sdk@googlegroups.com.
    For more options, visit https://groups.google.com/d/optout.

    Joshua Lagonera (Mobile Ads SDK Team)

    unread,
    May 22, 2017, 7:05:24 AM5/22/17
    to Google Mobile Ads SDK Developers
    Hi there,

    This may indicate that there is nothing wrong on your end. There are a lot of factors at play that may affect the display of ads for other devices such as, but are not limited to, device specific issues, network issues, available Ad Inventory, Ad Blockers, etc.

    If you were able to display live ads in your own device using your own Ad Unit ID, then it's safe to assume that everything is working as expected.

    Regards,
    Joshua Lagonera
    Mobile Ads SDK Team

    On Monday, May 22, 2017 at 6:26:58 PM UTC+8, myads mail wrote:
    The ads shows in my physical Android device which i used during my app development . But it doesnt work in other devices. 

    banner id : ca-app-pub-5628122895651391/5191159665


    To unsubscribe from this group and all its topics, 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.
    For more options, visit https://groups.google.com/d/optout.

    --

    ---
    You received this message because you are subscribed to a topic in the Google Groups "Google Mobile Ads SDK Developers" group.
    To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-admob-ads-sdk/m1glr4JnWZw/unsubscribe.
    To unsubscribe from this group and all its topics, 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.
    For more options, visit https://groups.google.com/d/optout.

    myads mail

    unread,
    May 22, 2017, 7:58:31 AM5/22/17
    to google-adm...@googlegroups.com
    Hello again,

    I have downloaded my app in some other devices but my banner not showing.
    admob interstitial is working well but my banner is not showing.

    Can you please check my code that i sent to you. 

    regards.

    banner id : ca-app-pub-5628122895651391/5191159665


    To unsubscribe from this group and all its topics, send an email to google-admob-ads-sdk+unsubscrib...@googlegroups.com.

    To post to this group, send email to google-admob-ads-sdk@googlegroups.com.
    For more options, visit https://groups.google.com/d/optout.

    --

    ---
    You received this message because you are subscribed to a topic in the Google Groups "Google Mobile Ads SDK Developers" group.
    To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-admob-ads-sdk/m1glr4JnWZw/unsubscribe.
    To unsubscribe from this group and all its topics, send an email to google-admob-ads-sdk+unsubscrib...@googlegroups.com.

    To post to this group, send email to google-admob-ads-sdk@googlegroups.com.
    For more options, visit https://groups.google.com/d/optout.

    --

    ---
    You received this message because you are subscribed to a topic in the Google Groups "Google Mobile Ads SDK Developers" group.
    To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-admob-ads-sdk/m1glr4JnWZw/unsubscribe.
    To unsubscribe from this group and all its topics, send an email to google-admob-ads-sdk+unsubscrib...@googlegroups.com.

    To post to this group, send email to google-admob-ads-sdk@googlegroups.com.
    For more options, visit https://groups.google.com/d/optout.

    myads mail

    unread,
    May 22, 2017, 10:35:39 AM5/22/17
    to google-adm...@googlegroups.com
    Hello,
    Do you have a chance to control my code?


    On 22 May 2017 at 14:58, myads mail <myads...@gmail.com> wrote:
    Hello again,

    I have downloaded my app in some other devices but my banner not showing.
    admob interstitial is working well but my banner is not showing.

    Can you please check my code that i sent to you. 

    regards.

    Joshua Lagonera (Mobile Ads SDK Team)

    unread,
    May 22, 2017, 11:05:47 PM5/22/17
    to Google Mobile Ads SDK Developers
    Hi there,

    Thank you for your patience.
    Looking again at the code snippet you provided, there doesn't seem to be any problem with your code snippet. I have tried using the code snippets you provided on our sample apps and I was not able to replicate the issue on multiple devices.

    As previously stated, there are a lot of factors at play which may affect the serving of ads across multiple devices. If you can provide us more information about the devices such as OS version and Device Model, as well as the information listed below, then we can investigate the root cause of the issue:

    All warning/error logs displayed when via Ad Events when ads fail to load   
    If possible, logs from Charles' Proxy with SSL Proxying enabled. 
     
    Additionally, this might be a serving issue on your end. If you are not able to provide us the above information, then you can try using our Troubleshooter, or contact our Product Support Team for additional assistance.

    Regards,
    Joshua Lagonera
    Mobile Ads SDK Team 

    banner id : ca-app-pub-5628122895651391/5191159665


    To unsubscribe from this group and all its topics, 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.
    For more options, visit https://groups.google.com/d/optout.

    --

    ---
    You received this message because you are subscribed to a topic in the Google Groups "Google Mobile Ads SDK Developers" group.
    To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-admob-ads-sdk/m1glr4JnWZw/unsubscribe.
    To unsubscribe from this group and all its topics, 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.
    For more options, visit https://groups.google.com/d/optout.

    --

    ---
    You received this message because you are subscribed to a topic in the Google Groups "Google Mobile Ads SDK Developers" group.
    To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-admob-ads-sdk/m1glr4JnWZw/unsubscribe.
    To unsubscribe from this group and all its topics, 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.
    For more options, visit https://groups.google.com/d/optout.

    --

    ---
    You received this message because you are subscribed to a topic in the Google Groups "Google Mobile Ads SDK Developers" group.
    To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-admob-ads-sdk/m1glr4JnWZw/unsubscribe.
    To unsubscribe from this group and all its topics, send an email to google-admob-ads-sdk+unsub...@googlegroups.com.
    Reply all
    Reply to author
    Forward
    0 new messages