public enum OfflineConversionAdjustmentErrorReason extends Enum<OfflineConversionAdjustmentErrorReason>
Java class for OfflineConversionAdjustmentError.Reason.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="OfflineConversionAdjustmentError.Reason">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="RETRACTION_WITH_VALUE_OR_CURRENCY"/>
<enumeration value="RESTATEMENT_WITHOUT_VALUE"/>
<enumeration value="FUTURE_CONVERSION_TIME"/>
<enumeration value="FUTURE_ADJUSTMENT_TIME"/>
<enumeration value="TOO_RECENT_CONVERSION_TYPE"/>
<enumeration value="INVALID_CONVERSION_TYPE"/>
<enumeration value="CONVERSION_ALREADY_CANCELED"/>
<enumeration value="CONVERSION_NOT_FOUND"/>
<enumeration value="CONVERSION_EXPIRED"/>
<enumeration value="ADJUSTMENT_PRECEDES_CONVERSION"/>
<enumeration value="MORE_RECENT_RESTATEMENT_FOUND"/>
<enumeration value="TOO_RECENT_CONVERSION"/>
<enumeration value="INVALID_ORDER_ID"/>
<enumeration value="CANNOT_RESTATE_CONVERSION_ACTION_THAT_ALWAYS_USES_DEFAULT_CONVERSION_VALUE"/>
<enumeration value="UNKNOWN"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
ADJUSTMENT_PRECEDES_CONVERSION
The given adjustment occurrence time precedes that of the original conversion.
|
CANNOT_RESTATE_CONVERSION_ACTION_THAT_ALWAYS_USES_DEFAULT_CONVERSION_VALUE
Restatements cannot be reported for a conversion action that always uses the default value.
|
CONVERSION_ALREADY_CANCELED
A retraction with a different adjustment occurrence timestamp was found
for this conversion.
|
CONVERSION_EXPIRED
An expired conversion was found for the given (order id, conversion name) or
(gclid, conversion occurrence time, conversion name).
|
CONVERSION_NOT_FOUND
A conversion for the given (order id, conversion name) or (gclid, conversion occurrence
time, conversion name) could not be found.
|
FUTURE_ADJUSTMENT_TIME
This adjustment time is in the future.
|
FUTURE_CONVERSION_TIME
This conversion time is in the future.
|
INVALID_CONVERSION_TYPE
This uploading account does not have a conversion type that matches the conversion
type of this adjustment.
|
INVALID_ORDER_ID
A conversion associated with this order id cannot be adjusted because the order id is less
than 2 characters or is a static value like "order_id" or "undefined".
|
MORE_RECENT_RESTATEMENT_FOUND
A restatement was found with a more recent adjustment occurrence timestamp for
the same conversion.
|
RESTATEMENT_WITHOUT_VALUE
The restatement does not contain an adjusted value.
|
RETRACTION_WITH_VALUE_OR_CURRENCY
The retraction incorrectly contains adjusted value or currency.
|
TOO_RECENT_CONVERSION
The conversion was created too recently.
|
TOO_RECENT_CONVERSION_TYPE
The adjustment's conversion type was created too recently.
|
UNKNOWN
Used for return value only.
|
| Modifier and Type | Method and Description |
|---|---|
static OfflineConversionAdjustmentErrorReason |
fromValue(String v) |
String |
value() |
static OfflineConversionAdjustmentErrorReason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OfflineConversionAdjustmentErrorReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OfflineConversionAdjustmentErrorReason RETRACTION_WITH_VALUE_OR_CURRENCY
public static final OfflineConversionAdjustmentErrorReason RESTATEMENT_WITHOUT_VALUE
public static final OfflineConversionAdjustmentErrorReason FUTURE_CONVERSION_TIME
public static final OfflineConversionAdjustmentErrorReason FUTURE_ADJUSTMENT_TIME
public static final OfflineConversionAdjustmentErrorReason TOO_RECENT_CONVERSION_TYPE
public static final OfflineConversionAdjustmentErrorReason INVALID_CONVERSION_TYPE
public static final OfflineConversionAdjustmentErrorReason CONVERSION_ALREADY_CANCELED
public static final OfflineConversionAdjustmentErrorReason CONVERSION_NOT_FOUND
public static final OfflineConversionAdjustmentErrorReason CONVERSION_EXPIRED
public static final OfflineConversionAdjustmentErrorReason ADJUSTMENT_PRECEDES_CONVERSION
public static final OfflineConversionAdjustmentErrorReason MORE_RECENT_RESTATEMENT_FOUND
public static final OfflineConversionAdjustmentErrorReason TOO_RECENT_CONVERSION
public static final OfflineConversionAdjustmentErrorReason INVALID_ORDER_ID
public static final OfflineConversionAdjustmentErrorReason CANNOT_RESTATE_CONVERSION_ACTION_THAT_ALWAYS_USES_DEFAULT_CONVERSION_VALUE
public static final OfflineConversionAdjustmentErrorReason UNKNOWN
public static OfflineConversionAdjustmentErrorReason[] values()
for (OfflineConversionAdjustmentErrorReason c : OfflineConversionAdjustmentErrorReason.values()) System.out.println(c);
public static OfflineConversionAdjustmentErrorReason 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 OfflineConversionAdjustmentErrorReason fromValue(String v)
Copyright © 2023. All rights reserved.