Creates a custom audience.
Try it now
Test
RAM authorization
Action | Access level | Resource type | Condition key | Dependent action |
cams:CreateCustomAudience | create | *All Resource
| None | None |
Request parameters
Parameter | Type | Required | Description | Example |
CustSpaceId | string | Yes | The Space ID of the ISV sub-customer, or the instance ID of the direct customer. View the Space ID on the Channel Management page. | cams-*** |
PageId | string | Yes | The Page ID for Messenger. | 239*** |
AdAccountId | string | Yes | The Meta ad account ID. | 23** |
Name | string | Yes | The name of the custom audience. | audience name |
Description | string | No | The description. | desc |
UploadType | string | Yes | The upload method. Valid values:
| excel |
FilePath | string | No | The file path. | bucket/file.xlsx |
Response elements
Element | Type | Description | Example |
object | |||
AccessDeniedDetail | string | Details about the access denial. | None |
CustomAudienceId | string | The ID of the custom audience. | 393** |
Message | string | The error message. | OK |
RequestId | string | The request ID. | dd** |
Code | string | The request status code.
| OK |
Success | boolean | Indicates whether the call was successful.
| true |
Examples
Success response
JSON format
{
"AccessDeniedDetail": "None",
"CustomAudienceId": "393**",
"Message": "OK",
"RequestId": "dd**",
"Code": "OK",
"Success": true
}Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.