public enum AttributionModelType extends Enum<AttributionModelType>
Java class for AttributionModelType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="AttributionModelType">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="UNKNOWN"/>
<enumeration value="LAST_CLICK"/>
<enumeration value="FIRST_CLICK"/>
<enumeration value="LINEAR"/>
<enumeration value="TIME_DECAY"/>
<enumeration value="U_SHAPED"/>
<enumeration value="DATA_DRIVEN"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
DATA_DRIVEN
Flexible model that uses machine learning to determine the appropriate
distribution of credit among clicks.
|
FIRST_CLICK
Attributes all credit for a conversion to its first click.
|
LAST_CLICK
Attributes all credit for a conversion to its last click.
|
LINEAR
Attributes credit for a conversion equally across all of its clicks.
|
TIME_DECAY
Attributes exponentially more credit for a conversion to its more recent clicks
(half-life is 1 week).
|
U_SHAPED
Attributes 40% of the credit for a conversion to its first and last clicks.
|
UNKNOWN |
| Modifier and Type | Method and Description |
|---|---|
static AttributionModelType |
fromValue(String v) |
String |
value() |
static AttributionModelType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AttributionModelType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AttributionModelType UNKNOWN
public static final AttributionModelType LAST_CLICK
public static final AttributionModelType FIRST_CLICK
public static final AttributionModelType LINEAR
public static final AttributionModelType TIME_DECAY
public static final AttributionModelType U_SHAPED
public static final AttributionModelType DATA_DRIVEN
public static AttributionModelType[] values()
for (AttributionModelType c : AttributionModelType.values()) System.out.println(c);
public static AttributionModelType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String value()
public static AttributionModelType fromValue(String v)
Copyright © 2023. All rights reserved.