Shawn Casey edited this page Sep 6, 2018 · 21 revisions

This documentation is provided for compliance with the European Union's General Data Protection Regulation (GDPR). If you are collecting consent from your users, you can make use of APIs discussed below to inform AdColony and all downstream consumers of this information. Please see our GDPR FAQ for more information.

Passing Consent via AdColonyAppOptions

In the iOS SDK v3.3.4, we added explicit methods to our AdColonyAppOptions API for GDPR compliance. We require the GDPR consent string to have a value of "1" or "0". A value of "1" implies the user has given consent to store and process personal information and a value of "0" means the user has declined consent.

Code Example

AdColonyAppOptions *options = [AdColonyAppOptions new];

// Indicates the GDPR requirement of the user. If it's true, the user's subject to the GDPR laws.
options.gdprRequired = TRUE;

// Your user's consent string. In this case, the user has given consent to store and process personal information.
options.gdprConsentString = @"1"; 

// Pass options object to AdColony in configure call
[AdColony configureWithAppID:/* App ID */ 
                     zoneIDs:@[/* Zone IDs */] 
                     options:options
                  completion:^(NSArray<AdColonyZone *> *zones) {}
];

NOTE: Originally this method was designed to follow the guidelines provided by the Interactive Advertisement Bureau. At the time of our GDPR compliant 3.3.4 release, these guidelines have not been finalized. A separate announcement will be made in the future when this changes.

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.