---
schema_version: "1"
id: 6c52ef190e82c74189ef6fd37eb6144a24e2c3a2b1a3a4f8579df0a5afcc9dfe
title: Audience
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/object_reference/sforce_api_objects_audience.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_audience.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 28e69ccb64f92d6bf6d6ca398ce992102b2c417672dfbda1c54cd16729319963
description: Represents an audience that is defined by criteria and can be assigned and used for targeting in an Experience Cloud site. This object is available in API version 44.0 and later.
---
# Audience

Represents an audience that is defined by criteria and can be assigned and used for targeting in an Experience Cloud site. This object is available in API version 44.0 and later.

## Supported Calls

delete(), describeSObjects(), query(), retrieve(), update()

## Fields

| Field | Details |
| --- | --- |
| AudienceName | 
Type

string

Properties

Filter, Group, Sort, Update

Description

Name of the audience.



 |
| ContainerId | 

Type

reference

Properties

Filter, Group, Sort

Description

ID of the site or org that contains the audience. ContainerId is nillable in API versions 47.0 and earlier.



 |
| Description | 

Type

string

Properties

Filter, Group, Nillable, Sort, Update

Description

Description of the audience.



 |
| DeveloperName | 

Type

string

Properties

Filter, Group, Sort, Update

Description

The unique name of the audience in the API. This name can contain only underscores and alphanumeric characters, and must be unique in your org. It must begin with a letter, not include spaces, not end with an underscore, and not contain two consecutive underscores. This field is automatically generated, but you can supply your own value if you create the record using the API.

![Note](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/images/icon_note.png)

#### Note

When creating large sets of data, always specify a unique DeveloperName for each record. If no DeveloperName is specified, performance may slow while Salesforce generates one for each record.

![Note](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/images/icon_note.png)

#### Note

Only users with View DeveloperName OR View Setup and Configuration permission can view, group, sort, and filter this field.















 |
| FormulaFilterType | 

Type

picklist

Properties

Filter, Group, Nillable, Restricted picklist, Sort, Update

Description

Formula filter for the criteria used to define the audience. Valid values are:

- AllCriteriaMatch—Matching all the conditions (AND).
- AnyCriterionMatches—Matching at least one condition (OR).
- CustomLogicMatches—Matching condition logic (AND and OR) and numbered criteria groups. This value is available in API version 45.0 and later.





 |
| Language | 

Type

picklist

Properties

Filter, Group, Nillable, Restricted picklist, Sort, Update

Description

Language of the audience. Valid values are:

- Chinese (Simplified): zh\_CN
- Chinese (Traditional): zh\_TW
- Danish: da
- Dutch: nl\_NL
- English: en\_US
- Finnish: fi
- French: fr
- German: de
- Italian: it
- Japanese: ja
- Korean: ko
- Norwegian: no
- Portuguese (Brazil): pt\_BR
- Russian: ru
- Spanish: es
- Spanish (Mexico): es\_MX Spanish (Mexico) defaults to Spanish for customer-defined translations.
- Swedish: sv
- Thai: th The Salesforce user interface is fully translated to Thai, but Help is in English.





 |
| MasterLabel | 

Type

string

Properties

Filter, Group, Sort, Update

Description

Master label for the audience. This internal name doesn’t get translated.



 |