v29

latestOpenAPI 3.0.3MITraw.githubusercontent.com2026-06-042661,1122.5 MB
customer_segment

Update customer segments

Update the customer segment given advertiser ID and customer segment ID

patch/ad_accounts/{ad_account_id}/customer_segments

Path parameters

ad_account_idstring required

Unique identifier of an ad account.

Request body

audience_idsstring[]

Audience IDs to update the customer segment to. Only applicable for UPDATE operations.

idstring required

Customer segment ID.

operation_type'UPDATE' | 'REMOVE' required

Audience operation type (update or remove).

Example request

{
  "operation_type": "UPDATE"
}

Response

The request has succeeded.