# Functions
NewScrubber returns an OpenRTB scrubber.
# Constants
ScrubStrategyDeviceIDAll removes all hardware and device id data (ifa, mac hashes device id hashes).
ScrubStrategyDeviceIDNone does not remove hardware id and device id data.
ScrubStrategyGeoFull removes all geographical data.
ScrubStrategyGeoNone does not remove any geographical data.
ScrubStrategyGeoReducedPrecision anonymizes geographical data with rounding.
ScrubStrategyIPV4Lowest8 zeroes out the last 8 bits of an IPV4 address.
ScrubStrategyIPV4None does not remove any part of an IPV4 address.
ScrubStrategyIPV6Lowest16 zeroes out the last 16 bits of an IPV6 address.
ScrubStrategyIPV6Lowest32 zeroes out the last 32 bits of an IPV6 address.
ScrubStrategyIPV6None does not remove any part of an IPV6 address.
ScrubStrategyUserID removes the user's buyer id.
ScrubStrategyUserIDAndDemographic removes the user's buyer id, exchange id year of birth, and gender.
ScrubStrategyUserNone does not remove non-location data.
# Structs
EnabledPolicyEnforcer decorates a PolicyEnforcer with an enabled flag.
Enforcement represents the privacy policies to enforce for an OpenRTB bid request.
NilPolicyEnforcer implements the PolicyEnforcer interface but will always return false.
NilPolicyWriter implements the PolicyWriter interface but performs no action.
Policies represents the privacy regulations for an OpenRTB bid request.
# Interfaces
PolicyEnforcer determines if personally identifiable information (PII) should be removed or anonymized per the policy.
PolicyWriter mutates an OpenRTB bid request with a policy's regulatory information.
Scrubber removes PII from parts of an OpenRTB request.
# Type aliases
ScrubStrategyDeviceID defines the approach to remove hardware id and device id data.
ScrubStrategyGeo defines the approach to scrub PII from geographical data.
ScrubStrategyIPV4 defines the approach to scrub PII from an IPV4 address.
ScrubStrategyIPV6 defines the approach to scrub PII from an IPV6 address.
ScrubStrategyUser defines the approach to scrub PII from user data.