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

# POST /v4/firstPartyAndPartnerAudiences/{firstPartyAndPartnerAudiencesId}:editCustomerMatchMembers

`POST /v4/firstPartyAndPartnerAudiences/{firstPartyAndPartnerAudiencesId}:editCustomerMatchMembers`

## Request

- Base URL: `https://displayvideo.googleapis.com`
- URL: `https://displayvideo.googleapis.com/v4/firstPartyAndPartnerAudiences/{firstPartyAndPartnerAudiencesId}:editCustomerMatchMembers`
- Auth: OAuth 2 and OAuth 2
  - Implicit: `https://accounts.google.com/o/oauth2/auth`
  - Scopes: `https://www.googleapis.com/auth/display-video`
  - Authorization code: `https://accounts.google.com/o/oauth2/auth`
  - Token URL: `https://accounts.google.com/o/oauth2/token` scopes: `https://www.googleapis.com/auth/display-video`

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

- `firstPartyAndPartnerAudiencesId` string, required

## Query parameters

- `$.xgafv` '1' | '2'
- `access_token` string
- `alt` 'json' | 'media' | 'proto'
- `callback` string
- `fields` string
- `key` string
- `oauth_token` string
- `prettyPrint` boolean
- `quotaUser` string
- `uploadType` string
- `upload_protocol` string

## Request body

- EditCustomerMatchMembersRequest: Request message for FirstPartyAndPartnerAudienceService.EditCustomerMatchMembers.
  - `addedContactInfoList` ContactInfoList: Wrapper message for a list of contact information 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.
    - `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.
      - `countryCode` string: Optional. Country code of the member. Must also be set with the following fields: * hashed_first_name * hashed_last_name * zip_codes
      - `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
      - `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.
      - `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
  - `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.
  - `removedContactInfoList` ContactInfoList: Wrapper message for a list of contact information 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.
    - `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.
      - `countryCode` string: Optional. Country code of the member. Must also be set with the following fields: * hashed_first_name * hashed_last_name * zip_codes
      - `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
      - `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.
      - `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
  - `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.

## Response `200`

Successful response

- EditCustomerMatchMembersResponse: The response of FirstPartyAndPartnerAudienceService.EditCustomerMatchMembers.
  - `firstPartyAndPartnerAudienceId` string, int64: Required. The ID of the updated Customer Match FirstPartyAndPartnerAudience.

---

[API](https://skmtc.dev/google/apis/displayvideo.md) - [All operations](https://skmtc.dev/google/apis/displayvideo/llms.txt) - [OpenAPI document](https://skmtc.dev/google/apis/displayvideo/revisions/c4f5eaed2791?raw)
