This is legacy documentation, and may not be complete. To see the latest documentation, if you are a marketer, refer to the
Marketers site. If you are a measurement partner, refer to the
Measurement Partners site.
Method: customers.userLists.addRecipients
Stay organized with collections
Save and categorize content based on your preferences.
Add entities to 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/*}:addRecipients
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
Add these linked entities to the specified userList’s recipients. eg. 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."],[],["This describes how to add recipients to an Ads Data Hub-managed user list. A `POST` request is sent to `https://adsdatahub.googleapis.com/v1/{userList=customers/*/userLists/*}:addRecipients` using gRPC Transcoding syntax. The `userList` path parameter specifies the target list. The request body contains a JSON array, `recipientAdsDataLinks[]`, with strings representing linked entities (e.g., Google Ads Customer). Successful requests return a `UserList` instance in the response. This process requires the `https://www.googleapis.com/auth/adsdatahub` OAuth scope.\n"],null,[]]