Profile
Properties
The consented objectives IDs of this profile in a list, e.g. {"tracking", "advertising"}. Passing a property that was already set with values will cause the old values to be removed.
The privacy legislation for this profile, e.g. "GDPR". Passing a property that was already set with values will cause the old values to be removed.
The refused objectives IDs of this profile in a list, e.g. {"tracking", "advertising"}. Passing a property that was already set with values will cause the old values to be removed.
Functions
Adds a single objective ID to the consented objectives for this profile. If there are already values for a property the new value will be added. Values for a property need to be unique; passing the same value multiple times will have no effect.
Adds a single objective ID to the refused objectives for this profile. If there are already values for a property the new value will be added. Values for a property need to be unique; passing the same value multiple times will have no effect.
Adds a single property value to the profile. If there are already values for a property the new value will be added. Values for a property need to be unique; passing the same value multiple times will have no effect.
Adds property values to the profile. The values from the collection are added to the profile. If there are already values for a property the new values will be added. Values for a property need to be unique; passing the same values multiple times will have no effect.
Returns the first value for a given profile property.
Returns the values for a given profile property. For example, it can return all the values in a list of hobbies, e.g. {"tennis", "soccer"}.
Increments a single property value to the profile. If there are already values for a property the new value will be the sum of all values.
Sets values on the profile. Passing a property that was already set with values will cause for the old values to be removed.