Opt-In/Opt-Out setting
Monetization Opt-In / Opt-Out :
The host application can provide an option to the users to Opt-In and Opt-Out of the Monetization Ads services. The same can be accomplished via the following methods to access or update the Status.
Update Opt-In Status
[DigitalReef.shared optInToMonetizationAdsWithOptIn:YES];
DigitalReef.shared.optInToMonetizationAds(optIn: true)
The method accepts boolean value. When TRUE is passed, the user is Opted-In to the Ad services and when FALSE is passed, the user is Opted-Out of the Ad Service.
Get Opt-In status
[DigitalReef.shared getMonetizationAdsOptInStatus];
DigitalReef.shared.getMonetizationAdsOptInStatus()
The method returns boolean value. If TRUE is returned, the user has Opted-In to the Ad Services and when FALSE the user is Opted-Out of the Ad Services.
Engagement Opt-In / Opt-Out :
The host application can provide an option to the users to Opt-In and Opt-Out of the Engagement Ads services. The same can be accomplished via the following methods to access or update the Status.
Update Opt-In Status
[DigitalReef.shared optInToEngagementAdsWithOptIn:boolean];
DigitalReef.shared.optInToEngagementAds(optIn: boolean)
The method accepts boolean value. When TRUE is passed, the user is Opted-In to the Ad services and when FALSE is passed, the user is Opted-Out of the Ad Service.
Get Opt-In status
[DigitalReef.shared getEngagementAdsOptInStatus];
DigitalReef.shared.getEngagementAdsOptInStatus()
Updated 6 months ago