Adds users to a custom audience.
Operation description
After you submit users to a custom audience, Meta matches them. If fewer than 100 users are matched, Meta discards the data to prevent phone numbers from being linked directly to user tokens. You can include up to 10,000 user records in each API call.
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 SpaceId of the ISV sub-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> |
No |
A list of users. |
|
|
object |
No |
An object. |
||
|
string |
No |
The email address. |
示例值示例值示例值 |
|
| Phone |
string |
No |
The phone number. |
示例值示例值示例值 |
| 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. |
无 |
| 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": "无",
"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.