---
title: "POST /v4/firstPartyAndPartnerAudiences/{+firstPartyAndPartnerAudienceId}:editCustomerMatchMembers"
method: POST
path: "/v4/firstPartyAndPartnerAudiences/{+firstPartyAndPartnerAudienceId}:editCustomerMatchMembers"
tags: ["firstPartyAndPartnerAudiences"]
---

# POST /v4/firstPartyAndPartnerAudiences/{+firstPartyAndPartnerAudienceId}:editCustomerMatchMembers

`POST /v4/firstPartyAndPartnerAudiences/{+firstPartyAndPartnerAudienceId}:editCustomerMatchMembers`

Updates the member list of a Customer Match audience. Only supported for the following audience_type: * `CUSTOMER_MATCH_CONTACT_INFO` * `CUSTOMER_MATCH_DEVICE_ID`

## Path parameters

- `firstPartyAndPartnerAudienceId` string, required

## Request body

- EditCustomerMatchMembersRequest — Request message for FirstPartyAndPartnerAudienceService.EditCustomerMatchMembers.
  - `removedContactInfoList` ContactInfoList — Wrapper message for a list of contact information defining Customer Match audience members.
    - `contactInfos` ContactInfo[] — Optional. A list of ContactInfo objects defining Customer Match audience members. The size of members after splitting the contact_infos mustn't be greater than 500,000.
      - `hashedLastName` string — Optional. SHA256 hashed last name of the member. Before hashing, remove all whitespace and make sure the string is all lowercase. Must also be set with the following fields: * country_code * hashed_first_name * zip_codes
      - `hashedPhoneNumbers` string[] — Optional. A list of SHA256 hashed phone numbers of the member. Before hashing, all phone numbers must be formatted using the [E.164 format](https://en.wikipedia.org/wiki/E.164) and include the country calling code.
      - `hashedEmails` string[] — Optional. A list of SHA256 hashed email of the member. Before hashing, remove all whitespace and make sure the string is all lowercase.
      - `hashedFirstName` string — Optional. SHA256 hashed first name of the member. Before hashing, remove all whitespace and make sure the string is all lowercase. Must also be set with the following fields: * country_code * hashed_last_name * zip_codes
      - `zipCodes` string[] — Optional. A list of zip codes of the member. Must also be set with the following fields: * country_code * hashed_first_name * hashed_last_name
      - `countryCode` string — Optional. Country code of the member. Must also be set with the following fields: * country_code * hashed_first_name * hashed_last_name * zip_codes
    - `consent` Consent — User consent status.
      - `adPersonalization` 'CONSENT_STATUS_UNSPECIFIED' | 'CONSENT_STATUS_GRANTED' | 'CONSENT_STATUS_DENIED' — Represents consent for ad personalization.
      - `adUserData` 'CONSENT_STATUS_UNSPECIFIED' | 'CONSENT_STATUS_GRANTED' | 'CONSENT_STATUS_DENIED' — Represents consent for ad user data.
  - `addedContactInfoList` ContactInfoList — Wrapper message for a list of contact information defining Customer Match audience members.
    - `contactInfos` ContactInfo[] — Optional. A list of ContactInfo objects defining Customer Match audience members. The size of members after splitting the contact_infos mustn't be greater than 500,000.
      - `hashedLastName` string — Optional. SHA256 hashed last name of the member. Before hashing, remove all whitespace and make sure the string is all lowercase. Must also be set with the following fields: * country_code * hashed_first_name * zip_codes
      - `hashedPhoneNumbers` string[] — Optional. A list of SHA256 hashed phone numbers of the member. Before hashing, all phone numbers must be formatted using the [E.164 format](https://en.wikipedia.org/wiki/E.164) and include the country calling code.
      - `hashedEmails` string[] — Optional. A list of SHA256 hashed email of the member. Before hashing, remove all whitespace and make sure the string is all lowercase.
      - `hashedFirstName` string — Optional. SHA256 hashed first name of the member. Before hashing, remove all whitespace and make sure the string is all lowercase. Must also be set with the following fields: * country_code * hashed_last_name * zip_codes
      - `zipCodes` string[] — Optional. A list of zip codes of the member. Must also be set with the following fields: * country_code * hashed_first_name * hashed_last_name
      - `countryCode` string — Optional. Country code of the member. Must also be set with the following fields: * country_code * hashed_first_name * hashed_last_name * zip_codes
    - `consent` Consent — User consent status.
      - `adPersonalization` 'CONSENT_STATUS_UNSPECIFIED' | 'CONSENT_STATUS_GRANTED' | 'CONSENT_STATUS_DENIED' — Represents consent for ad personalization.
      - `adUserData` 'CONSENT_STATUS_UNSPECIFIED' | 'CONSENT_STATUS_GRANTED' | 'CONSENT_STATUS_DENIED' — Represents consent for ad user data.
  - `removedMobileDeviceIdList` MobileDeviceIdList — Wrapper message for a list of mobile device IDs defining Customer Match audience members.
    - `consent` Consent — User consent status.
      - `adPersonalization` 'CONSENT_STATUS_UNSPECIFIED' | 'CONSENT_STATUS_GRANTED' | 'CONSENT_STATUS_DENIED' — Represents consent for ad personalization.
      - `adUserData` 'CONSENT_STATUS_UNSPECIFIED' | 'CONSENT_STATUS_GRANTED' | 'CONSENT_STATUS_DENIED' — Represents consent for ad user data.
    - `mobileDeviceIds` string[] — Optional. A list of mobile device IDs defining Customer Match audience members. The size of mobile_device_ids mustn't be greater than 500,000.
  - `addedMobileDeviceIdList` MobileDeviceIdList — Wrapper message for a list of mobile device IDs defining Customer Match audience members.
    - `consent` Consent — User consent status.
      - `adPersonalization` 'CONSENT_STATUS_UNSPECIFIED' | 'CONSENT_STATUS_GRANTED' | 'CONSENT_STATUS_DENIED' — Represents consent for ad personalization.
      - `adUserData` 'CONSENT_STATUS_UNSPECIFIED' | 'CONSENT_STATUS_GRANTED' | 'CONSENT_STATUS_DENIED' — Represents consent for ad user data.
    - `mobileDeviceIds` string[] — Optional. A list of mobile device IDs defining Customer Match audience members. The size of mobile_device_ids mustn't be greater than 500,000.
  - `advertiserId` string, int64 — Required. The ID of the owner advertiser of the updated Customer Match FirstAndThirdPartyAudience.

## Response `200`

Successful response

---

[API](https://skmtc.dev/google/apis/displayvideo.md) · [All operations](https://skmtc.dev/google/apis/displayvideo/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/google/displayvideo/revisions/68b64e49eced/schema)
