- 0.64.0 (latest)
- 0.63.0
- 0.62.0
- 0.61.0
- 0.59.0
- 0.58.0
- 0.57.0
- 0.56.0
- 0.55.0
- 0.54.0
- 0.53.0
- 0.52.0
- 0.51.0
- 0.50.0
- 0.49.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.37.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
public static final class AttributionSettings.Builder extends GeneratedMessageV3.Builder<AttributionSettings.Builder> implements AttributionSettingsOrBuilder
The attribution settings used for a given property. This is a singleton resource.
Protobuf type google.analytics.admin.v1alpha.AttributionSettings
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > AttributionSettings.BuilderImplements
AttributionSettingsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AttributionSettings.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
AttributionSettings.Builder |
build()
public AttributionSettings build()
Returns | |
---|---|
Type | Description |
AttributionSettings |
buildPartial()
public AttributionSettings buildPartial()
Returns | |
---|---|
Type | Description |
AttributionSettings |
clear()
public AttributionSettings.Builder clear()
Returns | |
---|---|
Type | Description |
AttributionSettings.Builder |
clearAcquisitionConversionEventLookbackWindow()
public AttributionSettings.Builder clearAcquisitionConversionEventLookbackWindow()
Required. The lookback window configuration for acquisition conversion events. The default window size is 30 days.
.google.analytics.admin.v1alpha.AttributionSettings.AcquisitionConversionEventLookbackWindow acquisition_conversion_event_lookback_window = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
AttributionSettings.Builder |
This builder for chaining. |
clearAdsWebConversionDataExportScope()
public AttributionSettings.Builder clearAdsWebConversionDataExportScope()
Required. The Conversion Export Scope for data exported to linked Ads Accounts.
.google.analytics.admin.v1alpha.AttributionSettings.AdsWebConversionDataExportScope ads_web_conversion_data_export_scope = 5 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
AttributionSettings.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public AttributionSettings.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
AttributionSettings.Builder |
clearName()
public AttributionSettings.Builder clearName()
Output only. Resource name of this attribution settings resource. Format: properties/{property_id}/attributionSettings Example: "properties/1000/attributionSettings"
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
AttributionSettings.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public AttributionSettings.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
AttributionSettings.Builder |
clearOtherConversionEventLookbackWindow()
public AttributionSettings.Builder clearOtherConversionEventLookbackWindow()
Required. The lookback window for all other, non-acquisition conversion events. The default window size is 90 days.
.google.analytics.admin.v1alpha.AttributionSettings.OtherConversionEventLookbackWindow other_conversion_event_lookback_window = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
AttributionSettings.Builder |
This builder for chaining. |
clearReportingAttributionModel()
public AttributionSettings.Builder clearReportingAttributionModel()
Required. The reporting attribution model used to calculate conversion credit in this property's reports.
Changing the attribution model will apply to both historical and future data. These changes will be reflected in reports with conversion and revenue data. User and session data will be unaffected.
.google.analytics.admin.v1alpha.AttributionSettings.ReportingAttributionModel reporting_attribution_model = 4 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
AttributionSettings.Builder |
This builder for chaining. |
clone()
public AttributionSettings.Builder clone()
Returns | |
---|---|
Type | Description |
AttributionSettings.Builder |
getAcquisitionConversionEventLookbackWindow()
public AttributionSettings.AcquisitionConversionEventLookbackWindow getAcquisitionConversionEventLookbackWindow()
Required. The lookback window configuration for acquisition conversion events. The default window size is 30 days.
.google.analytics.admin.v1alpha.AttributionSettings.AcquisitionConversionEventLookbackWindow acquisition_conversion_event_lookback_window = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
AttributionSettings.AcquisitionConversionEventLookbackWindow |
The acquisitionConversionEventLookbackWindow. |
getAcquisitionConversionEventLookbackWindowValue()
public int getAcquisitionConversionEventLookbackWindowValue()
Required. The lookback window configuration for acquisition conversion events. The default window size is 30 days.
.google.analytics.admin.v1alpha.AttributionSettings.AcquisitionConversionEventLookbackWindow acquisition_conversion_event_lookback_window = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for acquisitionConversionEventLookbackWindow. |
getAdsWebConversionDataExportScope()
public AttributionSettings.AdsWebConversionDataExportScope getAdsWebConversionDataExportScope()
Required. The Conversion Export Scope for data exported to linked Ads Accounts.
.google.analytics.admin.v1alpha.AttributionSettings.AdsWebConversionDataExportScope ads_web_conversion_data_export_scope = 5 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
AttributionSettings.AdsWebConversionDataExportScope |
The adsWebConversionDataExportScope. |
getAdsWebConversionDataExportScopeValue()
public int getAdsWebConversionDataExportScopeValue()
Required. The Conversion Export Scope for data exported to linked Ads Accounts.
.google.analytics.admin.v1alpha.AttributionSettings.AdsWebConversionDataExportScope ads_web_conversion_data_export_scope = 5 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for adsWebConversionDataExportScope. |
getDefaultInstanceForType()
public AttributionSettings getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
AttributionSettings |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getName()
public String getName()
Output only. Resource name of this attribution settings resource. Format: properties/{property_id}/attributionSettings Example: "properties/1000/attributionSettings"
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()
Output only. Resource name of this attribution settings resource. Format: properties/{property_id}/attributionSettings Example: "properties/1000/attributionSettings"
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for name. |
getOtherConversionEventLookbackWindow()
public AttributionSettings.OtherConversionEventLookbackWindow getOtherConversionEventLookbackWindow()
Required. The lookback window for all other, non-acquisition conversion events. The default window size is 90 days.
.google.analytics.admin.v1alpha.AttributionSettings.OtherConversionEventLookbackWindow other_conversion_event_lookback_window = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
AttributionSettings.OtherConversionEventLookbackWindow |
The otherConversionEventLookbackWindow. |
getOtherConversionEventLookbackWindowValue()
public int getOtherConversionEventLookbackWindowValue()
Required. The lookback window for all other, non-acquisition conversion events. The default window size is 90 days.
.google.analytics.admin.v1alpha.AttributionSettings.OtherConversionEventLookbackWindow other_conversion_event_lookback_window = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for otherConversionEventLookbackWindow. |
getReportingAttributionModel()
public AttributionSettings.ReportingAttributionModel getReportingAttributionModel()
Required. The reporting attribution model used to calculate conversion credit in this property's reports.
Changing the attribution model will apply to both historical and future data. These changes will be reflected in reports with conversion and revenue data. User and session data will be unaffected.
.google.analytics.admin.v1alpha.AttributionSettings.ReportingAttributionModel reporting_attribution_model = 4 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
AttributionSettings.ReportingAttributionModel |
The reportingAttributionModel. |
getReportingAttributionModelValue()
public int getReportingAttributionModelValue()
Required. The reporting attribution model used to calculate conversion credit in this property's reports.
Changing the attribution model will apply to both historical and future data. These changes will be reflected in reports with conversion and revenue data. User and session data will be unaffected.
.google.analytics.admin.v1alpha.AttributionSettings.ReportingAttributionModel reporting_attribution_model = 4 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for reportingAttributionModel. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(AttributionSettings other)
public AttributionSettings.Builder mergeFrom(AttributionSettings other)
Parameter | |
---|---|
Name | Description |
other |
AttributionSettings |
Returns | |
---|---|
Type | Description |
AttributionSettings.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AttributionSettings.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
AttributionSettings.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public AttributionSettings.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
AttributionSettings.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AttributionSettings.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
AttributionSettings.Builder |
setAcquisitionConversionEventLookbackWindow(AttributionSettings.AcquisitionConversionEventLookbackWindow value)
public AttributionSettings.Builder setAcquisitionConversionEventLookbackWindow(AttributionSettings.AcquisitionConversionEventLookbackWindow value)
Required. The lookback window configuration for acquisition conversion events. The default window size is 30 days.
.google.analytics.admin.v1alpha.AttributionSettings.AcquisitionConversionEventLookbackWindow acquisition_conversion_event_lookback_window = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
AttributionSettings.AcquisitionConversionEventLookbackWindow The acquisitionConversionEventLookbackWindow to set. |
Returns | |
---|---|
Type | Description |
AttributionSettings.Builder |
This builder for chaining. |
setAcquisitionConversionEventLookbackWindowValue(int value)
public AttributionSettings.Builder setAcquisitionConversionEventLookbackWindowValue(int value)
Required. The lookback window configuration for acquisition conversion events. The default window size is 30 days.
.google.analytics.admin.v1alpha.AttributionSettings.AcquisitionConversionEventLookbackWindow acquisition_conversion_event_lookback_window = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for acquisitionConversionEventLookbackWindow to set. |
Returns | |
---|---|
Type | Description |
AttributionSettings.Builder |
This builder for chaining. |
setAdsWebConversionDataExportScope(AttributionSettings.AdsWebConversionDataExportScope value)
public AttributionSettings.Builder setAdsWebConversionDataExportScope(AttributionSettings.AdsWebConversionDataExportScope value)
Required. The Conversion Export Scope for data exported to linked Ads Accounts.
.google.analytics.admin.v1alpha.AttributionSettings.AdsWebConversionDataExportScope ads_web_conversion_data_export_scope = 5 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
AttributionSettings.AdsWebConversionDataExportScope The adsWebConversionDataExportScope to set. |
Returns | |
---|---|
Type | Description |
AttributionSettings.Builder |
This builder for chaining. |
setAdsWebConversionDataExportScopeValue(int value)
public AttributionSettings.Builder setAdsWebConversionDataExportScopeValue(int value)
Required. The Conversion Export Scope for data exported to linked Ads Accounts.
.google.analytics.admin.v1alpha.AttributionSettings.AdsWebConversionDataExportScope ads_web_conversion_data_export_scope = 5 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for adsWebConversionDataExportScope to set. |
Returns | |
---|---|
Type | Description |
AttributionSettings.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public AttributionSettings.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
AttributionSettings.Builder |
setName(String value)
public AttributionSettings.Builder setName(String value)
Output only. Resource name of this attribution settings resource. Format: properties/{property_id}/attributionSettings Example: "properties/1000/attributionSettings"
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
String The name to set. |
Returns | |
---|---|
Type | Description |
AttributionSettings.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public AttributionSettings.Builder setNameBytes(ByteString value)
Output only. Resource name of this attribution settings resource. Format: properties/{property_id}/attributionSettings Example: "properties/1000/attributionSettings"
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for name to set. |
Returns | |
---|---|
Type | Description |
AttributionSettings.Builder |
This builder for chaining. |
setOtherConversionEventLookbackWindow(AttributionSettings.OtherConversionEventLookbackWindow value)
public AttributionSettings.Builder setOtherConversionEventLookbackWindow(AttributionSettings.OtherConversionEventLookbackWindow value)
Required. The lookback window for all other, non-acquisition conversion events. The default window size is 90 days.
.google.analytics.admin.v1alpha.AttributionSettings.OtherConversionEventLookbackWindow other_conversion_event_lookback_window = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
AttributionSettings.OtherConversionEventLookbackWindow The otherConversionEventLookbackWindow to set. |
Returns | |
---|---|
Type | Description |
AttributionSettings.Builder |
This builder for chaining. |
setOtherConversionEventLookbackWindowValue(int value)
public AttributionSettings.Builder setOtherConversionEventLookbackWindowValue(int value)
Required. The lookback window for all other, non-acquisition conversion events. The default window size is 90 days.
.google.analytics.admin.v1alpha.AttributionSettings.OtherConversionEventLookbackWindow other_conversion_event_lookback_window = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for otherConversionEventLookbackWindow to set. |
Returns | |
---|---|
Type | Description |
AttributionSettings.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AttributionSettings.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
AttributionSettings.Builder |
setReportingAttributionModel(AttributionSettings.ReportingAttributionModel value)
public AttributionSettings.Builder setReportingAttributionModel(AttributionSettings.ReportingAttributionModel value)
Required. The reporting attribution model used to calculate conversion credit in this property's reports.
Changing the attribution model will apply to both historical and future data. These changes will be reflected in reports with conversion and revenue data. User and session data will be unaffected.
.google.analytics.admin.v1alpha.AttributionSettings.ReportingAttributionModel reporting_attribution_model = 4 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
AttributionSettings.ReportingAttributionModel The reportingAttributionModel to set. |
Returns | |
---|---|
Type | Description |
AttributionSettings.Builder |
This builder for chaining. |
setReportingAttributionModelValue(int value)
public AttributionSettings.Builder setReportingAttributionModelValue(int value)
Required. The reporting attribution model used to calculate conversion credit in this property's reports.
Changing the attribution model will apply to both historical and future data. These changes will be reflected in reports with conversion and revenue data. User and session data will be unaffected.
.google.analytics.admin.v1alpha.AttributionSettings.ReportingAttributionModel reporting_attribution_model = 4 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for reportingAttributionModel to set. |
Returns | |
---|---|
Type | Description |
AttributionSettings.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final AttributionSettings.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
AttributionSettings.Builder |