Send feedback
Class AttributionSettings (0.13.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.13.0 keyboard_arrow_down
public final class AttributionSettings extends GeneratedMessageV3 implements AttributionSettingsOrBuilder
Represents attribution settings for conversion sources receiving
pre-attribution data.
Protobuf type google.shopping.merchant.conversions.v1beta.AttributionSettings
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int ATTRIBUTION_LOOKBACK_WINDOW_DAYS_FIELD_NUMBER
Field Value
Type
Description
int
public static final int ATTRIBUTION_MODEL_FIELD_NUMBER
Field Value
Type
Description
int
public static final int CONVERSION_TYPE_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
public static AttributionSettings getDefaultInstance ()
public static final Descriptors . Descriptor getDescriptor ()
public static AttributionSettings . Builder newBuilder ()
public static AttributionSettings . Builder newBuilder ( AttributionSettings prototype )
public static AttributionSettings parseDelimitedFrom ( InputStream input )
public static AttributionSettings parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static AttributionSettings parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
public static AttributionSettings parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
public static AttributionSettings parseFrom ( ByteString data )
public static AttributionSettings parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static AttributionSettings parseFrom ( CodedInputStream input )
public static AttributionSettings parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static AttributionSettings parseFrom ( InputStream input )
public static AttributionSettings parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static AttributionSettings parseFrom ( ByteBuffer data )
public static AttributionSettings parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
public static Parser<AttributionSettings> parser ()
Methods
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
public int getAttributionLookbackWindowDays ()
Required. Lookback windows (in days) used for attribution in this source.
Supported values are 7, 30, 40.
int32 attribution_lookback_window_days = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type
Description
int
The attributionLookbackWindowDays.
public AttributionSettings . AttributionModel getAttributionModel ()
Required. Attribution model.
.google.shopping.merchant.conversions.v1beta.AttributionSettings.AttributionModel attribution_model = 2 [(.google.api.field_behavior) = REQUIRED];
public int getAttributionModelValue ()
Required. Attribution model.
.google.shopping.merchant.conversions.v1beta.AttributionSettings.AttributionModel attribution_model = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type
Description
int
The enum numeric value on the wire for attributionModel.
public AttributionSettings . ConversionType getConversionType ( int index )
Immutable. Unordered list. List of different conversion types a conversion
event can be classified as. A standard "purchase" type will be
automatically created if this list is empty at creation time.
repeated .google.shopping.merchant.conversions.v1beta.AttributionSettings.ConversionType conversion_type = 3 [(.google.api.field_behavior) = UNORDERED_LIST, (.google.api.field_behavior) = IMMUTABLE];
Parameter
Name
Description
index
int
public int getConversionTypeCount ()
Immutable. Unordered list. List of different conversion types a conversion
event can be classified as. A standard "purchase" type will be
automatically created if this list is empty at creation time.
repeated .google.shopping.merchant.conversions.v1beta.AttributionSettings.ConversionType conversion_type = 3 [(.google.api.field_behavior) = UNORDERED_LIST, (.google.api.field_behavior) = IMMUTABLE];
Returns
Type
Description
int
public List<AttributionSettings . ConversionType > getConversionTypeList ()
Immutable. Unordered list. List of different conversion types a conversion
event can be classified as. A standard "purchase" type will be
automatically created if this list is empty at creation time.
repeated .google.shopping.merchant.conversions.v1beta.AttributionSettings.ConversionType conversion_type = 3 [(.google.api.field_behavior) = UNORDERED_LIST, (.google.api.field_behavior) = IMMUTABLE];
public AttributionSettings . ConversionTypeOrBuilder getConversionTypeOrBuilder ( int index )
Immutable. Unordered list. List of different conversion types a conversion
event can be classified as. A standard "purchase" type will be
automatically created if this list is empty at creation time.
repeated .google.shopping.merchant.conversions.v1beta.AttributionSettings.ConversionType conversion_type = 3 [(.google.api.field_behavior) = UNORDERED_LIST, (.google.api.field_behavior) = IMMUTABLE];
Parameter
Name
Description
index
int
public List <? extends AttributionSettings . ConversionTypeOrBuilder > getConversionTypeOrBuilderList ()
Immutable. Unordered list. List of different conversion types a conversion
event can be classified as. A standard "purchase" type will be
automatically created if this list is empty at creation time.
repeated .google.shopping.merchant.conversions.v1beta.AttributionSettings.ConversionType conversion_type = 3 [(.google.api.field_behavior) = UNORDERED_LIST, (.google.api.field_behavior) = IMMUTABLE];
Returns
Type
Description
List <? extends com.google.shopping.merchant.conversions.v1beta.AttributionSettings.ConversionTypeOrBuilder >
public AttributionSettings getDefaultInstanceForType ()
public Parser<AttributionSettings> getParserForType ()
Overrides
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
Returns
Type
Description
int
Overrides
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
public final boolean isInitialized ()
Overrides
public AttributionSettings . Builder newBuilderForType ()
protected AttributionSettings . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
public AttributionSettings . Builder toBuilder ()
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["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-01-27 UTC."],[],[]]