Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ads shows on debug mode but not on client devices #16

Closed
Licht109 opened this issue Feb 6, 2019 · 9 comments
Closed

Ads shows on debug mode but not on client devices #16

Licht109 opened this issue Feb 6, 2019 · 9 comments
Labels
more info required An issue was created with enough information to debug.

Comments

@Licht109
Copy link

Licht109 commented Feb 6, 2019

Hey, I have used this library in order to present banner ads.
In the debug mode it shows me local ads..
I published my app, but when users download it all it show is white blank banner..
my app id and banner id are correct because on debug it does show me local real ad but under test ad (i have replaced the ids and made sure they are all right)
any solution?

@rostopira
Copy link

I had similar issue, found out, that you are required to set that app contains adds in Google Play Console

@kmcgill88 kmcgill88 added the more info required An issue was created with enough information to debug. label May 30, 2019
@kmcgill88
Copy link
Owner

@ron109 what's the status of this? Get this worked out?

@nbfajanilan
Copy link

Encountering the same issue. Worked perfectly during testing but doesn't show ads after publishing the app. Is there any status update?

@kmcgill88
Copy link
Owner

@nbfajanilan have you completely setup your admob account? Liked a bank account? Filled out all the tax forms? I believe this can cause test ads to work but real ads will not show up in production unless these are completed.

@nbfajanilan
Copy link

@kmcgill88 yes, I already completed setting up my admob account. I have other app which uses firebase_admob and it is working properly. It proves my account is not a factor here. During testing, I used my admob appId and bannerId.

For my new app, admob_flutter is more suitable to the layout I need hence I preferred using it.

@nbfajanilan
Copy link

Just an update. The ads now appears in some instances after few days.

Not consistently in fact very rarely but I guess it is now up to admob's algorithm when the ads will be loaded.

@rahulshukla-rs
Copy link

I got the solution,
Steps are as follows:

  1. Add plugin to pubspec.yaml
    firebase_admob: ^0.9.0+3
  2. In main() function
    Remove: Admob.initialize('YOUR_ADMOB_ID');
    Add: FirebaseAdMob.instance.initialize(appId: YOUR_ADMOB_ID);

Other things remain unchanged, It will work.
:)

@edeuss
Copy link
Collaborator

edeuss commented Dec 19, 2019

I got the solution,
Steps are as follows:

  1. Add plugin to pubspec.yaml
    firebase_admob: ^0.9.0+3
  2. In main() function
    Remove: Admob.initialize('YOUR_ADMOB_ID');
    Add: FirebaseAdMob.instance.initialize(appId: YOUR_ADMOB_ID);

Other things remain unchanged, It will work.
:)

@ron109 @nbfajanilan Where you able to fix it with this solution? Thank you @rahulshukla-rs for the quick fix.

@kmcgill88
Copy link
Owner

stale, closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
more info required An issue was created with enough information to debug.
Projects
None yet
Development

No branches or pull requests

6 participants