cordova-plugin-ads-donottrack
v2.0.3
Published
Cordova plugin to add ads into an app (when no tracking is collected). Use javascript to request ads by AdMob.
Downloads
23
Maintainers
Readme
Cordova-Plugin-Ads-DoNotTrack
jump to: PLUGIN USAGE | ADD ADS | cozycode.ca | Open Source License
Updated 2023 for Cordova with no tracking consent requested
Make sure to turn off "user metrics"
in advertising settings to disable tracking
To include ads with tracking, see: cordova-plugin-ads
Cordova plugin to add ads (by Google AdMob) into an app. Use JavaScript to include ads in your app.
If you notice any issues, submit here: github issues
Have a good one!
PLUGIN USAGE
see cordova-plugin-ads for full documentation
banner ads
adMob.banner(bannerId)
adMob.removeBanner()
ADD ADS with no tracking
- Add the plugin
cordova plugin add cordova-plugin-ads-donottrack
Turn off
user metrics
while creating AdMob apps with ad unitsAdd calls to the plugin to load ads
adMob.banner("test").catch(function(err){});
see cordova-plugin-ads documentation
More from cozycode.ca
- make apps with JavaScript
- how to make an in-app purchases with Cordova
- a testing app for in-app purchases
- a demo app for in-app purchases
Open Source License
MIT Licensed (MIT)
Copyright © 2023 cozycode.ca
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.