Reference documentation and code samples for the Google Shopping Merchant Conversions V1beta Client class AttributionSettings.
Represents attribution settings for conversion sources receiving pre-attribution data.
Generated from protobuf message google.shopping.merchant.conversions.v1beta.AttributionSettings
Namespace
Google \ Shopping \ Merchant \ Conversions \ V1betaMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ attribution_lookback_window_days |
int
Required. Lookback windows (in days) used for attribution in this source. Supported values are 7, 30, 40. |
↳ attribution_model |
int
Required. Attribution model. |
↳ conversion_type |
array<Google\Shopping\Merchant\Conversions\V1beta\AttributionSettings\ConversionType>
Immutable. Unordered list. List of different conversion types a conversion event can be classified as. A standard "purchase" type will be automatically created if this list is empty at creation time. |
getAttributionLookbackWindowDays
Required. Lookback windows (in days) used for attribution in this source.
Supported values are 7, 30, 40.
Returns | |
---|---|
Type | Description |
int |
setAttributionLookbackWindowDays
Required. Lookback windows (in days) used for attribution in this source.
Supported values are 7, 30, 40.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getAttributionModel
Required. Attribution model.
Returns | |
---|---|
Type | Description |
int |
setAttributionModel
Required. Attribution model.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getConversionType
Immutable. Unordered list. List of different conversion types a conversion event can be classified as. A standard "purchase" type will be automatically created if this list is empty at creation time.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setConversionType
Immutable. Unordered list. List of different conversion types a conversion event can be classified as. A standard "purchase" type will be automatically created if this list is empty at creation time.
Parameter | |
---|---|
Name | Description |
var |
array<Google\Shopping\Merchant\Conversions\V1beta\AttributionSettings\ConversionType>
|
Returns | |
---|---|
Type | Description |
$this |