Enum ConversionGoalCampaignConfigErrorEnum.ConversionGoalCampaignConfigError
- java.lang.Object
-
- java.lang.Enum<ConversionGoalCampaignConfigErrorEnum.ConversionGoalCampaignConfigError>
-
- com.google.ads.googleads.v10.errors.ConversionGoalCampaignConfigErrorEnum.ConversionGoalCampaignConfigError
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,java.io.Serializable,java.lang.Comparable<ConversionGoalCampaignConfigErrorEnum.ConversionGoalCampaignConfigError>
- Enclosing class:
- ConversionGoalCampaignConfigErrorEnum
public static enum ConversionGoalCampaignConfigErrorEnum.ConversionGoalCampaignConfigError extends java.lang.Enum<ConversionGoalCampaignConfigErrorEnum.ConversionGoalCampaignConfigError> implements com.google.protobuf.ProtocolMessageEnum
Enum describing possible conversion goal campaign config errors.
Protobuf enumgoogle.ads.googleads.v10.errors.ConversionGoalCampaignConfigErrorEnum.ConversionGoalCampaignConfigError
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CAMPAIGN_CANNOT_USE_UNIFIED_GOALSThe campaign is not allowed to use unified goals.CANNOT_USE_CAMPAIGN_GOAL_FOR_SEARCH_ADS_360_MANAGED_CAMPAIGNCampaign is managed by Search Ads 360 but uses Unified Goal.CUSTOM_GOAL_DOES_NOT_BELONG_TO_GOOGLE_ADS_CONVERSION_CUSTOMERThe campaign is using a custom goal that does not belong to its Google Ads conversion customer (conversion tracking customer).UNKNOWNThe received error code is not known in this version.UNRECOGNIZEDUNSPECIFIEDEnum unspecified.
-
Field Summary
Fields Modifier and Type Field Description static intCAMPAIGN_CANNOT_USE_UNIFIED_GOALS_VALUEThe campaign is not allowed to use unified goals.static intCANNOT_USE_CAMPAIGN_GOAL_FOR_SEARCH_ADS_360_MANAGED_CAMPAIGN_VALUECampaign is managed by Search Ads 360 but uses Unified Goal.static intCUSTOM_GOAL_DOES_NOT_BELONG_TO_GOOGLE_ADS_CONVERSION_CUSTOMER_VALUEThe campaign is using a custom goal that does not belong to its Google Ads conversion customer (conversion tracking customer).static intUNKNOWN_VALUEThe received error code is not known in this version.static intUNSPECIFIED_VALUEEnum unspecified.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static ConversionGoalCampaignConfigErrorEnum.ConversionGoalCampaignConfigErrorforNumber(int value)static com.google.protobuf.Descriptors.EnumDescriptorgetDescriptor()com.google.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()com.google.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()static com.google.protobuf.Internal.EnumLiteMap<ConversionGoalCampaignConfigErrorEnum.ConversionGoalCampaignConfigError>internalGetValueMap()static ConversionGoalCampaignConfigErrorEnum.ConversionGoalCampaignConfigErrorvalueOf(int value)Deprecated.static ConversionGoalCampaignConfigErrorEnum.ConversionGoalCampaignConfigErrorvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static ConversionGoalCampaignConfigErrorEnum.ConversionGoalCampaignConfigErrorvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static ConversionGoalCampaignConfigErrorEnum.ConversionGoalCampaignConfigError[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNSPECIFIED
public static final ConversionGoalCampaignConfigErrorEnum.ConversionGoalCampaignConfigError UNSPECIFIED
Enum unspecified.
UNSPECIFIED = 0;
-
UNKNOWN
public static final ConversionGoalCampaignConfigErrorEnum.ConversionGoalCampaignConfigError UNKNOWN
The received error code is not known in this version.
UNKNOWN = 1;
-
CANNOT_USE_CAMPAIGN_GOAL_FOR_SEARCH_ADS_360_MANAGED_CAMPAIGN
public static final ConversionGoalCampaignConfigErrorEnum.ConversionGoalCampaignConfigError CANNOT_USE_CAMPAIGN_GOAL_FOR_SEARCH_ADS_360_MANAGED_CAMPAIGN
Campaign is managed by Search Ads 360 but uses Unified Goal.
CANNOT_USE_CAMPAIGN_GOAL_FOR_SEARCH_ADS_360_MANAGED_CAMPAIGN = 2;
-
CUSTOM_GOAL_DOES_NOT_BELONG_TO_GOOGLE_ADS_CONVERSION_CUSTOMER
public static final ConversionGoalCampaignConfigErrorEnum.ConversionGoalCampaignConfigError CUSTOM_GOAL_DOES_NOT_BELONG_TO_GOOGLE_ADS_CONVERSION_CUSTOMER
The campaign is using a custom goal that does not belong to its Google Ads conversion customer (conversion tracking customer).
CUSTOM_GOAL_DOES_NOT_BELONG_TO_GOOGLE_ADS_CONVERSION_CUSTOMER = 3;
-
CAMPAIGN_CANNOT_USE_UNIFIED_GOALS
public static final ConversionGoalCampaignConfigErrorEnum.ConversionGoalCampaignConfigError CAMPAIGN_CANNOT_USE_UNIFIED_GOALS
The campaign is not allowed to use unified goals.
CAMPAIGN_CANNOT_USE_UNIFIED_GOALS = 4;
-
UNRECOGNIZED
public static final ConversionGoalCampaignConfigErrorEnum.ConversionGoalCampaignConfigError UNRECOGNIZED
-
-
Field Detail
-
UNSPECIFIED_VALUE
public static final int UNSPECIFIED_VALUE
Enum unspecified.
UNSPECIFIED = 0;- See Also:
- Constant Field Values
-
UNKNOWN_VALUE
public static final int UNKNOWN_VALUE
The received error code is not known in this version.
UNKNOWN = 1;- See Also:
- Constant Field Values
-
CANNOT_USE_CAMPAIGN_GOAL_FOR_SEARCH_ADS_360_MANAGED_CAMPAIGN_VALUE
public static final int CANNOT_USE_CAMPAIGN_GOAL_FOR_SEARCH_ADS_360_MANAGED_CAMPAIGN_VALUE
Campaign is managed by Search Ads 360 but uses Unified Goal.
CANNOT_USE_CAMPAIGN_GOAL_FOR_SEARCH_ADS_360_MANAGED_CAMPAIGN = 2;- See Also:
- Constant Field Values
-
CUSTOM_GOAL_DOES_NOT_BELONG_TO_GOOGLE_ADS_CONVERSION_CUSTOMER_VALUE
public static final int CUSTOM_GOAL_DOES_NOT_BELONG_TO_GOOGLE_ADS_CONVERSION_CUSTOMER_VALUE
The campaign is using a custom goal that does not belong to its Google Ads conversion customer (conversion tracking customer).
CUSTOM_GOAL_DOES_NOT_BELONG_TO_GOOGLE_ADS_CONVERSION_CUSTOMER = 3;- See Also:
- Constant Field Values
-
CAMPAIGN_CANNOT_USE_UNIFIED_GOALS_VALUE
public static final int CAMPAIGN_CANNOT_USE_UNIFIED_GOALS_VALUE
The campaign is not allowed to use unified goals.
CAMPAIGN_CANNOT_USE_UNIFIED_GOALS = 4;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static ConversionGoalCampaignConfigErrorEnum.ConversionGoalCampaignConfigError[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ConversionGoalCampaignConfigErrorEnum.ConversionGoalCampaignConfigError c : ConversionGoalCampaignConfigErrorEnum.ConversionGoalCampaignConfigError.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ConversionGoalCampaignConfigErrorEnum.ConversionGoalCampaignConfigError valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
getNumber
public final int getNumber()
- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static ConversionGoalCampaignConfigErrorEnum.ConversionGoalCampaignConfigError valueOf(int value)
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
value- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
forNumber
public static ConversionGoalCampaignConfigErrorEnum.ConversionGoalCampaignConfigError forNumber(int value)
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<ConversionGoalCampaignConfigErrorEnum.ConversionGoalCampaignConfigError> internalGetValueMap()
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
-
valueOf
public static ConversionGoalCampaignConfigErrorEnum.ConversionGoalCampaignConfigError valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
desc- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-