Use the Google Consent SDK in Axway Titanium with Hyperloop!
Requests consent information update for the provided publisher identifiers. All publisher identifiers used in the application should be specified in this call. Consent status is reset to unknown when the ad provider list changes.
Shows a consent modal form. Arguments:
shouldOfferPersonalizedAds
(Boolean) Indicates whether the consent form should show a personalized ad option. Defaults totrue
.shouldOfferNonPersonalizedAds
(Boolean) Indicates whether the consent form should show a non-personalized ad option. Defaults totrue
.shouldOfferAdFree
(Boolean) Indicates whether the consent form should show an ad-free app option. Defaults tofalse
.callback
(Function) Callback to be triggered once the form completes.
Array of ad providers.
Resets consent information to default state and clears ad providers.
For a full example, check the demo in Resources/app.js
.
Hans Knöchel (@hansemannnn / Web)
Apache 2.0
Code contributions are greatly appreciated, please submit a new Pull-Request!