public interface ConversionSpecOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getAttributionModel()
public abstract ConversionSpec.AttributionModel getAttributionModel() The attribution model to use in the Conversion Report. If unspecified,
DATA_DRIVEN is used.
.google.analytics.data.v1alpha.ConversionSpec.AttributionModel attribution_model = 2;
| Returns | |
|---|---|
| Type | Description |
ConversionSpec.AttributionModel |
The attributionModel. |
getAttributionModelValue()
public abstract int getAttributionModelValue() The attribution model to use in the Conversion Report. If unspecified,
DATA_DRIVEN is used.
.google.analytics.data.v1alpha.ConversionSpec.AttributionModel attribution_model = 2;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for attributionModel. |
getConversionActions(int index)
public abstract String getConversionActions(int index) 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'.
repeated string conversion_actions = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The conversionActions at the given index. |
getConversionActionsBytes(int index)
public abstract ByteString getConversionActionsBytes(int index) 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'.
repeated string conversion_actions = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the conversionActions at the given index. |
getConversionActionsCount()
public abstract int getConversionActionsCount() 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'.
repeated string conversion_actions = 1;
| Returns | |
|---|---|
| Type | Description |
int |
The count of conversionActions. |
getConversionActionsList()
public abstract List<String> getConversionActionsList() 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'.
repeated string conversion_actions = 1;
| Returns | |
|---|---|
| Type | Description |
List<String> |
A list containing the conversionActions. |