Reference documentation and code samples for the Google Analytics Data V1alpha Client class ConversionMetadata.
The metadata for a single conversion.
Generated from protobuf message google.analytics.data.v1alpha.ConversionMetadata
Namespace
Google \ Analytics \ Data \ V1alphaMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ conversion_action |
string
The unique identifier of the conversion action. This ID is used to specify which conversions to include in a report by populating the |
↳ display_name |
string
This conversion's name within the Google Analytics user interface. |
getConversionAction
The unique identifier of the conversion action. This ID is used to specify
which conversions to include in a report by populating the
conversion_actions field in the ConversionsSpec of a report request.
For example, 'conversionActions/1234'.
| Returns | |
|---|---|
| Type | Description |
string |
|
setConversionAction
The unique identifier of the conversion action. This ID is used to specify
which conversions to include in a report by populating the
conversion_actions field in the ConversionsSpec of a report request.
For example, 'conversionActions/1234'.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getDisplayName
This conversion's name within the Google Analytics user interface.
| Returns | |
|---|---|
| Type | Description |
string |
|
setDisplayName
This conversion's name within the Google Analytics user interface.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|