UserPropertiesBuilder
Builder class for configuring user properties used in ad targeting. This class allows setting various user attributes and preferences for personalized ad delivery. Note: Contact NAM admin before using these properties.
Functions
Adds a single custom parameter. Note: AdParam settings take precedence over these parameters.
Builds and returns a UserProperties instance with the configured settings.
Sets the child-directed treatment flag (COPPA compliance).
Sets the child-directed treatment flag using a string value.
Sets the user's country code.
Sets the user's gender information.
Sets the service user ID for error log tracking.
Sets the user's language code.
Sets the content ID for targeted advertising.
Sets multiple custom parameters at once. Note: AdParam settings take precedence over these parameters.
Sets whether to disable ADID usage regardless of privacy policies.
Sets the under age of consent flag (CCPA/PDPA compliance).
Sets the under age of consent flag using a string value.
Sets the user's year of birth.