Regulation advanced settings for iOS
Configure GDPR consent, U.S. state privacy laws, and other regulatory settings in the ironSource SDK.
Read time 1 minuteLast updated 6 hours ago
GDPR: Managing Consent
LevelPlay's mediation platform supports publisher communication of a user's consent choice to mediated networks (for supported networks). Starting from ironSource SDK 7.7.0, GDPR consent from the Google UMP (Google's CMP solution) and CMPs that support Google Additional Consent, is automatically passed to the ironSource SDK. To use ironSource's API to update a user's consent status, use this function:If the user provided consent, set the following flag to true:
If the user did not consent, set the following flag to false:IronSource.setConsent(true);
IronSource.setConsent(false);
US Privacy compliance
LevelPlay's mediation platform (SDK Version 6.14.0 and above) supports publishers to restrict the sale or sharing of end users personal information under U.S. state privacy laws, such as the California Privacy Rights Act (CPRA). The notification about personal information of specific users located in California, Virginia, Connecticut, Colorado or Utah, should be handled based on a “do not sell” setting by setting its value to “true” or “false”. The API should be set before initializing the SDK.If the user has opted out of “sale” or “sharing” of personal information:
If “sale” of personal information is permitted:IronSource.setMetaData("do_not_sell","true");
IronSource.setMetaData("do_not_sell","false");
User-Level Settings for Child-Directed Apps with Age Gates
LevelPlay's mediation platform (SDK Version 7.1.0+) enables publishers of child-directed apps to flag specific end-users as children, as may be permitted or required by applicable law (for example, COPPA). Publishers of child-directed apps are responsible for determining whether an app is permitted to flag at the end-user level or must treat all end-users as children. Publishers should consult with their legal counsel accordingly. The indication of whether a specific end-user is a child should be done using a “is_child_directed” flag, by setting its value to “true” or “false”. The API should be set before initializing the SDK.If the end-user is a child (as defined by applicable regulations):
If the end-user is not a child:IronSource.setMetaData("is_child_directed","true");
IronSource.setMetaData("is_child_directed","false");