Enum Class ConversionGoalCampaignConfigErrorEnum.ConversionGoalCampaignConfigError
java.lang.Object
java.lang.Enum<ConversionGoalCampaignConfigErrorEnum.ConversionGoalCampaignConfigError>
com.google.ads.googleads.v18.errors.ConversionGoalCampaignConfigErrorEnum.ConversionGoalCampaignConfigError
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<ConversionGoalCampaignConfigErrorEnum.ConversionGoalCampaignConfigError>,Constable
- Enclosing class:
- ConversionGoalCampaignConfigErrorEnum
public static enum ConversionGoalCampaignConfigErrorEnum.ConversionGoalCampaignConfigError
extends Enum<ConversionGoalCampaignConfigErrorEnum.ConversionGoalCampaignConfigError>
implements com.google.protobuf.ProtocolMessageEnum
Enum describing possible conversion goal campaign config errors.Protobuf enum
google.ads.googleads.v18.errors.ConversionGoalCampaignConfigErrorEnum.ConversionGoalCampaignConfigError-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe campaign is not allowed to use unified goals.Campaign is managed by Search Ads 360 but uses Unified Goal.The campaign is using a custom goal that does not belong to its Google Ads conversion customer (conversion tracking customer).The campaign is using campaign override goals but has no goals configured.Performance Max campaign is not allowed to use custom goal with store sales conversion type.STORE_SALE and STORE_VISIT conversion types cannot be both included in campaign level goal.The received error code is not known in this version.Enum unspecified. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe campaign is not allowed to use unified goals.static final intCampaign is managed by Search Ads 360 but uses Unified Goal.static final intThe campaign is using a custom goal that does not belong to its Google Ads conversion customer (conversion tracking customer).static final intThe campaign is using campaign override goals but has no goals configured.static final intPerformance Max campaign is not allowed to use custom goal with store sales conversion type.static final intSTORE_SALE and STORE_VISIT conversion types cannot be both included in campaign level goal.static final intThe received error code is not known in this version.static final intEnum unspecified. -
Method Summary
Modifier and TypeMethodDescriptionforNumber(int value) static final com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<ConversionGoalCampaignConfigErrorEnum.ConversionGoalCampaignConfigError>valueOf(int value) Deprecated.valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.Returns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UNSPECIFIED
public static final ConversionGoalCampaignConfigErrorEnum.ConversionGoalCampaignConfigError UNSPECIFIEDEnum unspecified.
UNSPECIFIED = 0; -
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_CAMPAIGNCampaign 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_CUSTOMERThe 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_GOALSThe campaign is not allowed to use unified goals.
CAMPAIGN_CANNOT_USE_UNIFIED_GOALS = 4; -
EMPTY_CONVERSION_GOALS
public static final ConversionGoalCampaignConfigErrorEnum.ConversionGoalCampaignConfigError EMPTY_CONVERSION_GOALSThe campaign is using campaign override goals but has no goals configured.
EMPTY_CONVERSION_GOALS = 5; -
STORE_SALE_STORE_VISIT_CANNOT_BE_BOTH_INCLUDED
public static final ConversionGoalCampaignConfigErrorEnum.ConversionGoalCampaignConfigError STORE_SALE_STORE_VISIT_CANNOT_BE_BOTH_INCLUDEDSTORE_SALE and STORE_VISIT conversion types cannot be both included in campaign level goal.
STORE_SALE_STORE_VISIT_CANNOT_BE_BOTH_INCLUDED = 6; -
PERFORMANCE_MAX_CAMPAIGN_CANNOT_USE_CUSTOM_GOAL_WITH_STORE_SALES
public static final ConversionGoalCampaignConfigErrorEnum.ConversionGoalCampaignConfigError PERFORMANCE_MAX_CAMPAIGN_CANNOT_USE_CUSTOM_GOAL_WITH_STORE_SALESPerformance Max campaign is not allowed to use custom goal with store sales conversion type.
PERFORMANCE_MAX_CAMPAIGN_CANNOT_USE_CUSTOM_GOAL_WITH_STORE_SALES = 7; -
UNRECOGNIZED
public static final ConversionGoalCampaignConfigErrorEnum.ConversionGoalCampaignConfigError UNRECOGNIZED
-
-
Field Details
-
UNSPECIFIED_VALUE
public static final int UNSPECIFIED_VALUEEnum unspecified.
UNSPECIFIED = 0;- See Also:
-
UNKNOWN_VALUE
public static final int UNKNOWN_VALUEThe received error code is not known in this version.
UNKNOWN = 1;- See Also:
-
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_VALUECampaign is managed by Search Ads 360 but uses Unified Goal.
CANNOT_USE_CAMPAIGN_GOAL_FOR_SEARCH_ADS_360_MANAGED_CAMPAIGN = 2;- See Also:
-
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_VALUEThe 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:
-
CAMPAIGN_CANNOT_USE_UNIFIED_GOALS_VALUE
public static final int CAMPAIGN_CANNOT_USE_UNIFIED_GOALS_VALUEThe campaign is not allowed to use unified goals.
CAMPAIGN_CANNOT_USE_UNIFIED_GOALS = 4;- See Also:
-
EMPTY_CONVERSION_GOALS_VALUE
public static final int EMPTY_CONVERSION_GOALS_VALUEThe campaign is using campaign override goals but has no goals configured.
EMPTY_CONVERSION_GOALS = 5;- See Also:
-
STORE_SALE_STORE_VISIT_CANNOT_BE_BOTH_INCLUDED_VALUE
public static final int STORE_SALE_STORE_VISIT_CANNOT_BE_BOTH_INCLUDED_VALUESTORE_SALE and STORE_VISIT conversion types cannot be both included in campaign level goal.
STORE_SALE_STORE_VISIT_CANNOT_BE_BOTH_INCLUDED = 6;- See Also:
-
PERFORMANCE_MAX_CAMPAIGN_CANNOT_USE_CUSTOM_GOAL_WITH_STORE_SALES_VALUE
public static final int PERFORMANCE_MAX_CAMPAIGN_CANNOT_USE_CUSTOM_GOAL_WITH_STORE_SALES_VALUEPerformance Max campaign is not allowed to use custom goal with store sales conversion type.
PERFORMANCE_MAX_CAMPAIGN_CANNOT_USE_CUSTOM_GOAL_WITH_STORE_SALES = 7;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
public static ConversionGoalCampaignConfigErrorEnum.ConversionGoalCampaignConfigError valueOf(String name) Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- 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 class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- 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 class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-