Google Analytics Admin V1alpha Client - Class ConversionValues (0.19.0)

Reference documentation and code samples for the Google Analytics Admin V1alpha Client class ConversionValues.

Conversion value settings for a postback window for SKAdNetwork conversion value schema.

Generated from protobuf message google.analytics.admin.v1alpha.ConversionValues

Namespace

Google \ Analytics \ Admin \ V1alpha

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ display_name string

Display name of the SKAdNetwork conversion value. The max allowed display name length is 50 UTF-16 code units.

↳ fine_value int

The fine-grained conversion value. This is applicable only to the first postback window. Its valid values are [0,63], both inclusive. It must be set for postback window 1, and must not be set for postback window 2 & 3. This value is not guaranteed to be unique. If the configuration for the first postback window is re-used for second or third postback windows this field has no effect.

↳ coarse_value int

Required. A coarse grained conversion value. This value is not guaranteed to be unique.

↳ event_mappings array<Google\Analytics\Admin\V1alpha\EventMapping>

Event conditions that must be met for this Conversion Value to be achieved. The conditions in this list are ANDed together. It must have minimum of 1 entry and maximum of 3 entries, if the postback window is enabled.

↳ lock_enabled bool

If true, the SDK should lock to this conversion value for the current postback window.

getDisplayName

Display name of the SKAdNetwork conversion value.

The max allowed display name length is 50 UTF-16 code units.

Returns
TypeDescription
string

setDisplayName

Display name of the SKAdNetwork conversion value.

The max allowed display name length is 50 UTF-16 code units.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getFineValue

The fine-grained conversion value. This is applicable only to the first postback window. Its valid values are [0,63], both inclusive. It must be set for postback window 1, and must not be set for postback window 2 & 3.

This value is not guaranteed to be unique. If the configuration for the first postback window is re-used for second or third postback windows this field has no effect.

Returns
TypeDescription
int

hasFineValue

clearFineValue

setFineValue

The fine-grained conversion value. This is applicable only to the first postback window. Its valid values are [0,63], both inclusive. It must be set for postback window 1, and must not be set for postback window 2 & 3.

This value is not guaranteed to be unique. If the configuration for the first postback window is re-used for second or third postback windows this field has no effect.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getCoarseValue

Required. A coarse grained conversion value.

This value is not guaranteed to be unique.

Returns
TypeDescription
int

setCoarseValue

Required. A coarse grained conversion value.

This value is not guaranteed to be unique.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getEventMappings

Event conditions that must be met for this Conversion Value to be achieved.

The conditions in this list are ANDed together. It must have minimum of 1 entry and maximum of 3 entries, if the postback window is enabled.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setEventMappings

Event conditions that must be met for this Conversion Value to be achieved.

The conditions in this list are ANDed together. It must have minimum of 1 entry and maximum of 3 entries, if the postback window is enabled.

Parameter
NameDescription
var array<Google\Analytics\Admin\V1alpha\EventMapping>
Returns
TypeDescription
$this

getLockEnabled

If true, the SDK should lock to this conversion value for the current postback window.

Returns
TypeDescription
bool

setLockEnabled

If true, the SDK should lock to this conversion value for the current postback window.

Parameter
NameDescription
var bool
Returns
TypeDescription
$this