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

npa: '1' is an option ? #447

Closed brunoalex closed 3 years ago

brunoalex commented 3 years ago

admob.banner.show({id: {android: 'ca-app-pub-9718633180389415/5096728138', npa: '1' },}) but not sure if its displaying nonpersonalized ads.. i think its not... is there any way to do this ? tks

alexp25 commented 3 years ago

As I found in the docs, it should be this way: admob.banner.config({id: 'ca-app-pub-9718633180389415/5096728138', adExtras: { npa: 1 }}) then admob.banner.show() https://github.com/ratson/cordova-plugin-admob-free/issues/210#issuecomment-391222091. I'm not sure if there is a way to check if it's actually requesting non-personalized ads.

brunoalex commented 3 years ago
 admob.interstitial.config({

id: 'ca-app-pub-xx',isTesting: false,adExtras: { npa: 1 } }) or admob.interstitial.config({ id: 'ca-app-pub-xxx',isTesting: false }). is sending the same ads .. dont think it works

brunoalex commented 3 years ago

i think it works marking as closed