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

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

Message representing a types of conversion events

Generated from protobuf message google.shopping.merchant.conversions.v1beta.AttributionSettings.ConversionType

Namespace

Google \ Shopping \ Merchant \ Conversions \ V1beta \ AttributionSettings

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Output only. Conversion event name, as it'll be reported by the client.

↳ report bool

Output only. Option indicating if the type should be included in Merchant Center reporting.

getName

Output only. Conversion event name, as it'll be reported by the client.

Returns
Type Description
string

setName

Output only. Conversion event name, as it'll be reported by the client.

Parameter
Name Description
var string
Returns
Type Description
$this

getReport

Output only. Option indicating if the type should be included in Merchant Center reporting.

Returns
Type Description
bool

setReport

Output only. Option indicating if the type should be included in Merchant Center reporting.

Parameter
Name Description
var bool
Returns
Type Description
$this