[MOD-2422] iOS: Add non-personalized ads support to "ti.admob"
GitHub Issue | n/a |
---|---|
Type | Improvement |
Priority | Critical |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2018-05-25T12:59:55.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 7.2.0 |
Components | n/a |
Labels | admob, ios |
Reporter | Joshua Quick |
Assignee | Hans Knöchel |
Created | 2018-05-21T21:49:44.000+0000 |
Updated | 2018-06-06T15:40:56.000+0000 |
Description
*Summary:*
By default, AdMob provides targeted ads based on user identifiable information. In order to comply with the EU GDPR, we need to be able to provide "non-personalized ads" (aka: "npa") if the end-user has not consented to targeted ads.
https://developers.google.com/admob/android/eu-consent
*Solution:*
Our
AdMob.createView()
method supports a property named extras
that will take a dictionary of parameters. Google's server is looking for an "npa" argument set to 1
to request a non-personalized ad. We should verify that this actually works, and if yes, update the AdMob documentation about this extra parameter.
PR: https://github.com/appcelerator-modules/ti.admob/pull/77
Closing as merged. Generic banner and interstitial ads show with new GDPR compliant 'npa' extras property