question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

No ads in production

See original GitHub issue

Hello. I installed the admobadapter. Its work great with test device ID

but in production ads not visible 😦

any Ideas?

  • I tried to change the banner id - no results
  • The catlog is empty (No admob/admobadapter mention)
  • I tried to remove my costume layout - no results
  • Interesting info - the firebase console shows some ad views

Constructor:

        //debug mode
        //String[] testDevicesIds = new String[]{"E7AC2F56BC1BF35EEC5C63E981C438A8", AdRequest.DEVICE_ID_EMULATOR};
        //adapterWrapper = new AdmobRecyclerAdapterWrapper(getContext(),testDevicesIds);

        //release mode
        adapterWrapper = new AdmobRecyclerAdapterWrapper(getContext(),getResources().getString(R.string.banner_ad_unit_id));

Code:

        adapterWrapper.setAdapter(mAdapter);
        adapterWrapper.setLimitOfAds(50);
        adapterWrapper.setNoOfDataBetweenAds(Integer.parseInt(getResources().getString(R.string.ad_rate)));
        adapterWrapper.setFirstAdIndex(Integer.parseInt(getResources().getString(R.string.ad_rate)));

        InstallAppAdLayoutContext installContext  = new InstallAppAdLayoutContext(R.layout.ad_app_install);
        adapterWrapper.setInstallAdsLayoutContext(installContext);
        ContentAdLayoutContext contentContext  = new ContentAdLayoutContext (R.layout.ad_content);
        adapterWrapper.setContentAdsLayoutContext(contentContext);

        mRecyclerView.setAdapter(adapterWrapper);

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:12 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
udayathreyacommented, Oct 16, 2016

Use expressadsadapter

On 16 Oct 2016 21:24, “ohadmata” notifications@github.com wrote:

Hello. I installed the admobadapter. Its work great with test device ID

but in production ads not visible 😦

any Ideas?

` //debug mode //String[] testDevicesIds = new String[]{“E7AC2F56BC1BF35EEC5C63E981C438A8”, AdRequest.DEVICE_ID_EMULATOR}; //adapterWrapper = new AdmobRecyclerAdapterWrapper( getContext(),testDevicesIds);

//release mode
adapterWrapper = new AdmobRecyclerAdapterWrapper(getContext(),getResources().getString(R.string.banner_ad_unit_id));

`

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/clockbyte/admobadapter/issues/36, or mute the thread https://github.com/notifications/unsubscribe-auth/AA3Z5RRsQTL0LAdBjkq6LBPheF1Q8sHIks5q0iWEgaJpZM4KX-F2 .

1reaction
ohadmatacommented, Oct 16, 2016

I will wait. thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Common reasons for ads not showing - Google AdMob Help
Use the following guide to understand common reasons why apps show few or no ads. If you're still having issues, use the Can't...
Read more >
5 Examples of Production-free Ads That Work - Filmsupply Blog
You don't need a massive production to tell a compelling story. We've picked out a few ads to prove just how powerful production-free...
Read more >
Test Ad working, but production not working - Google Groups
Hi,. I am facing a problem with AdMob in Unity. When I do testing everything looks ok with my ads, but when I...
Read more >
[Solved] Unity Ads stopped showing in production app
I just tried updating the unity ad package to 3.7.1 but that didn't help. When an ad is called, now it always returns...
Read more >
AdMob ads are not showing in production on Android
in the past i had a similar problem. I forgot to save a payment method to admob. After adding this, everything worked as...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found