Method: customers.userLists.create

  • Creates a new Ads Data Hub user list within a specified parent resource.

  • Requires an HTTP POST request to a specific URL with the parent resource name as a path parameter.

  • The request body should contain a UserList object and authorization with the 'adsdatahub' scope.

  • A successful response will return the newly created UserList object.

Creates an Ads Data Hub-managed user list.

HTTP request

POST https://adsdatahub.googleapis.com/v1/{parent=customers/*}/userLists

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The parent resource name that owns the user list, e.g. 'customers/123'.

Request body

The request body contains an instance of UserList.

Response body

If successful, the response body contains a newly created instance of UserList.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/adsdatahub