Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.

ConnectApi.Audience

A personalization audience.
Property Name Type Description Available Version
criteria List<ConnectApi.​AudienceCriteria​Detail> Criteria details for the audience. 48.0
customFormula String Custom formula for the audience criteria. For example, (1 AND 2) OR 3. 48.0
formulaFilterType ConnectApi.​FormulaFilterType Formula filter type for the personalization audience. Values are:
  • AllCriteriaMatch—All audience criteria are true (AND operation).
  • AnyCriterionMatches—Any audience criterion is true (OR operation).
  • CustomLogicMatches—Audience criteria match the custom formula (for example, (1 AND 2) OR 3).
48.0
id String ID of the audience. 48.0
name String Name of the audience. 48.0
targets List<ConnectApi.​AudienceTarget​Assignment> Target assignments for the audience. 48.0
url String URL to this audience. 48.0