Admob does not show test ads nor real ads












3















I've been struggling with Admob ads for almost a week now and I searched all over the internet to find a possible solution but nothing worked. My Android application does not show test ads nor live ads. This is the log:



I/Ads: Updating ad debug logging enablement.
I/Ads: Starting ad request.
SDK version: afma-sdk-a-v13280019.11910000.1
I/Ads: This request is sent from a test device.
W/Ads: Not retrying to fetch app settings
W/Ads: Update ad debug logging enablement as false
W/Ads: App does not have the required permissions to get location
I/Ads: Trying mediation network:
I/Ads: Instantiating mediation adapter: com.google.DummyAdapter
I/Ads: No fill from any mediation ad networks.
I/Ads: Scheduling ad refresh 60000 milliseconds from now.
W/Ads: Failed to load ad: 3


My test interstitial loads with no problem, the live one doesn't. The banner does not show, not the test one nor the live one.



This is my xml AdView:



<com.google.android.gms.ads.AdView
android:id="@+id/adView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerHorizontal="true"
android:layout_alignParentBottom="true"
ads:adSize="BANNER"
ads:adUnitId="ca-app-pub-3940256099942544/6300978111"> //test admob unit id
</com.google.android.gms.ads.AdView>


And I load the banner with:



     MobileAds.initialize(this, getString(R.string.app_id));
adView1 = findViewById(R.id.adView);
AdRequest adRequest1 = new AdRequest.Builder().addTestDevice("my_test_device_id").build();
adView1.loadAd(adRequest1);


The live interstitial is loaded in this way, and it works (the test one does not):



final InterstitialAd mInterstitialAd = new InterstitialAd(this);
mInterstitialAd.setAdUnitId("_live_ad_id");
mInterstitialAd.loadAd(new AdRequest.Builder().addTestDevice("my_test_device_id").build());
mInterstitialAd.setAdListener(new AdListener(){
@Override
public void onAdLoaded(){
mInterstitialAd.show();

}
});
if (mInterstitialAd.isLoaded()) {
} else {
Log.d("TAG", "The interstitial wasn't loaded yet.");
}


Things I've tried




  • compile gradle with implementation 'com.google.android.gms:play-services-ads:15.0.1'


  • compile gradle with firebase ads, following the guide in the firebase site and connecting firebase to my admob account


  • include the AdView inside a Relative and Linear Layout


  • change the ad size


  • change activity and layout



Nothing worked. From what I've understood my log say the ad request is successful but admob does not have ads to display at the moment. Maybe the live ads are not shown because my app is not live yet but why the test ads does not show? And why only the live interstitial ad work? I also thought my admob account could be disabled but the ads works on my other applications.










share|improve this question




















  • 1





    This happens with one of my ad spaces as well. No live ads and no test ads, no fill. I believe it's because we've requested the ad too many times from a certain device/ip/something combination. The ads fill fine for users.

    – Steve M
    Sep 14 '18 at 17:08











  • Thank you, this seems to be the problem. I've tried with two other devices and the banner loads correctly. However is very frustating because the ads doesn't show in the device I use for testing and I not always have available other physical devices to try the app.

    – rickyxd
    Sep 16 '18 at 19:51
















3















I've been struggling with Admob ads for almost a week now and I searched all over the internet to find a possible solution but nothing worked. My Android application does not show test ads nor live ads. This is the log:



I/Ads: Updating ad debug logging enablement.
I/Ads: Starting ad request.
SDK version: afma-sdk-a-v13280019.11910000.1
I/Ads: This request is sent from a test device.
W/Ads: Not retrying to fetch app settings
W/Ads: Update ad debug logging enablement as false
W/Ads: App does not have the required permissions to get location
I/Ads: Trying mediation network:
I/Ads: Instantiating mediation adapter: com.google.DummyAdapter
I/Ads: No fill from any mediation ad networks.
I/Ads: Scheduling ad refresh 60000 milliseconds from now.
W/Ads: Failed to load ad: 3


My test interstitial loads with no problem, the live one doesn't. The banner does not show, not the test one nor the live one.



This is my xml AdView:



<com.google.android.gms.ads.AdView
android:id="@+id/adView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerHorizontal="true"
android:layout_alignParentBottom="true"
ads:adSize="BANNER"
ads:adUnitId="ca-app-pub-3940256099942544/6300978111"> //test admob unit id
</com.google.android.gms.ads.AdView>


And I load the banner with:



     MobileAds.initialize(this, getString(R.string.app_id));
adView1 = findViewById(R.id.adView);
AdRequest adRequest1 = new AdRequest.Builder().addTestDevice("my_test_device_id").build();
adView1.loadAd(adRequest1);


The live interstitial is loaded in this way, and it works (the test one does not):



final InterstitialAd mInterstitialAd = new InterstitialAd(this);
mInterstitialAd.setAdUnitId("_live_ad_id");
mInterstitialAd.loadAd(new AdRequest.Builder().addTestDevice("my_test_device_id").build());
mInterstitialAd.setAdListener(new AdListener(){
@Override
public void onAdLoaded(){
mInterstitialAd.show();

}
});
if (mInterstitialAd.isLoaded()) {
} else {
Log.d("TAG", "The interstitial wasn't loaded yet.");
}


Things I've tried




  • compile gradle with implementation 'com.google.android.gms:play-services-ads:15.0.1'


  • compile gradle with firebase ads, following the guide in the firebase site and connecting firebase to my admob account


  • include the AdView inside a Relative and Linear Layout


  • change the ad size


  • change activity and layout



Nothing worked. From what I've understood my log say the ad request is successful but admob does not have ads to display at the moment. Maybe the live ads are not shown because my app is not live yet but why the test ads does not show? And why only the live interstitial ad work? I also thought my admob account could be disabled but the ads works on my other applications.










share|improve this question




















  • 1





    This happens with one of my ad spaces as well. No live ads and no test ads, no fill. I believe it's because we've requested the ad too many times from a certain device/ip/something combination. The ads fill fine for users.

    – Steve M
    Sep 14 '18 at 17:08











  • Thank you, this seems to be the problem. I've tried with two other devices and the banner loads correctly. However is very frustating because the ads doesn't show in the device I use for testing and I not always have available other physical devices to try the app.

    – rickyxd
    Sep 16 '18 at 19:51














3












3








3








I've been struggling with Admob ads for almost a week now and I searched all over the internet to find a possible solution but nothing worked. My Android application does not show test ads nor live ads. This is the log:



I/Ads: Updating ad debug logging enablement.
I/Ads: Starting ad request.
SDK version: afma-sdk-a-v13280019.11910000.1
I/Ads: This request is sent from a test device.
W/Ads: Not retrying to fetch app settings
W/Ads: Update ad debug logging enablement as false
W/Ads: App does not have the required permissions to get location
I/Ads: Trying mediation network:
I/Ads: Instantiating mediation adapter: com.google.DummyAdapter
I/Ads: No fill from any mediation ad networks.
I/Ads: Scheduling ad refresh 60000 milliseconds from now.
W/Ads: Failed to load ad: 3


My test interstitial loads with no problem, the live one doesn't. The banner does not show, not the test one nor the live one.



This is my xml AdView:



<com.google.android.gms.ads.AdView
android:id="@+id/adView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerHorizontal="true"
android:layout_alignParentBottom="true"
ads:adSize="BANNER"
ads:adUnitId="ca-app-pub-3940256099942544/6300978111"> //test admob unit id
</com.google.android.gms.ads.AdView>


And I load the banner with:



     MobileAds.initialize(this, getString(R.string.app_id));
adView1 = findViewById(R.id.adView);
AdRequest adRequest1 = new AdRequest.Builder().addTestDevice("my_test_device_id").build();
adView1.loadAd(adRequest1);


The live interstitial is loaded in this way, and it works (the test one does not):



final InterstitialAd mInterstitialAd = new InterstitialAd(this);
mInterstitialAd.setAdUnitId("_live_ad_id");
mInterstitialAd.loadAd(new AdRequest.Builder().addTestDevice("my_test_device_id").build());
mInterstitialAd.setAdListener(new AdListener(){
@Override
public void onAdLoaded(){
mInterstitialAd.show();

}
});
if (mInterstitialAd.isLoaded()) {
} else {
Log.d("TAG", "The interstitial wasn't loaded yet.");
}


Things I've tried




  • compile gradle with implementation 'com.google.android.gms:play-services-ads:15.0.1'


  • compile gradle with firebase ads, following the guide in the firebase site and connecting firebase to my admob account


  • include the AdView inside a Relative and Linear Layout


  • change the ad size


  • change activity and layout



Nothing worked. From what I've understood my log say the ad request is successful but admob does not have ads to display at the moment. Maybe the live ads are not shown because my app is not live yet but why the test ads does not show? And why only the live interstitial ad work? I also thought my admob account could be disabled but the ads works on my other applications.










share|improve this question
















I've been struggling with Admob ads for almost a week now and I searched all over the internet to find a possible solution but nothing worked. My Android application does not show test ads nor live ads. This is the log:



I/Ads: Updating ad debug logging enablement.
I/Ads: Starting ad request.
SDK version: afma-sdk-a-v13280019.11910000.1
I/Ads: This request is sent from a test device.
W/Ads: Not retrying to fetch app settings
W/Ads: Update ad debug logging enablement as false
W/Ads: App does not have the required permissions to get location
I/Ads: Trying mediation network:
I/Ads: Instantiating mediation adapter: com.google.DummyAdapter
I/Ads: No fill from any mediation ad networks.
I/Ads: Scheduling ad refresh 60000 milliseconds from now.
W/Ads: Failed to load ad: 3


My test interstitial loads with no problem, the live one doesn't. The banner does not show, not the test one nor the live one.



This is my xml AdView:



<com.google.android.gms.ads.AdView
android:id="@+id/adView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerHorizontal="true"
android:layout_alignParentBottom="true"
ads:adSize="BANNER"
ads:adUnitId="ca-app-pub-3940256099942544/6300978111"> //test admob unit id
</com.google.android.gms.ads.AdView>


And I load the banner with:



     MobileAds.initialize(this, getString(R.string.app_id));
adView1 = findViewById(R.id.adView);
AdRequest adRequest1 = new AdRequest.Builder().addTestDevice("my_test_device_id").build();
adView1.loadAd(adRequest1);


The live interstitial is loaded in this way, and it works (the test one does not):



final InterstitialAd mInterstitialAd = new InterstitialAd(this);
mInterstitialAd.setAdUnitId("_live_ad_id");
mInterstitialAd.loadAd(new AdRequest.Builder().addTestDevice("my_test_device_id").build());
mInterstitialAd.setAdListener(new AdListener(){
@Override
public void onAdLoaded(){
mInterstitialAd.show();

}
});
if (mInterstitialAd.isLoaded()) {
} else {
Log.d("TAG", "The interstitial wasn't loaded yet.");
}


Things I've tried




  • compile gradle with implementation 'com.google.android.gms:play-services-ads:15.0.1'


  • compile gradle with firebase ads, following the guide in the firebase site and connecting firebase to my admob account


  • include the AdView inside a Relative and Linear Layout


  • change the ad size


  • change activity and layout



Nothing worked. From what I've understood my log say the ad request is successful but admob does not have ads to display at the moment. Maybe the live ads are not shown because my app is not live yet but why the test ads does not show? And why only the live interstitial ad work? I also thought my admob account could be disabled but the ads works on my other applications.







java android firebase android-studio admob






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Sep 16 '18 at 19:53







rickyxd

















asked Sep 14 '18 at 16:58









rickyxdrickyxd

92211




92211








  • 1





    This happens with one of my ad spaces as well. No live ads and no test ads, no fill. I believe it's because we've requested the ad too many times from a certain device/ip/something combination. The ads fill fine for users.

    – Steve M
    Sep 14 '18 at 17:08











  • Thank you, this seems to be the problem. I've tried with two other devices and the banner loads correctly. However is very frustating because the ads doesn't show in the device I use for testing and I not always have available other physical devices to try the app.

    – rickyxd
    Sep 16 '18 at 19:51














  • 1





    This happens with one of my ad spaces as well. No live ads and no test ads, no fill. I believe it's because we've requested the ad too many times from a certain device/ip/something combination. The ads fill fine for users.

    – Steve M
    Sep 14 '18 at 17:08











  • Thank you, this seems to be the problem. I've tried with two other devices and the banner loads correctly. However is very frustating because the ads doesn't show in the device I use for testing and I not always have available other physical devices to try the app.

    – rickyxd
    Sep 16 '18 at 19:51








1




1





This happens with one of my ad spaces as well. No live ads and no test ads, no fill. I believe it's because we've requested the ad too many times from a certain device/ip/something combination. The ads fill fine for users.

– Steve M
Sep 14 '18 at 17:08





This happens with one of my ad spaces as well. No live ads and no test ads, no fill. I believe it's because we've requested the ad too many times from a certain device/ip/something combination. The ads fill fine for users.

– Steve M
Sep 14 '18 at 17:08













Thank you, this seems to be the problem. I've tried with two other devices and the banner loads correctly. However is very frustating because the ads doesn't show in the device I use for testing and I not always have available other physical devices to try the app.

– rickyxd
Sep 16 '18 at 19:51





Thank you, this seems to be the problem. I've tried with two other devices and the banner loads correctly. However is very frustating because the ads doesn't show in the device I use for testing and I not always have available other physical devices to try the app.

– rickyxd
Sep 16 '18 at 19:51












1 Answer
1






active

oldest

votes


















1














change your ads:adUnitId="ca-app-pub-3940256099942544/6300978111" to ads:adUnitId="your_banner_id"



Note: ca-app-pub-3940256099942544/6300978111 its for testing !



try this code for banner



 MobileAds.initialize(this, getString(R.string.app_id));
adView1 = findViewById(R.id.adView);
AdRequest adRequest1 = new AdRequest.Builder().addTestDevice("my_test_device_id").build();
adView1.loadAd(adRequest1);


For InterstitialAd



MobileAds.initialize(LoginActivity.this, getResources().getString(R.string.app_id));

mInterstitialAd = new InterstitialAd(this);

mInterstitialAd.setAdUnitId(getResources().getString(R.string.full_screen_ads_id));
mInterstitialAd.loadAd(new AdRequest.Builder()
.build());
mInterstitialAd.setAdListener(new com.google.android.gms.ads.AdListener() {
@Override
public void onAdLoaded() {
mInterstitialAd.show();
super.onAdLoaded();

}
});





share|improve this answer


























  • Hi,thank you but the problem is still here. The interstitial works correctly but there is no way to make the banner work. However why the test ads cannot be shown?

    – rickyxd
    Sep 16 '18 at 16:31











  • @rickyxd can you update your code?

    – kdblue
    Sep 16 '18 at 16:57











  • I'm having the same problem. Please post if you manage to resolve this

    – grebulon
    Sep 17 '18 at 10:27











  • @rickyxd do you replace this with your ads id ?ads:adUnitId="ca-app-pub-3940256099942544/6300978111"

    – kdblue
    Sep 17 '18 at 14:29











  • @kdblue Yes, now I'm using my live ads unit IDs created in the admob site. However there is no way to show the banners (test and live) and the test interstitial in my phone (OnePlus 5) but I managed to try the app in another device and both the test and live ads works correctly. At the moment I can't understand why this happen and it's very frustrating because I don't always have other physical devices, if not my OnePlus 5.

    – rickyxd
    Sep 17 '18 at 15:21














Your Answer






StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f52336373%2fadmob-does-not-show-test-ads-nor-real-ads%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









1














change your ads:adUnitId="ca-app-pub-3940256099942544/6300978111" to ads:adUnitId="your_banner_id"



Note: ca-app-pub-3940256099942544/6300978111 its for testing !



try this code for banner



 MobileAds.initialize(this, getString(R.string.app_id));
adView1 = findViewById(R.id.adView);
AdRequest adRequest1 = new AdRequest.Builder().addTestDevice("my_test_device_id").build();
adView1.loadAd(adRequest1);


For InterstitialAd



MobileAds.initialize(LoginActivity.this, getResources().getString(R.string.app_id));

mInterstitialAd = new InterstitialAd(this);

mInterstitialAd.setAdUnitId(getResources().getString(R.string.full_screen_ads_id));
mInterstitialAd.loadAd(new AdRequest.Builder()
.build());
mInterstitialAd.setAdListener(new com.google.android.gms.ads.AdListener() {
@Override
public void onAdLoaded() {
mInterstitialAd.show();
super.onAdLoaded();

}
});





share|improve this answer


























  • Hi,thank you but the problem is still here. The interstitial works correctly but there is no way to make the banner work. However why the test ads cannot be shown?

    – rickyxd
    Sep 16 '18 at 16:31











  • @rickyxd can you update your code?

    – kdblue
    Sep 16 '18 at 16:57











  • I'm having the same problem. Please post if you manage to resolve this

    – grebulon
    Sep 17 '18 at 10:27











  • @rickyxd do you replace this with your ads id ?ads:adUnitId="ca-app-pub-3940256099942544/6300978111"

    – kdblue
    Sep 17 '18 at 14:29











  • @kdblue Yes, now I'm using my live ads unit IDs created in the admob site. However there is no way to show the banners (test and live) and the test interstitial in my phone (OnePlus 5) but I managed to try the app in another device and both the test and live ads works correctly. At the moment I can't understand why this happen and it's very frustrating because I don't always have other physical devices, if not my OnePlus 5.

    – rickyxd
    Sep 17 '18 at 15:21


















1














change your ads:adUnitId="ca-app-pub-3940256099942544/6300978111" to ads:adUnitId="your_banner_id"



Note: ca-app-pub-3940256099942544/6300978111 its for testing !



try this code for banner



 MobileAds.initialize(this, getString(R.string.app_id));
adView1 = findViewById(R.id.adView);
AdRequest adRequest1 = new AdRequest.Builder().addTestDevice("my_test_device_id").build();
adView1.loadAd(adRequest1);


For InterstitialAd



MobileAds.initialize(LoginActivity.this, getResources().getString(R.string.app_id));

mInterstitialAd = new InterstitialAd(this);

mInterstitialAd.setAdUnitId(getResources().getString(R.string.full_screen_ads_id));
mInterstitialAd.loadAd(new AdRequest.Builder()
.build());
mInterstitialAd.setAdListener(new com.google.android.gms.ads.AdListener() {
@Override
public void onAdLoaded() {
mInterstitialAd.show();
super.onAdLoaded();

}
});





share|improve this answer


























  • Hi,thank you but the problem is still here. The interstitial works correctly but there is no way to make the banner work. However why the test ads cannot be shown?

    – rickyxd
    Sep 16 '18 at 16:31











  • @rickyxd can you update your code?

    – kdblue
    Sep 16 '18 at 16:57











  • I'm having the same problem. Please post if you manage to resolve this

    – grebulon
    Sep 17 '18 at 10:27











  • @rickyxd do you replace this with your ads id ?ads:adUnitId="ca-app-pub-3940256099942544/6300978111"

    – kdblue
    Sep 17 '18 at 14:29











  • @kdblue Yes, now I'm using my live ads unit IDs created in the admob site. However there is no way to show the banners (test and live) and the test interstitial in my phone (OnePlus 5) but I managed to try the app in another device and both the test and live ads works correctly. At the moment I can't understand why this happen and it's very frustrating because I don't always have other physical devices, if not my OnePlus 5.

    – rickyxd
    Sep 17 '18 at 15:21
















1












1








1







change your ads:adUnitId="ca-app-pub-3940256099942544/6300978111" to ads:adUnitId="your_banner_id"



Note: ca-app-pub-3940256099942544/6300978111 its for testing !



try this code for banner



 MobileAds.initialize(this, getString(R.string.app_id));
adView1 = findViewById(R.id.adView);
AdRequest adRequest1 = new AdRequest.Builder().addTestDevice("my_test_device_id").build();
adView1.loadAd(adRequest1);


For InterstitialAd



MobileAds.initialize(LoginActivity.this, getResources().getString(R.string.app_id));

mInterstitialAd = new InterstitialAd(this);

mInterstitialAd.setAdUnitId(getResources().getString(R.string.full_screen_ads_id));
mInterstitialAd.loadAd(new AdRequest.Builder()
.build());
mInterstitialAd.setAdListener(new com.google.android.gms.ads.AdListener() {
@Override
public void onAdLoaded() {
mInterstitialAd.show();
super.onAdLoaded();

}
});





share|improve this answer















change your ads:adUnitId="ca-app-pub-3940256099942544/6300978111" to ads:adUnitId="your_banner_id"



Note: ca-app-pub-3940256099942544/6300978111 its for testing !



try this code for banner



 MobileAds.initialize(this, getString(R.string.app_id));
adView1 = findViewById(R.id.adView);
AdRequest adRequest1 = new AdRequest.Builder().addTestDevice("my_test_device_id").build();
adView1.loadAd(adRequest1);


For InterstitialAd



MobileAds.initialize(LoginActivity.this, getResources().getString(R.string.app_id));

mInterstitialAd = new InterstitialAd(this);

mInterstitialAd.setAdUnitId(getResources().getString(R.string.full_screen_ads_id));
mInterstitialAd.loadAd(new AdRequest.Builder()
.build());
mInterstitialAd.setAdListener(new com.google.android.gms.ads.AdListener() {
@Override
public void onAdLoaded() {
mInterstitialAd.show();
super.onAdLoaded();

}
});






share|improve this answer














share|improve this answer



share|improve this answer








edited Sep 14 '18 at 17:19

























answered Sep 14 '18 at 17:11









kdbluekdblue

1,31711024




1,31711024













  • Hi,thank you but the problem is still here. The interstitial works correctly but there is no way to make the banner work. However why the test ads cannot be shown?

    – rickyxd
    Sep 16 '18 at 16:31











  • @rickyxd can you update your code?

    – kdblue
    Sep 16 '18 at 16:57











  • I'm having the same problem. Please post if you manage to resolve this

    – grebulon
    Sep 17 '18 at 10:27











  • @rickyxd do you replace this with your ads id ?ads:adUnitId="ca-app-pub-3940256099942544/6300978111"

    – kdblue
    Sep 17 '18 at 14:29











  • @kdblue Yes, now I'm using my live ads unit IDs created in the admob site. However there is no way to show the banners (test and live) and the test interstitial in my phone (OnePlus 5) but I managed to try the app in another device and both the test and live ads works correctly. At the moment I can't understand why this happen and it's very frustrating because I don't always have other physical devices, if not my OnePlus 5.

    – rickyxd
    Sep 17 '18 at 15:21





















  • Hi,thank you but the problem is still here. The interstitial works correctly but there is no way to make the banner work. However why the test ads cannot be shown?

    – rickyxd
    Sep 16 '18 at 16:31











  • @rickyxd can you update your code?

    – kdblue
    Sep 16 '18 at 16:57











  • I'm having the same problem. Please post if you manage to resolve this

    – grebulon
    Sep 17 '18 at 10:27











  • @rickyxd do you replace this with your ads id ?ads:adUnitId="ca-app-pub-3940256099942544/6300978111"

    – kdblue
    Sep 17 '18 at 14:29











  • @kdblue Yes, now I'm using my live ads unit IDs created in the admob site. However there is no way to show the banners (test and live) and the test interstitial in my phone (OnePlus 5) but I managed to try the app in another device and both the test and live ads works correctly. At the moment I can't understand why this happen and it's very frustrating because I don't always have other physical devices, if not my OnePlus 5.

    – rickyxd
    Sep 17 '18 at 15:21



















Hi,thank you but the problem is still here. The interstitial works correctly but there is no way to make the banner work. However why the test ads cannot be shown?

– rickyxd
Sep 16 '18 at 16:31





Hi,thank you but the problem is still here. The interstitial works correctly but there is no way to make the banner work. However why the test ads cannot be shown?

– rickyxd
Sep 16 '18 at 16:31













@rickyxd can you update your code?

– kdblue
Sep 16 '18 at 16:57





@rickyxd can you update your code?

– kdblue
Sep 16 '18 at 16:57













I'm having the same problem. Please post if you manage to resolve this

– grebulon
Sep 17 '18 at 10:27





I'm having the same problem. Please post if you manage to resolve this

– grebulon
Sep 17 '18 at 10:27













@rickyxd do you replace this with your ads id ?ads:adUnitId="ca-app-pub-3940256099942544/6300978111"

– kdblue
Sep 17 '18 at 14:29





@rickyxd do you replace this with your ads id ?ads:adUnitId="ca-app-pub-3940256099942544/6300978111"

– kdblue
Sep 17 '18 at 14:29













@kdblue Yes, now I'm using my live ads unit IDs created in the admob site. However there is no way to show the banners (test and live) and the test interstitial in my phone (OnePlus 5) but I managed to try the app in another device and both the test and live ads works correctly. At the moment I can't understand why this happen and it's very frustrating because I don't always have other physical devices, if not my OnePlus 5.

– rickyxd
Sep 17 '18 at 15:21







@kdblue Yes, now I'm using my live ads unit IDs created in the admob site. However there is no way to show the banners (test and live) and the test interstitial in my phone (OnePlus 5) but I managed to try the app in another device and both the test and live ads works correctly. At the moment I can't understand why this happen and it's very frustrating because I don't always have other physical devices, if not my OnePlus 5.

– rickyxd
Sep 17 '18 at 15:21






















draft saved

draft discarded




















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f52336373%2fadmob-does-not-show-test-ads-nor-real-ads%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

How to change which sound is reproduced for terminal bell?

Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents

Can I use Tabulator js library in my java Spring + Thymeleaf project?