account | object or array of object or MicrosoftAdsAccountItem or string or integer | Yes | - | Microsoft Ads account that owns the customer list. |
audience_id | string or integer | Yes | - | ID of the customer list audience to fill. Create it first with microsoft_ads_create_audience using type CustomerList. |
action_type | enum (Add, Remove, Replace) | Yes | - | Add appends the records, Remove takes them out, Replace swaps the entire list for what is supplied. |
item_sub_type | enum (Email, CRM, Phone) | Yes | - | Which identifier the records are. All records in one run must match. |
items | string or array of string | Yes | - | The hashed records, as a list or one per line. Hash with SHA-256 after lowercasing and trimming, and never send plain text. Up to 1000 per run. |
accept_customer_match_terms | boolean | No | - | Accepts Microsoft’s Customer Match terms as part of this upload, which otherwise has to be done in the web interface. Leaving it unset keeps whatever was accepted there, and setting it false rejects the terms and fails the upload. |