Google Shopping Merchant Conversions V1beta Client - Class CreateConversionSourceRequest (0.1.3)

Reference documentation and code samples for the Google Shopping Merchant Conversions V1beta Client class CreateConversionSourceRequest.

Request message for the CreateConversionSource method.

Generated from protobuf message google.shopping.merchant.conversions.v1beta.CreateConversionSourceRequest

Namespace

Google \ Shopping \ Merchant \ Conversions \ V1beta

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The merchant account that will own the new conversion source. Format: accounts/{account}

↳ conversion_source ConversionSource

Required. The conversion source description. A new ID will be automatically assigned to it upon creation.

getParent

Required. The merchant account that will own the new conversion source.

Format: accounts/{account}

Returns
Type Description
string

setParent

Required. The merchant account that will own the new conversion source.

Format: accounts/{account}

Parameter
Name Description
var string
Returns
Type Description
$this

getConversionSource

Required. The conversion source description. A new ID will be automatically assigned to it upon creation.

Returns
Type Description
ConversionSource|null

hasConversionSource

clearConversionSource

setConversionSource

Required. The conversion source description. A new ID will be automatically assigned to it upon creation.

Parameter
Name Description
var ConversionSource
Returns
Type Description
$this

static::build

Parameters
Name Description
parent string

Required. The merchant account that will own the new conversion source. Format: accounts/{account} Please see ConversionSourcesServiceClient::accountName() for help formatting this field.

conversionSource ConversionSource

Required. The conversion source description. A new ID will be automatically assigned to it upon creation.

Returns
Type Description
CreateConversionSourceRequest