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.AudienceCriterionValueInput

Audience criterion value.
Property Type Description Required or Optional Available Version
audienceId String ID of an audience. Required if creating or updating an audience with the Audience criterion type. 53.0
city String City of a user. Optional if creating or updating an audience with the GeoLocation criterion type 48.0
country String Country of a user. Required if creating or updating an audience with the GeoLocation criterion type 48.0
domainId String Domain ID of a user. Required if creating or updating an audience with the Domain criterion type 48.0
entityField String Field of an object. Required if creating or updating an audience with the FieldBased criterion type 48.0
entityType String Type of object. Required if creating or updating an audience with the FieldBased criterion type 48.0
fieldValue String Value of a field. Required if creating or updating an audience with the FieldBased criterion type 48.0
isEnabled Boolean Specifies whether the permission is enabled (true) or not (false) for a user. Required if creating or updating an audience with the Permission criterion type 48.0
permission String Valid API name of a standard user or custom permission. Required if creating or updating an audience with the Permission criterion type 48.0
profileId String Profile ID of a user. Required if creating or updating an audience with the Profile criterion type 48.0
subdivision String Subdivision of a user. Required if creating or updating an audience with the GeoLocation criterion type and using the city property 48.0