Closed lab-nit-s closed 5 years ago
Hi there. I'll look into this and get back to you shortly.
I'm not understanding this sentence, ' Or is it ok to use the ApID instead of adUnitID for production app ??'
You are to use the _appId that was provided in Ads.init when in production. Yes. The code is correct.
I not certain of your statement, 'Should we not be using a different BannerAdUnitID instead of the _appId?'
Why would you use a different BannerAdUnitID instead of the _appId?
The App has an Admob id. The banner/interstitial/rewarded ads have their own unit ids.
What I am saying is the the Id provided in init is not a banner ad unit id.
What we want to pass in setBanner is the BannerAdUnit id. Not the Admob App id.
On Mon, 20 May 2019 at 9:16 PM, Andrious Solutions notifications@github.com wrote:
I'm not understanding this sentence, ' Or is it ok to use the ApID instead of adUnitID for production app ??'
Let's be certain what is the 'BannerAdUnitID' or 'adUnitID?' you're referring to.
You are to use the _appId that was provided in Ads.init when in production. Yes. The code is correct.
Are you maybe interpreting the 'AdMob documentation' a little differently than I. Is that why I'm not understanding your confusion?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/AndriousSolutions/ads/issues/4?email_source=notifications&email_token=AKP4RCSNQZOZXLIEMDES7D3PWLBWVA5CNFSM4HOAILGKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVZIDGQ#issuecomment-494043546, or mute the thread https://github.com/notifications/unsubscribe-auth/AKP4RCV3NXVWZAJOJGFQAODPWLBWVANCNFSM4HOAILGA .
I see the issue now. It will be addressed, today.
Hello, first of all, this is a great wrapper that you have written.
I have one confusion though. In the code below for
setBanner
you are doing this
if
testing is true
you are usingBannerAd.testAdUnitId
otherwise you are using the_appId
that was providences inAds.init
Should we not be using a different
BannerAdUnitID
instead of the_appId
?. Or is it ok to use the ApID instead of adUnitID for production app ??