Tapjoy SDK - C# API
 
Loading...
Searching...
No Matches
TapjoyUnity.TJPrivacyPolicy Class Referencesealed

Public Member Functions

void SetSubjectToGDPR (TJStatus gdprApplicable)
 This can be used by the integrating App to indicate if the user falls in any of the GDPR applicable countries (European Economic Area).
 
TJStatus GetSubjectToGDPR ()
 Returns configured GDPR value.
 
void SetUserConsent (TJStatus consent)
 This is used for sending User's consent to behavioral advertising such as in the context of GDPR The consent value can be YES (User has not provided consent), NO (User has provided consent) or a daisybit string as suggested in IAB's Transparency and Consent Framework.
 
TJStatus GetUserConsent ()
 Returns user's consent to behavioral advertising such as in the context of GDPR The consent value can be NO (User has not provided consent), YES (User has provided consent) or a daisybit string as suggested in IAB's Transparency and Consent Framework.
 
void SetBelowConsentAge (TJStatus belowConsentAge)
 In the US, the Children’s Online Privacy Protection Act (COPPA) imposes certain requirements on operators of online services that (a) have actual knowledge that the connected user is a child under 13 years of age, or (b) operate services (including apps) that are directed to children under 13.
 
TJStatus GetBelowConsentAge ()
 Returns the consent age (COPPA) flag applied to the user.
 
void SetUSPrivacy (string privacyPolicy)
 This is used for sending US Privacy value to behavioral advertising such as in the context of GDPR The value can be in IAB's US Privacy String Format consists of specification version to encode the string in number, explicit notice or opportunity to opt out in enum, opt-out sale in enum, LSPA covered transaction in enum .
 
string GetUSPrivacy ()
 Returns US Privacy value to behavioral advertising such as in the context of GDPR.
 

Static Public Member Functions

static TJPrivacyPolicy GetPrivacyPolicy ()
 Returns the TJPrivacyPolicy instance for calling methods to set GDPR, User's consent, below consent age ,and US Privacy policy flags.
 

Member Function Documentation

◆ GetBelowConsentAge()

TJStatus TapjoyUnity.TJPrivacyPolicy.GetBelowConsentAge ( )
inline

Returns the consent age (COPPA) flag applied to the user.

Returns
YES if below consent age (COPPA) applies to this user, NO otherwise

◆ GetSubjectToGDPR()

TJStatus TapjoyUnity.TJPrivacyPolicy.GetSubjectToGDPR ( )
inline

Returns configured GDPR value.

The value should be returned to YES when User (Subject) is applicable to GDPR regulations and NO when User is not applicable to GDPR regulations.

Returns
YES if GDPR applies to this user, NO otherwise

◆ GetUserConsent()

TJStatus TapjoyUnity.TJPrivacyPolicy.GetUserConsent ( )
inline

Returns user's consent to behavioral advertising such as in the context of GDPR The consent value can be NO (User has not provided consent), YES (User has provided consent) or a daisybit string as suggested in IAB's Transparency and Consent Framework.

Returns
The user consent value

◆ GetUSPrivacy()

string TapjoyUnity.TJPrivacyPolicy.GetUSPrivacy ( )
inline

Returns US Privacy value to behavioral advertising such as in the context of GDPR.

Returns
The us privacy value string

◆ SetBelowConsentAge()

void TapjoyUnity.TJPrivacyPolicy.SetBelowConsentAge ( TJStatus belowConsentAge)
inline

In the US, the Children’s Online Privacy Protection Act (COPPA) imposes certain requirements on operators of online services that (a) have actual knowledge that the connected user is a child under 13 years of age, or (b) operate services (including apps) that are directed to children under 13.

Similarly, the GDPR imposes certain requirements in connection with data subjects who are below the applicable local minimum age for online consent (ranging from 13 to 16, as established by each member state).

For applications that are not directed towards children under 13 years of age, but still have a minority share of users known to be under the applicable minimum age, utilize this method to access Tapjoy’s monetization capability. This method will set ad_tracking_enabled to false for Tapjoy which only shows the user contextual ads. No ad tracking will be done on this user.

Parameters
belowConsentAgeYES if below consent age (COPPA) applies to this user, NO otherwise

◆ SetSubjectToGDPR()

void TapjoyUnity.TJPrivacyPolicy.SetSubjectToGDPR ( TJStatus gdprApplicable)
inline

This can be used by the integrating App to indicate if the user falls in any of the GDPR applicable countries (European Economic Area).

The value should be set to YES when User (Subject) is applicable to GDPR regulations and NO when User is not applicable to GDPR regulations. In the absence of this call, Tapjoy server makes the determination of GDPR applicability.

Parameters
gdprApplicableYES if GDPR applies to this user, NO otherwise

◆ SetUserConsent()

void TapjoyUnity.TJPrivacyPolicy.SetUserConsent ( TJStatus consent)
inline

This is used for sending User's consent to behavioral advertising such as in the context of GDPR The consent value can be YES (User has not provided consent), NO (User has provided consent) or a daisybit string as suggested in IAB's Transparency and Consent Framework.

Parameters
consentThe user consent value

◆ SetUSPrivacy()

void TapjoyUnity.TJPrivacyPolicy.SetUSPrivacy ( string privacyPolicy)
inline

This is used for sending US Privacy value to behavioral advertising such as in the context of GDPR The value can be in IAB's US Privacy String Format consists of specification version to encode the string in number, explicit notice or opportunity to opt out in enum, opt-out sale in enum, LSPA covered transaction in enum .

eg. "1YNN" where 1 is char in string for the version, Y = YES, N = No, - = Not Applicable See: IAB suggested US Privacy String Format : https://github.com/InteractiveAdvertisingBureau/USPrivacy/blob/master/CCPA/Version%201.0/US%20Privacy%20String.md#us-privacy-string-format

Parameters
privacyPolicyThe us privacy value string

The documentation for this class was generated from the following file: