public enum BiddingStrategyErrorReason extends Enum<BiddingStrategyErrorReason>
Java class for BiddingStrategyError.Reason.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="BiddingStrategyError.Reason">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="DUPLICATE_NAME"/>
<enumeration value="CANNOT_CHANGE_BIDDING_STRATEGY_TYPE"/>
<enumeration value="CANNOT_REMOVE_ASSOCIATED_STRATEGY"/>
<enumeration value="BIDDING_STRATEGY_NOT_SUPPORTED"/>
<enumeration value="UNKNOWN"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
BIDDING_STRATEGY_NOT_SUPPORTED
The specified bidding strategy is not supported.
|
CANNOT_CHANGE_BIDDING_STRATEGY_TYPE
Bidding strategy type is immutable.
|
CANNOT_REMOVE_ASSOCIATED_STRATEGY
Only bidding strategies not linked to campaigns, adgroups or adgroup criteria can be
removed.
|
DUPLICATE_NAME
Each bidding strategy must have a unique name.
|
UNKNOWN |
| Modifier and Type | Method and Description |
|---|---|
static BiddingStrategyErrorReason |
fromValue(String v) |
String |
value() |
static BiddingStrategyErrorReason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BiddingStrategyErrorReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BiddingStrategyErrorReason DUPLICATE_NAME
public static final BiddingStrategyErrorReason CANNOT_CHANGE_BIDDING_STRATEGY_TYPE
public static final BiddingStrategyErrorReason CANNOT_REMOVE_ASSOCIATED_STRATEGY
public static final BiddingStrategyErrorReason BIDDING_STRATEGY_NOT_SUPPORTED
public static final BiddingStrategyErrorReason UNKNOWN
public static BiddingStrategyErrorReason[] values()
for (BiddingStrategyErrorReason c : BiddingStrategyErrorReason.values()) System.out.println(c);
public static BiddingStrategyErrorReason 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 BiddingStrategyErrorReason fromValue(String v)
Copyright © 2023. All rights reserved.