We've updated our documentation with the latest features and updates introduced by Ads Data Hub's
two new experiences.
Advertisers, agencies, and publishers, refer to the
Marketers site.
Vendors and partners, refer to the
Measurement Partners site.
Method: customers.userLists.addRecipients
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."],[[["Add Google Ads Customer, DV360 Partner, or DV360 Advertiser entities as recipients to an Ads Data Hub-managed user list."],["Entities must be linked to the Ads Data Hub customer associated with the UserList and added using their respective Ads Data Links."],["Use the `POST` method and the provided URL with necessary path and request body parameters to add recipients."],["Successful execution returns the updated UserList object in the response body."],["Authorization requires the `https://www.googleapis.com/auth/adsdatahub` scope."]]],["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"]]