AI-generated Key Takeaways
-
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.
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 |
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[] |
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