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

Set Admob AppId #144

Closed wo-github closed 6 years ago

wo-github commented 6 years ago

Hello, how could I set the AppId with this plugin? https://developers.google.com/admob/android/quick-start MobileAds.initialize(this, "YOUR_ADMOB_APP_ID"); Or which AppId is sending to Admob? Please have a look here https://support.google.com/admob/answer/7356427?hl=de&ref_topic=7384409 To initialize the add, you need the Admob App-Id and the Banner-Id, but this plugin only set the Banner-Id. How to set the Admob App-Id in a native App is described here https://developers.google.com/admob/android/quick-start. Please add the possibility to set the Admob AppId.

I discuss the topic with google support and the admob appid is required to initialize the banner. The request of a Ad without AdMob App-Id could work, but will be discontinued soon.

Gillardo commented 6 years ago

any news on this?

BLukassen commented 6 years ago

I have the same request. In the PluginCode I cant find any init of the MobileAds: MobileAds.initialize(this, "YOUR_ADMOB_APP_ID"); It seems it is missing.

rlam3 commented 6 years ago

@wo-github @Gillardo Were you able to figure this out?

Gillardo commented 6 years ago

@rlam3 Nope i didnt.

wo-github commented 6 years ago

I add the code without setting the appid and it works.

rlam3 commented 6 years ago

@wo-github are you developing a cordova/vue js app? Do you mind sharing where you implement/integrate the configs and how to display the banner? I'm having trouble in getting this to work with vue js app.

This is my repo https://bitbucket.org/rlam3/011_cordova_admob

wo-github commented 6 years ago

@rlam3 It`s a Ionic app, with admob free plugin https://ionicframework.com/docs/native/admob-free/

rlam3 commented 6 years ago

@wo-github do you know how to integrate it with vue.js app? I'm not using iconic framework...

wo-github commented 6 years ago

@rlam3 no, sorry I can`t help you.

puffnir commented 5 years ago

Any update about this issue? Is it safe to use this plugin without setting App Id?

ABDULAZIZ94 commented 5 years ago

hello, im facing hard time to load the app when stting isTesting=false