Facebook Business Manager · Schema
CustomAudienceCreate
AdvertisingAnalyticsBusiness ManagementMarketingSocial Media
Properties
| Name | Type | Description |
|---|---|---|
| name | string | |
| description | string | |
| subtype | string | |
| customer_file_source | string | Source of customer data for CUSTOM subtype |
| lookalike_spec | object | Specification for lookalike audiences |
| rule | object | Rule-based audience definition for WEBSITE or APP subtypes |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/CustomAudienceCreate",
"title": "CustomAudienceCreate",
"type": "object",
"required": [
"name",
"subtype"
],
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"subtype": {
"type": "string",
"enum": [
"CUSTOM",
"WEBSITE",
"APP",
"OFFLINE_CONVERSION",
"LOOKALIKE",
"ENGAGEMENT"
]
},
"customer_file_source": {
"type": "string",
"description": "Source of customer data for CUSTOM subtype"
},
"lookalike_spec": {
"type": "object",
"description": "Specification for lookalike audiences",
"properties": {
"origin_audience_id": {
"type": "string"
},
"ratio": {
"type": "number",
"minimum": 0.01,
"maximum": 0.2
},
"country": {
"type": "string"
}
}
},
"rule": {
"type": "object",
"description": "Rule-based audience definition for WEBSITE or APP subtypes"
}
}
}