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

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

Request to create a UserListDirectLicense resource.

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

Namespace

Google \ Ads \ DataManager \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The account that owns the user list being licensed. Should be in the format accountTypes/{ACCOUNT_TYPE}/accounts/{ACCOUNT_ID}

↳ user_list_direct_license UserListDirectLicense

Required. The user list direct license to create.

getParent

Required. The account that owns the user list being licensed. Should be in the format accountTypes/{ACCOUNT_TYPE}/accounts/{ACCOUNT_ID}

Returns
Type Description
string

setParent

Required. The account that owns the user list being licensed. Should be in the format accountTypes/{ACCOUNT_TYPE}/accounts/{ACCOUNT_ID}

Parameter
Name Description
var string
Returns
Type Description
$this

getUserListDirectLicense

Required. The user list direct license to create.

Returns
Type Description
UserListDirectLicense|null

hasUserListDirectLicense

clearUserListDirectLicense

setUserListDirectLicense

Required. The user list direct license to create.

Parameter
Name Description
var UserListDirectLicense
Returns
Type Description
$this

static::build

Parameters
Name Description
parent string

Required. The account that owns the user list being licensed. Should be in the format accountTypes/{ACCOUNT_TYPE}/accounts/{ACCOUNT_ID} Please see UserListDirectLicenseServiceClient::accountName() for help formatting this field.

userListDirectLicense UserListDirectLicense

Required. The user list direct license to create.

Returns
Type Description
CreateUserListDirectLicenseRequest