Method: customers.userLists.create

  • This document outlines how to create an Ads Data Hub-managed user list using an HTTP POST request.

  • The request requires a parent path parameter specifying the customer resource name.

  • The request body must contain an instance of a UserList.

  • A successful response will contain a newly created instance of a UserList.

  • The process requires the https://www.googleapis.com/auth/adsdatahub OAuth scope for authorization.

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