diff --git a/apidoc/Admob.yml b/apidoc/Admob.yml index 7093153..13ac9fc 100644 --- a/apidoc/Admob.yml +++ b/apidoc/Admob.yml @@ -452,21 +452,21 @@ methods: type: Boolean summary: Check in the IABTCF string if GDPR applies, so if in EEA. platforms: [iphone, ipad] - since: "2.6.3" + since: "6.3.0" - name: canShowAds returns: type: Boolean summary: Check in the IABTCF string if user granted at least minimum requirements to show ads. platforms: [iphone, ipad] - since: "2.6.3" + since: "6.3.0" - name: canShowPersonalizedAds returns: type: Boolean summary: Check in the IABTCF string if user granted at least minimum requirements to show Personalized ads. platforms: [iphone, ipad] - since: "2.6.3" + since: "6.3.0" - name: requestConsentInfoUpdateForPublisherIdentifiers returns: diff --git a/ios/documentation/index.md b/ios/documentation/index.md index 375d5fd..010d2ef 100644 --- a/ios/documentation/index.md +++ b/ios/documentation/index.md @@ -216,7 +216,18 @@ Finally you know if you can request AdMob Personalized or Non-Personalized Ads, var ad = Admob.createView({ // your properties... extras: { 'npa': "1"}, // npa=1 disables personalized ads - }); + }); +``` + +or + +```js + import Admob from 'ti.admob'; + + var ad = Admob.createView({ + // your properties... + extras: { 'npa': "1"}, // npa=1 disables personalized ads + }); ``` ### `requestConsentInfoUpdateWithParameters(args)`