Enum Class FeedMappingErrorEnum.FeedMappingError

java.lang.Object
java.lang.Enum<FeedMappingErrorEnum.FeedMappingError>
com.google.ads.googleads.v18.errors.FeedMappingErrorEnum.FeedMappingError
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<FeedMappingErrorEnum.FeedMappingError>, Constable
Enclosing class:
FeedMappingErrorEnum

public static enum FeedMappingErrorEnum.FeedMappingError extends Enum<FeedMappingErrorEnum.FeedMappingError> implements com.google.protobuf.ProtocolMessageEnum
 Enum describing possible feed item errors.
 
Protobuf enum google.ads.googleads.v18.errors.FeedMappingErrorEnum.FeedMappingError
  • Enum Constant Details

    • UNSPECIFIED

      public static final FeedMappingErrorEnum.FeedMappingError UNSPECIFIED
       Enum unspecified.
       
      UNSPECIFIED = 0;
    • UNKNOWN

      public static final FeedMappingErrorEnum.FeedMappingError UNKNOWN
       The received error code is not known in this version.
       
      UNKNOWN = 1;
    • INVALID_PLACEHOLDER_FIELD

      public static final FeedMappingErrorEnum.FeedMappingError INVALID_PLACEHOLDER_FIELD
       The given placeholder field does not exist.
       
      INVALID_PLACEHOLDER_FIELD = 2;
    • INVALID_CRITERION_FIELD

      public static final FeedMappingErrorEnum.FeedMappingError INVALID_CRITERION_FIELD
       The given criterion field does not exist.
       
      INVALID_CRITERION_FIELD = 3;
    • INVALID_PLACEHOLDER_TYPE

      public static final FeedMappingErrorEnum.FeedMappingError INVALID_PLACEHOLDER_TYPE
       The given placeholder type does not exist.
       
      INVALID_PLACEHOLDER_TYPE = 4;
    • INVALID_CRITERION_TYPE

      public static final FeedMappingErrorEnum.FeedMappingError INVALID_CRITERION_TYPE
       The given criterion type does not exist.
       
      INVALID_CRITERION_TYPE = 5;
    • NO_ATTRIBUTE_FIELD_MAPPINGS

      public static final FeedMappingErrorEnum.FeedMappingError NO_ATTRIBUTE_FIELD_MAPPINGS
       A feed mapping must contain at least one attribute field mapping.
       
      NO_ATTRIBUTE_FIELD_MAPPINGS = 7;
    • FEED_ATTRIBUTE_TYPE_MISMATCH

      public static final FeedMappingErrorEnum.FeedMappingError FEED_ATTRIBUTE_TYPE_MISMATCH
       The type of the feed attribute referenced in the attribute field mapping
       must match the type of the placeholder field.
       
      FEED_ATTRIBUTE_TYPE_MISMATCH = 8;
    • CANNOT_OPERATE_ON_MAPPINGS_FOR_SYSTEM_GENERATED_FEED

      public static final FeedMappingErrorEnum.FeedMappingError CANNOT_OPERATE_ON_MAPPINGS_FOR_SYSTEM_GENERATED_FEED
       A feed mapping for a system generated feed cannot be operated on.
       
      CANNOT_OPERATE_ON_MAPPINGS_FOR_SYSTEM_GENERATED_FEED = 9;
    • MULTIPLE_MAPPINGS_FOR_PLACEHOLDER_TYPE

      public static final FeedMappingErrorEnum.FeedMappingError MULTIPLE_MAPPINGS_FOR_PLACEHOLDER_TYPE
       Only one feed mapping for a placeholder type is allowed per feed or
       customer (depending on the placeholder type).
       
      MULTIPLE_MAPPINGS_FOR_PLACEHOLDER_TYPE = 10;
    • MULTIPLE_MAPPINGS_FOR_CRITERION_TYPE

      public static final FeedMappingErrorEnum.FeedMappingError MULTIPLE_MAPPINGS_FOR_CRITERION_TYPE
       Only one feed mapping for a criterion type is allowed per customer.
       
      MULTIPLE_MAPPINGS_FOR_CRITERION_TYPE = 11;
    • MULTIPLE_MAPPINGS_FOR_PLACEHOLDER_FIELD

      public static final FeedMappingErrorEnum.FeedMappingError MULTIPLE_MAPPINGS_FOR_PLACEHOLDER_FIELD
       Only one feed attribute mapping for a placeholder field is allowed
       (depending on the placeholder type).
       
      MULTIPLE_MAPPINGS_FOR_PLACEHOLDER_FIELD = 12;
    • MULTIPLE_MAPPINGS_FOR_CRITERION_FIELD

      public static final FeedMappingErrorEnum.FeedMappingError MULTIPLE_MAPPINGS_FOR_CRITERION_FIELD
       Only one feed attribute mapping for a criterion field is allowed
       (depending on the criterion type).
       
      MULTIPLE_MAPPINGS_FOR_CRITERION_FIELD = 13;
    • UNEXPECTED_ATTRIBUTE_FIELD_MAPPINGS

      public static final FeedMappingErrorEnum.FeedMappingError UNEXPECTED_ATTRIBUTE_FIELD_MAPPINGS
       This feed mapping may not contain any explicit attribute field mappings.
       
      UNEXPECTED_ATTRIBUTE_FIELD_MAPPINGS = 14;
    • LOCATION_PLACEHOLDER_ONLY_FOR_PLACES_FEEDS

      public static final FeedMappingErrorEnum.FeedMappingError LOCATION_PLACEHOLDER_ONLY_FOR_PLACES_FEEDS
       Location placeholder feed mappings can only be created for Places feeds.
       
      LOCATION_PLACEHOLDER_ONLY_FOR_PLACES_FEEDS = 15;
    • CANNOT_MODIFY_MAPPINGS_FOR_TYPED_FEED

      public static final FeedMappingErrorEnum.FeedMappingError CANNOT_MODIFY_MAPPINGS_FOR_TYPED_FEED
       Mappings for typed feeds cannot be modified.
       
      CANNOT_MODIFY_MAPPINGS_FOR_TYPED_FEED = 16;
    • INVALID_PLACEHOLDER_TYPE_FOR_NON_SYSTEM_GENERATED_FEED

      public static final FeedMappingErrorEnum.FeedMappingError INVALID_PLACEHOLDER_TYPE_FOR_NON_SYSTEM_GENERATED_FEED
       The given placeholder type can only be mapped to system generated feeds.
       
      INVALID_PLACEHOLDER_TYPE_FOR_NON_SYSTEM_GENERATED_FEED = 17;
    • INVALID_PLACEHOLDER_TYPE_FOR_SYSTEM_GENERATED_FEED_TYPE

      public static final FeedMappingErrorEnum.FeedMappingError INVALID_PLACEHOLDER_TYPE_FOR_SYSTEM_GENERATED_FEED_TYPE
       The given placeholder type cannot be mapped to a system generated feed
       with the given type.
       
      INVALID_PLACEHOLDER_TYPE_FOR_SYSTEM_GENERATED_FEED_TYPE = 18;
    • ATTRIBUTE_FIELD_MAPPING_MISSING_FIELD

      public static final FeedMappingErrorEnum.FeedMappingError ATTRIBUTE_FIELD_MAPPING_MISSING_FIELD
       The "field" oneof was not set in an AttributeFieldMapping.
       
      ATTRIBUTE_FIELD_MAPPING_MISSING_FIELD = 19;
    • LEGACY_FEED_TYPE_READ_ONLY

      public static final FeedMappingErrorEnum.FeedMappingError LEGACY_FEED_TYPE_READ_ONLY
       Feed is read only.
       
      LEGACY_FEED_TYPE_READ_ONLY = 20;
    • UNRECOGNIZED

      public static final FeedMappingErrorEnum.FeedMappingError UNRECOGNIZED
  • Field Details

    • UNSPECIFIED_VALUE

      public static final int UNSPECIFIED_VALUE
       Enum unspecified.
       
      UNSPECIFIED = 0;
      See Also:
    • UNKNOWN_VALUE

      public static final int UNKNOWN_VALUE
       The received error code is not known in this version.
       
      UNKNOWN = 1;
      See Also:
    • INVALID_PLACEHOLDER_FIELD_VALUE

      public static final int INVALID_PLACEHOLDER_FIELD_VALUE
       The given placeholder field does not exist.
       
      INVALID_PLACEHOLDER_FIELD = 2;
      See Also:
    • INVALID_CRITERION_FIELD_VALUE

      public static final int INVALID_CRITERION_FIELD_VALUE
       The given criterion field does not exist.
       
      INVALID_CRITERION_FIELD = 3;
      See Also:
    • INVALID_PLACEHOLDER_TYPE_VALUE

      public static final int INVALID_PLACEHOLDER_TYPE_VALUE
       The given placeholder type does not exist.
       
      INVALID_PLACEHOLDER_TYPE = 4;
      See Also:
    • INVALID_CRITERION_TYPE_VALUE

      public static final int INVALID_CRITERION_TYPE_VALUE
       The given criterion type does not exist.
       
      INVALID_CRITERION_TYPE = 5;
      See Also:
    • NO_ATTRIBUTE_FIELD_MAPPINGS_VALUE

      public static final int NO_ATTRIBUTE_FIELD_MAPPINGS_VALUE
       A feed mapping must contain at least one attribute field mapping.
       
      NO_ATTRIBUTE_FIELD_MAPPINGS = 7;
      See Also:
    • FEED_ATTRIBUTE_TYPE_MISMATCH_VALUE

      public static final int FEED_ATTRIBUTE_TYPE_MISMATCH_VALUE
       The type of the feed attribute referenced in the attribute field mapping
       must match the type of the placeholder field.
       
      FEED_ATTRIBUTE_TYPE_MISMATCH = 8;
      See Also:
    • CANNOT_OPERATE_ON_MAPPINGS_FOR_SYSTEM_GENERATED_FEED_VALUE

      public static final int CANNOT_OPERATE_ON_MAPPINGS_FOR_SYSTEM_GENERATED_FEED_VALUE
       A feed mapping for a system generated feed cannot be operated on.
       
      CANNOT_OPERATE_ON_MAPPINGS_FOR_SYSTEM_GENERATED_FEED = 9;
      See Also:
    • MULTIPLE_MAPPINGS_FOR_PLACEHOLDER_TYPE_VALUE

      public static final int MULTIPLE_MAPPINGS_FOR_PLACEHOLDER_TYPE_VALUE
       Only one feed mapping for a placeholder type is allowed per feed or
       customer (depending on the placeholder type).
       
      MULTIPLE_MAPPINGS_FOR_PLACEHOLDER_TYPE = 10;
      See Also:
    • MULTIPLE_MAPPINGS_FOR_CRITERION_TYPE_VALUE

      public static final int MULTIPLE_MAPPINGS_FOR_CRITERION_TYPE_VALUE
       Only one feed mapping for a criterion type is allowed per customer.
       
      MULTIPLE_MAPPINGS_FOR_CRITERION_TYPE = 11;
      See Also:
    • MULTIPLE_MAPPINGS_FOR_PLACEHOLDER_FIELD_VALUE

      public static final int MULTIPLE_MAPPINGS_FOR_PLACEHOLDER_FIELD_VALUE
       Only one feed attribute mapping for a placeholder field is allowed
       (depending on the placeholder type).
       
      MULTIPLE_MAPPINGS_FOR_PLACEHOLDER_FIELD = 12;
      See Also:
    • MULTIPLE_MAPPINGS_FOR_CRITERION_FIELD_VALUE

      public static final int MULTIPLE_MAPPINGS_FOR_CRITERION_FIELD_VALUE
       Only one feed attribute mapping for a criterion field is allowed
       (depending on the criterion type).
       
      MULTIPLE_MAPPINGS_FOR_CRITERION_FIELD = 13;
      See Also:
    • UNEXPECTED_ATTRIBUTE_FIELD_MAPPINGS_VALUE

      public static final int UNEXPECTED_ATTRIBUTE_FIELD_MAPPINGS_VALUE
       This feed mapping may not contain any explicit attribute field mappings.
       
      UNEXPECTED_ATTRIBUTE_FIELD_MAPPINGS = 14;
      See Also:
    • LOCATION_PLACEHOLDER_ONLY_FOR_PLACES_FEEDS_VALUE

      public static final int LOCATION_PLACEHOLDER_ONLY_FOR_PLACES_FEEDS_VALUE
       Location placeholder feed mappings can only be created for Places feeds.
       
      LOCATION_PLACEHOLDER_ONLY_FOR_PLACES_FEEDS = 15;
      See Also:
    • CANNOT_MODIFY_MAPPINGS_FOR_TYPED_FEED_VALUE

      public static final int CANNOT_MODIFY_MAPPINGS_FOR_TYPED_FEED_VALUE
       Mappings for typed feeds cannot be modified.
       
      CANNOT_MODIFY_MAPPINGS_FOR_TYPED_FEED = 16;
      See Also:
    • INVALID_PLACEHOLDER_TYPE_FOR_NON_SYSTEM_GENERATED_FEED_VALUE

      public static final int INVALID_PLACEHOLDER_TYPE_FOR_NON_SYSTEM_GENERATED_FEED_VALUE
       The given placeholder type can only be mapped to system generated feeds.
       
      INVALID_PLACEHOLDER_TYPE_FOR_NON_SYSTEM_GENERATED_FEED = 17;
      See Also:
    • INVALID_PLACEHOLDER_TYPE_FOR_SYSTEM_GENERATED_FEED_TYPE_VALUE

      public static final int INVALID_PLACEHOLDER_TYPE_FOR_SYSTEM_GENERATED_FEED_TYPE_VALUE
       The given placeholder type cannot be mapped to a system generated feed
       with the given type.
       
      INVALID_PLACEHOLDER_TYPE_FOR_SYSTEM_GENERATED_FEED_TYPE = 18;
      See Also:
    • ATTRIBUTE_FIELD_MAPPING_MISSING_FIELD_VALUE

      public static final int ATTRIBUTE_FIELD_MAPPING_MISSING_FIELD_VALUE
       The "field" oneof was not set in an AttributeFieldMapping.
       
      ATTRIBUTE_FIELD_MAPPING_MISSING_FIELD = 19;
      See Also:
    • LEGACY_FEED_TYPE_READ_ONLY_VALUE

      public static final int LEGACY_FEED_TYPE_READ_ONLY_VALUE
       Feed is read only.
       
      LEGACY_FEED_TYPE_READ_ONLY = 20;
      See Also:
  • Method Details

    • values

      public static FeedMappingErrorEnum.FeedMappingError[] 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 FeedMappingErrorEnum.FeedMappingError 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 name
      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 FeedMappingErrorEnum.FeedMappingError 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 name
      NullPointerException - if the argument is null
    • forNumber

      public static FeedMappingErrorEnum.FeedMappingError 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<FeedMappingErrorEnum.FeedMappingError> internalGetValueMap()
    • 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 FeedMappingErrorEnum.FeedMappingError 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 name
      NullPointerException - if the argument is null