Enum ConversionGoalCampaignConfigErrorEnum.ConversionGoalCampaignConfigError

    • 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
      • EMPTY_CONVERSION_GOALS_VALUE

        public static final int EMPTY_CONVERSION_GOALS_VALUE
         The campaign is using campaign override goals but has no goals
         configured.
         
        EMPTY_CONVERSION_GOALS = 5;
        See Also:
        Constant Field Values
      • STORE_SALE_STORE_VISIT_CANNOT_BE_BOTH_INCLUDED_VALUE

        public static final int STORE_SALE_STORE_VISIT_CANNOT_BE_BOTH_INCLUDED_VALUE
         STORE_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:
        Constant Field Values
      • 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_VALUE
         Performance 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:
        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 name
        java.lang.NullPointerException - if the argument is null
      • getNumber

        public final int getNumber()
        Specified by:
        getNumber in interface com.google.protobuf.Internal.EnumLite
        Specified by:
        getNumber in interface com.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 name
        java.lang.NullPointerException - if the argument is null
      • getValueDescriptor

        public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
        Specified by:
        getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
      • getDescriptorForType

        public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.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 name
        java.lang.NullPointerException - if the argument is null