Privacy compliance

Ogury fully supports the IAB Europe Transparency & Consent Framework (TCF) v2, enabling publishers and advertisers to effectively manage and respect user consent in full compliance with GDPR requirements.

If you implement a Consent Management Platform (CMP) that adheres to IAB TCF v2 for your user consent flow, Ogury automatically reads the TCF v2 consent string from SharedPreferences, so no any additional configuration is required on your part.

The following key is used to access the consent string:

NameData typeDescription

IABTCF_TCString

String

Full encoded TC string

IAB Global Privacy Platform (GPP)

gury fully supports the IAB Global Privacy Platform (GPP), allowing publishers and advertisers to manage user consent and privacy preferences across multiple regulations, including GDPR, CCPA, and others.

If you implement a Consent Management Platform (CMP) that complies with the IAB GPP for your user consent flow, Ogury automatically reads the GPP consent strings from SharedPreferences, so no any additional configuration is required on your part.

The following keys are used to access the consent strings:

NameData typeDescription

IABGPP_HDR_GppString

String

Full consent string in its encoded form.

IABGPP_GppSID

String

Section ID(s) considered to be in force.

Boolean opt-out choice in United States

Ogury supports the boolean opt-out choice for users residing in the United States, allowing them to easily decide whether to opt out of advertising. Ogury automatically processes this opt-out choice to ensure that user preferences are respected.

If you are a publisher, use the following code to set the opt-out preference:

Ogury.setPrivacyData("us_optout", true)

If you are a mediation partner, you can set the opt-out preference with this code:

Ogury.setPrivacyData("us_optout_partner", true)

Child privacy treatment

This section is specifically for assets declared as mixed-audience apps in the Ogury dashboard. Note that children's privacy treatment is always applied to family audience apps and is never applied to mature audience apps.

The Ogury SDK offers a method to indicate when the current user is a child, ensuring compliance with the US Children's Online Privacy and Protection Act (COPPA) and the EU General Data Protection Regulation (GDPR) where applicable:

Ogury.applyChildPrivacy(OguryChildPrivacyTreatment.UNSPECIFIED)

The applyChildPrivacy method can be called at any time and takes effect starting from the next Ogury ad request until the user closes the app. It accepts one of the constants from the OguryChildPrivacyTreatment class:

  • UNSPECIFIED: Default value. It has not been specified whether the current user requires treatment under COPPA or GDPR for users below the age of consent.

  • CHILD_UNDER_COPPA_TREATMENT_FALSE: Specifies that the current user does not require treatment under COPPA and GDPR is not applicable (e.g., users outside the European Economic Area).

  • CHILD_UNDER_COPPA_TREATMENT_TRUE: Specifies that the current user requires treatment under COPPA.

  • UNDER_AGE_OF GDPR_CONSENT_TREATMENT_FALSE: Specifies that the user does not require treatment under GDPR for users below the age of consent, and COPPA is not applicable.

  • UNDER_AGE_OF GDPR_CONSENT_TREATMENT_TRUE: Specifies that the user requires treatment under GDPR for users below the age of consent.

Ad content filtering

The Ogury SDK provide a method to apply an ad content filtering on the Ogury ad requests:

OguryAdRequests.setAdContentThreshold(OguryAdRequests.AD_CONTENT_THRESHOLD_G)

The setAdContentThreshold method can also be called at any time and takes effect from the next ad request, applying to all Ogury ad formats until the app is closed. It accepts one of the constants from the OguryAdRequests class:

  • AD_CONTENT_THRESHOLD_UNSPECIFIED: No specific content threshold is applied.

  • AD_CONTENT_THRESHOLD_G: Suitable for general audiences, including families.

  • AD_CONTENT_THRESHOLD_PG: Suitable for most audiences with parental guidance.

  • AD_CONTENT_THRESHOLD_T: Suitable for teens and older audiences.

  • AD_CONTENT_THRESHOLD_MA: Suitable only for mature audiences.

Last updated