Consent is not represented by a single bit, but rather a set of purposes and vendors as defined in the IAB TCF specification. See Consent Policies: Personalized & Non-Personalized Ads for criteria for Google Ads personalization.
See how to read consent choices (Android | iOS) for information on reading consent choices programmatically. The IAB also provides a web tool where you can manually decode the TC String.
"
Hi,
Thank you for contacting the Mobile Ads SDK Support team.
I will check with our team regarding your query and one of my team members will reach out to you once we have an update on this. Meanwhile, your patience is highly appreciated.
This message is in relation to case "ref:!00D1U01174p.!5004Q02rW1aI:ref"
![]() |
Mobile Ads SDK Team |
Hi Romain,
You are correct that this is possible. `ApplicationPreferences` wraps around the apis used by Android and iOS.Here is some sample code to help you out.
// Example value: "1111111111" string purposeConsents = ApplicationPreferences.GetString("IABTCF_PurposeConsents"); // Purposes are zero-indexed. Index 0 contains information about Purpose 1. if (!string.IsNullOrEmpty(purposeConsents)) { char purposeOneString = purposeConsents[0]; boolean hasConsentForPurposeOne = purposeOneString == '1'; }
Hope this helps,
Nick
![]() |
|