Reference documentation and code samples for the Google Analytics Data V1alpha Client class ConversionSpec.
Controls conversion reporting.
Generated from protobuf message google.analytics.data.v1alpha.ConversionSpec
Namespace
Google \ Analytics \ Data \ V1alphaMethods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ conversion_actions
string[]
The conversion action IDs to include in the report. If empty, all conversions are included. Valid conversion action IDs can be retrieved from the conversion_action
field within the conversions
list in the response of the GetMetadata
method. For example, 'conversionActions/1234'.
↳ attribution_model
int
The attribution model to use in the Conversion Report. If unspecified, DATA_DRIVEN
is used.
getConversionActions
The conversion action IDs to include in the report. If empty, all
conversions are included. Valid conversion action IDs can be retrieved from
the conversion_action
field within the conversions
list in the
response of the GetMetadata
method. For example,
'conversionActions/1234'.
setConversionActions
The conversion action IDs to include in the report. If empty, all
conversions are included. Valid conversion action IDs can be retrieved from
the conversion_action
field within the conversions
list in the
response of the GetMetadata
method. For example,
'conversionActions/1234'.
var
string[]
$this
getAttributionModel
The attribution model to use in the Conversion Report. If unspecified, DATA_DRIVEN
is used.
setAttributionModel
The attribution model to use in the Conversion Report. If unspecified, DATA_DRIVEN
is used.
$this

