ratson / cordova-plugin-admob-free

New development has been moved to "admob-plus-cordova", https://github.com/admob-plus/admob-plus/tree/master/packages/cordova
https://github.com/admob-plus/admob-plus
MIT License
499 stars 214 forks source link

Embed banner ads on specific view #408

Open mrpower55 opened 4 years ago

mrpower55 commented 4 years ago

Hello There

i want to ask if there is way to embed banner ads on view for example on ion-list on custom index of it or on the specific element on any view on app

it is working great on top and bottom of screen but i want it to be on specific position

so please if there is any way to do that help me

thanks

ionictemplate-app commented 4 years ago

Yes you can fix the position

Mahmoud Shurrab notifications@github.com 于2019年12月25日周三 下午9:10写道:

Hello There

i want to ask if there is way to embed banner ads on view for example on ion-list on custom index of it or on the specific element on any view on app

it is working great on top and bottom of screen but i want it to be on specific position

so please if there is any way to do that help me

thanks

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ratson/cordova-plugin-admob-free/issues/408?email_source=notifications&email_token=AM26WIRJW6JNBR6WLDBAN2LQ2NLURA5CNFSM4J7E3XHKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4ICTOHRQ, or unsubscribe https://github.com/notifications/unsubscribe-auth/AM26WITBWPSL66XKFP6MPZLQ2NLURANCNFSM4J7E3XHA .

mrpower55 commented 4 years ago

@ionictemplate-app how that?

please help :)

ionictemplate-app commented 4 years ago

https://github.com/ratson/cordova-plugin-admob-free

https://ratson.github.io/cordova-plugin-admob-free/variable/index.html#static-variable-banner

showBanner() { const bannerConfig: AdMobFreeBannerConfig = { isTesting: true, autoShow: true, id: 'ca-app-pub-4854223144629730/5970888468' }; this.admobFree.banner.config(bannerConfig); this.admobFree.banner.prepare() .then(() => { }) .catch(e => console.log(e)); }

export interface AdMobFreeBannerConfig { /**

Mahmoud Shurrab notifications@github.com 于2019年12月27日周五 下午5:04写道:

@ionictemplate-app https://github.com/ionictemplate-app how that?

please help :)

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ratson/cordova-plugin-admob-free/issues/408?email_source=notifications&email_token=AM26WIQXXT5HXUGT5G2N4JLQ2XAJNA5CNFSM4J7E3XHKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHW3JOQ#issuecomment-569226426, or unsubscribe https://github.com/notifications/unsubscribe-auth/AM26WIV2FHR36TVR3POCUKDQ2XAJNANCNFSM4J7E3XHA .

mrpower55 commented 4 years ago

hello there

thanks for your answer

actually i know that and i did it

my question is if i can take the banner and put it on specific div on my app not on bottom or top

thank you