Batch update audience members
PUT/ad-publishing/facebook/custom-audience/:audienceId/member/batch
Add or remove members in bulk from a Facebook custom audience, sourced from a CSV or one or more smart lists — at least one of csvPath or smartlistIds is required. The work is queued rather than performed inline, so the acknowledgement confirms only that the job was accepted; nothing about the outcome is reported here. Unlike the single-member endpoints this one answers with { success: true } rather than a status-and-message body.
Request
Version stringrequired
API Version
Available options
v3audienceId stringrequired
Custom audience identifier
- application/json
- Body
- Example (auto)
Bodyrequired
locationIdstringrequired
Location identifier
csvPathstring
CSV file path
operationTypestringrequired
Batch operation type
Available options
ADDREMOVEREPLACEsmartlistIdsstring[]
Smartlist IDs array
dynamicAudiencestring
Dynamic audience flag
{
"locationId": "loc_abc123",
"csvPath": "/uploads/audience.csv",
"operationType": "ADD",
"smartlistIds": [
"list_1",
"list_2"
],
"dynamicAudience": "true"
}
Acknowledgement that the bulk update was queued
- application/json
- Schema
- Example (auto)
Schema
successbooleanrequired
True when the operation succeeded
{
"success": true
}