Adds users to a custom audience.
Operation description
After users are submitted to a custom audience, Meta matches them. If fewer than 100 users are matched, Meta discards the data. This prevents phone numbers from being linked directly to user tokens. Each API call supports up to 10,000 user records.
Try it now
Test
RAM authorization
Action | Access level | Resource type | Condition key | Dependent action |
cams:AddCustomAudienceUser | create | *All Resource
| None | None |
Request parameters
Parameter | Type | Required | Description | Example |
CustSpaceId | string | Yes | The space ID of the Independent Software Vendor (ISV) sub-customer or the instance ID of a direct customer. | cams-** |
PageId | string | Yes | The Page ID for Messenger. | 239** |
AdAccountId | string | Yes | The ID of the Meta ad account. | 3939** |
CustomAudienceId | string | Yes | The ID of the custom audience. | 399** |
| Users | array<object> | Yes | A list of users. | |
object | No | An object. | ||
string | No | The email address. | Example | |
Phone | string | No | The phone number. | Example |
EstimatedNumTotal | integer | No | The estimated total number of users. | 26 |
BatchLastFlag | boolean | No | Indicates whether this is the last batch of data. | false |
Response elements
Element | Type | Description | Example |
object | |||
AccessDeniedDetail | string | Details about the access denial. | None |
Message | string | The error message. | OK |
RequestId | string | The request ID. | 39** |
Code | string | The request status code.
| OK |
Success | boolean | Indicates whether the operation was successful. Valid values:
| true |
Examples
Success response
JSON format
{
"AccessDeniedDetail": "None",
"Message": "OK",
"RequestId": "39**",
"Code": "OK",
"Success": true
}Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.