Google Ads Data Manager V1 Client - Class CreateUserListRequest (0.2.0)

Reference documentation and code samples for the Google Ads Data Manager V1 Client class CreateUserListRequest.

Request message for CreateUserList.

Generated from protobuf message google.ads.datamanager.v1.CreateUserListRequest

Namespace

Google \ Ads \ DataManager \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The parent account where this user list will be created. Format: accountTypes/{account_type}/accounts/{account}

↳ user_list UserList

Required. The user list to create.

↳ validate_only bool

Optional. If true, the request is validated but not executed.

getParent

Required. The parent account where this user list will be created.

Format: accountTypes/{account_type}/accounts/{account}

Returns
Type Description
string

setParent

Required. The parent account where this user list will be created.

Format: accountTypes/{account_type}/accounts/{account}

Parameter
Name Description
var string
Returns
Type Description
$this

getUserList

Required. The user list to create.

Returns
Type Description
UserList|null

hasUserList

clearUserList

setUserList

Required. The user list to create.

Parameter
Name Description
var UserList
Returns
Type Description
$this

getValidateOnly

Optional. If true, the request is validated but not executed.

Returns
Type Description
bool

setValidateOnly

Optional. If true, the request is validated but not executed.

Parameter
Name Description
var bool
Returns
Type Description
$this

static::build

Parameters
Name Description
parent string

Required. The parent account where this user list will be created. Format: accountTypes/{account_type}/accounts/{account} Please see UserListServiceClient::accountName() for help formatting this field.

userList UserList

Required. The user list to create.

Returns
Type Description
CreateUserListRequest