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
Name
Description
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 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
Type
Description
string
setDisplayName
Display name of the SKAdNetwork conversion value.
The max allowed display name length is 50 UTF-16 code units.
Parameter
Name
Description
var
string
Returns
Type
Description
$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
Type
Description
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
Name
Description
var
int
Returns
Type
Description
$this
getCoarseValue
Required. A coarse grained conversion value.
This value is not guaranteed to be unique.
Returns
Type
Description
int
setCoarseValue
Required. A coarse grained conversion value.
This value is not guaranteed to be unique.
Parameter
Name
Description
var
int
Returns
Type
Description
$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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Analytics Admin V1alpha Client - Class ConversionValues (0.29.1)\n\nVersion latestkeyboard_arrow_down\n\n- [0.29.1 (latest)](/php/docs/reference/analytics-admin/latest/V1alpha.ConversionValues)\n- [0.29.0](/php/docs/reference/analytics-admin/0.29.0/V1alpha.ConversionValues)\n- [0.28.1](/php/docs/reference/analytics-admin/0.28.1/V1alpha.ConversionValues)\n- [0.27.0](/php/docs/reference/analytics-admin/0.27.0/V1alpha.ConversionValues)\n- [0.26.0](/php/docs/reference/analytics-admin/0.26.0/V1alpha.ConversionValues)\n- [0.25.2](/php/docs/reference/analytics-admin/0.25.2/V1alpha.ConversionValues)\n- [0.24.2](/php/docs/reference/analytics-admin/0.24.2/V1alpha.ConversionValues)\n- [0.23.0](/php/docs/reference/analytics-admin/0.23.0/V1alpha.ConversionValues)\n- [0.22.5](/php/docs/reference/analytics-admin/0.22.5/V1alpha.ConversionValues)\n- [0.20.0](/php/docs/reference/analytics-admin/0.20.0/V1alpha.ConversionValues)\n- [0.19.0](/php/docs/reference/analytics-admin/0.19.0/V1alpha.ConversionValues)\n- [0.18.1](/php/docs/reference/analytics-admin/0.18.1/V1alpha.ConversionValues)\n- [0.17.0](/php/docs/reference/analytics-admin/0.17.0/V1alpha.ConversionValues)\n- [0.16.0](/php/docs/reference/analytics-admin/0.16.0/V1alpha.ConversionValues)\n- [0.15.1](/php/docs/reference/analytics-admin/0.15.1/V1alpha.ConversionValues)\n- [0.14.0](/php/docs/reference/analytics-admin/0.14.0/V1alpha.ConversionValues)\n- [0.13.0](/php/docs/reference/analytics-admin/0.13.0/V1alpha.ConversionValues)\n- [0.12.0](/php/docs/reference/analytics-admin/0.12.0/V1alpha.ConversionValues)\n- [0.11.1](/php/docs/reference/analytics-admin/0.11.1/V1alpha.ConversionValues)\n- [0.10.0](/php/docs/reference/analytics-admin/0.10.0/V1alpha.ConversionValues)\n- [0.9.0](/php/docs/reference/analytics-admin/0.9.0/V1alpha.ConversionValues)\n- [0.8.2](/php/docs/reference/analytics-admin/0.8.2/V1alpha.ConversionValues) \n| **Beta**\n|\n|\n| This library is covered by the [Pre-GA Offerings Terms](/terms/service-terms#1)\n| of the Terms of Service. Pre-GA libraries might have limited support,\n| and changes to pre-GA libraries might not be compatible with other pre-GA versions.\n| For more information, see the\n[launch stage descriptions](/products#product-launch-stages). \nReference documentation and code samples for the Google Analytics Admin V1alpha Client class ConversionValues.\n\nConversion value settings for a postback window for SKAdNetwork conversion\nvalue schema.\n\nGenerated from protobuf message `google.analytics.admin.v1alpha.ConversionValues`\n\nNamespace\n---------\n\nGoogle \\\\ Analytics \\\\ Admin \\\\ V1alpha\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getDisplayName\n\nDisplay name of the SKAdNetwork conversion value.\n\nThe max allowed display name length is 50 UTF-16 code units.\n\n### setDisplayName\n\nDisplay name of the SKAdNetwork conversion value.\n\nThe max allowed display name length is 50 UTF-16 code units.\n\n### getFineValue\n\nThe fine-grained conversion value. This is applicable only to the first\npostback window. Its valid values are \\[0,63\\], both inclusive. It must be\nset for postback window 1, and must not be set for postback window 2 \\& 3.\n\nThis value is not guaranteed to be unique.\nIf the configuration for the first postback window is re-used for second or\nthird postback windows this field has no effect.\n\n### hasFineValue\n\n### clearFineValue\n\n### setFineValue\n\nThe fine-grained conversion value. This is applicable only to the first\npostback window. Its valid values are \\[0,63\\], both inclusive. It must be\nset for postback window 1, and must not be set for postback window 2 \\& 3.\n\nThis value is not guaranteed to be unique.\nIf the configuration for the first postback window is re-used for second or\nthird postback windows this field has no effect.\n\n### getCoarseValue\n\nRequired. A coarse grained conversion value.\n\nThis value is not guaranteed to be unique.\n\n### setCoarseValue\n\nRequired. A coarse grained conversion value.\n\nThis value is not guaranteed to be unique.\n\n### getEventMappings\n\nEvent conditions that must be met for this Conversion Value to be achieved.\n\nThe conditions in this list are ANDed together. It must have minimum of 1\nentry and maximum of 3 entries, if the postback window is enabled.\n\n### setEventMappings\n\nEvent conditions that must be met for this Conversion Value to be achieved.\n\nThe conditions in this list are ANDed together. It must have minimum of 1\nentry and maximum of 3 entries, if the postback window is enabled.\n\n### getLockEnabled\n\nIf true, the SDK should lock to this conversion value for the current\npostback window.\n\n### setLockEnabled\n\nIf true, the SDK should lock to this conversion value for the current\npostback window."]]