Consent Preferences
The Consent Preferences struct stores information about the choices the user makes when using the Consent Popup.
The struct is designed to provide the choices from local storage following the TCF v2 spec. This information allows you to make informed decisions on how to proceed within your application with regards to displaying ads.
To learn more about IABTCF Strings, you can read their documentation.
FConsentPreferences
Field | Type | Description |
---|---|---|
PurposeConsent | FString | 0's and 1's indicating consent for each Purpose. |
PurposeLegitimateInterestConsent | FString | 0's and 1's indicating consent for each Purpose Legitimate Interest. |
VendorConsent | FString | 0's and 1's indicating consent for each Vendor. |
bIsGDPRRequired | boolean | If GDPR is required at all for the user. |
bCanShowGoogleAds | boolean | If consent provided allows you to reliably display ads. |
bCanShowGooglePersonalisedAds | boolean | If consent provided allows you to partake in personalised ads. |