Starting
September 8, 2025, every new line item will need to declare whether or not they will serve Eurpoean Union (EU) political ads. Display & Video 360 API and SDF uploads that don't provide declarations will fail. See our
deprecations page for more details on how to update your integration to make this declaration.
Method: firstPartyAndPartnerAudiences.editCustomerMatchMembers
Stay organized with collections
Save and categorize content based on your preferences.
Updates the member list of a Customer Match audience.
Only supported for the following audienceType
:
CUSTOMER_MATCH_CONTACT_INFO
CUSTOMER_MATCH_DEVICE_ID
HTTP request
POST https://displayvideo.googleapis.com/v4/firstPartyAndPartnerAudiences/{firstPartyAndPartnerAudienceId}:editCustomerMatchMembers
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters |
firstPartyAndPartnerAudienceId |
string (int64 format)
Required. The ID of the Customer Match FirstPartyAndPartnerAudience whose members will be edited.
|
Request body
The request body contains data with the following structure:
JSON representation |
{
"advertiserId": string,
// Union field added_members can be only one of the following:
"addedContactInfoList": {
object (ContactInfoList )
},
"addedMobileDeviceIdList": {
object (MobileDeviceIdList )
}
// End of list of possible types for union field added_members .
// Union field removed_members can be only one of the following:
"removedContactInfoList": {
object (ContactInfoList )
},
"removedMobileDeviceIdList": {
object (MobileDeviceIdList )
}
// End of list of possible types for union field removed_members .
} |
Fields |
advertiserId |
string (int64 format)
Required. The ID of the owner advertiser of the updated Customer Match FirstAndThirdPartyAudience.
|
Union field added_members . The members to be added to the Customer Match audience. added_members can be only one of the following: |
addedContactInfoList |
object (ContactInfoList )
Input only. A list of contact information to define the members to be added.
|
addedMobileDeviceIdList |
object (MobileDeviceIdList )
Input only. A list of mobile device IDs to define the members to be added.
|
Union field removed_members . The members to be removed from the Customer Match audience. removed_members can be only one of the following: |
removedContactInfoList |
object (ContactInfoList )
Input only. A list of contact information to define the members to be removed.
|
removedMobileDeviceIdList |
object (MobileDeviceIdList )
Input only. A list of mobile device IDs to define the members to be removed.
|
Response body
The response of FirstAndThirdPartyAudienceService.EditCustomerMatchMembers.
If successful, the response body contains data with the following structure:
JSON representation |
{
"firstPartyAndPartnerAudienceId": string
} |
Fields |
firstPartyAndPartnerAudienceId |
string (int64 format)
Required. The ID of the updated Customer Match FirstPartyAndPartnerAudience.
|
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/display-video
For more information, see the OAuth 2.0 Overview.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-03-27 UTC.
[null,null,["Last updated 2025-03-27 UTC."],[],[],null,["# Method: firstPartyAndPartnerAudiences.editCustomerMatchMembers\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n - [JSON representation](#body.request_body.SCHEMA_REPRESENTATION)\n- [Response body](#body.response_body)\n - [JSON representation](#body.EditCustomerMatchMembersResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nUpdates the member list of a Customer Match audience.\n\nOnly supported for the following [audienceType](/display-video/api/reference/rest/v4/firstPartyAndPartnerAudiences#FirstPartyAndPartnerAudience.FIELDS.audience_type):\n\n- `CUSTOMER_MATCH_CONTACT_INFO`\n- `CUSTOMER_MATCH_DEVICE_ID`\n\n### HTTP request\n\n`POST https://displayvideo.googleapis.com/v4/firstPartyAndPartnerAudiences/{firstPartyAndPartnerAudienceId}:editCustomerMatchMembers`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|----------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `firstPartyAndPartnerAudienceId` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` Required. The ID of the Customer Match FirstPartyAndPartnerAudience whose members will be edited. |\n\n### Request body\n\nThe request body contains data with the following structure:\n\n| JSON representation |\n|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"advertiserId\": string, // Union field `added_members` can be only one of the following: \"addedContactInfoList\": { object (/display-video/api/reference/rest/v4/firstPartyAndPartnerAudiences#ContactInfoList) }, \"addedMobileDeviceIdList\": { object (/display-video/api/reference/rest/v4/firstPartyAndPartnerAudiences#MobileDeviceIdList) } // End of list of possible types for union field `added_members`. // Union field `removed_members` can be only one of the following: \"removedContactInfoList\": { object (/display-video/api/reference/rest/v4/firstPartyAndPartnerAudiences#ContactInfoList) }, \"removedMobileDeviceIdList\": { object (/display-video/api/reference/rest/v4/firstPartyAndPartnerAudiences#MobileDeviceIdList) } // End of list of possible types for union field `removed_members`. } ``` |\n\n| Fields ||\n|-----------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `advertiserId` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` Required. The ID of the owner advertiser of the updated Customer Match FirstAndThirdPartyAudience. |\n| Union field `added_members`. The members to be added to the Customer Match audience. `added_members` can be only one of the following: ||\n| `addedContactInfoList` | `object (`[ContactInfoList](/display-video/api/reference/rest/v4/firstPartyAndPartnerAudiences#ContactInfoList)`)` Input only. A list of contact information to define the members to be added. |\n| `addedMobileDeviceIdList` | `object (`[MobileDeviceIdList](/display-video/api/reference/rest/v4/firstPartyAndPartnerAudiences#MobileDeviceIdList)`)` Input only. A list of mobile device IDs to define the members to be added. |\n| Union field `removed_members`. The members to be removed from the Customer Match audience. `removed_members` can be only one of the following: ||\n| `removedContactInfoList` | `object (`[ContactInfoList](/display-video/api/reference/rest/v4/firstPartyAndPartnerAudiences#ContactInfoList)`)` Input only. A list of contact information to define the members to be removed. |\n| `removedMobileDeviceIdList` | `object (`[MobileDeviceIdList](/display-video/api/reference/rest/v4/firstPartyAndPartnerAudiences#MobileDeviceIdList)`)` Input only. A list of mobile device IDs to define the members to be removed. |\n\n### Response body\n\nThe response of FirstAndThirdPartyAudienceService.EditCustomerMatchMembers.\n\nIf successful, the response body contains data with the following structure:\n\n| JSON representation |\n|------------------------------------------------------|\n| ``` { \"firstPartyAndPartnerAudienceId\": string } ``` |\n\n| Fields ||\n|----------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `firstPartyAndPartnerAudienceId` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` Required. The ID of the updated Customer Match FirstPartyAndPartnerAudience. |\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/display-video`\n\nFor more information, see the [OAuth 2.0 Overview](/identity/protocols/OAuth2)."]]