Method: customers.userLists.removeRecipients
Removes entities from an Ads Data Hub-managed user list’s recipients. Supported entities are: - Google Ads Customer - DV360 Partner - DV360 Advertiser These entities must be linked to the ads data customer associated with the UserList.
HTTP request
POST https://adsdatahub.googleapis.com/v1/{userList=customers/*/userLists/*}:removeRecipients
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters |
userList |
string
Required. Full resource name of the user list to be updated. Has the form of customers/[customerId]/userLists/[userlist_id]
|
Request body
The request body contains data with the following structure:
JSON representation |
{
"recipientAdsDataLinks": [
string
]
} |
Fields |
recipientAdsDataLinks[] |
string
Remove linked entities from the specified userList’s recipients. customers/[customerId]/adsDataLinks/[resource_id]
|
Response body
If successful, the response body contains an instance of UserList
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/adsdatahub
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 2024-09-18 UTC.
[null,null,["Last updated 2024-09-18 UTC."],[[["Removes Google Ads Customer, DV360 Partner, or DV360 Advertiser entities from an Ads Data Hub user list's recipients."],["Entities being removed must be linked to the Ads Data Hub user list."],["The request body requires a JSON object specifying the Ads Data Links of the entities to be removed."],["Successful removal results in a response containing the updated UserList object."],["Requires authorization with the `https://www.googleapis.com/auth/adsdatahub` scope."]]],["This outlines how to remove recipients from an Ads Data Hub-managed user list. A `POST` request is made to the specified URL, using the `userList` path parameter to identify the target list. The request body uses `recipientAdsDataLinks` to specify entities (Google Ads Customer, DV360 Partner/Advertiser) for removal. A successful operation returns an updated `UserList` object. This action requires the `https://www.googleapis.com/auth/adsdatahub` authorization scope.\n"]]