Enum Class BrandGuidelinesMigrationErrorEnum.BrandGuidelinesMigrationError

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

public static enum BrandGuidelinesMigrationErrorEnum.BrandGuidelinesMigrationError extends Enum<BrandGuidelinesMigrationErrorEnum.BrandGuidelinesMigrationError> implements com.google.protobuf.ProtocolMessageEnum
 Enum describing brand guidelines migration errors.
 
Protobuf enum google.ads.googleads.v20.errors.BrandGuidelinesMigrationErrorEnum.BrandGuidelinesMigrationError
  • Enum Constant Details

  • 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:
    • BRAND_GUIDELINES_ALREADY_ENABLED_VALUE

      public static final int BRAND_GUIDELINES_ALREADY_ENABLED_VALUE
       This campaign is already enabled for Brand Guidelines.
       
      BRAND_GUIDELINES_ALREADY_ENABLED = 2;
      See Also:
    • CANNOT_ENABLE_BRAND_GUIDELINES_FOR_REMOVED_CAMPAIGN_VALUE

      public static final int CANNOT_ENABLE_BRAND_GUIDELINES_FOR_REMOVED_CAMPAIGN_VALUE
       Brand Guidelines can only be enabled for active or suspended campaigns.
       
      CANNOT_ENABLE_BRAND_GUIDELINES_FOR_REMOVED_CAMPAIGN = 3;
      See Also:
    • BRAND_GUIDELINES_LOGO_LIMIT_EXCEEDED_VALUE

      public static final int BRAND_GUIDELINES_LOGO_LIMIT_EXCEEDED_VALUE
       Maximum of 5 square and landscape logos can be specified for Brand
       Guidelines.
       
      BRAND_GUIDELINES_LOGO_LIMIT_EXCEEDED = 4;
      See Also:
    • CANNOT_AUTO_POPULATE_BRAND_ASSETS_WHEN_BRAND_ASSETS_PROVIDED_VALUE

      public static final int CANNOT_AUTO_POPULATE_BRAND_ASSETS_WHEN_BRAND_ASSETS_PROVIDED_VALUE
       Either auto_populate_brand_assets must be true or brand_assets must be
       provided, but not both.
       
      CANNOT_AUTO_POPULATE_BRAND_ASSETS_WHEN_BRAND_ASSETS_PROVIDED = 5;
      See Also:
    • AUTO_POPULATE_BRAND_ASSETS_REQUIRED_WHEN_BRAND_ASSETS_OMITTED_VALUE

      public static final int AUTO_POPULATE_BRAND_ASSETS_REQUIRED_WHEN_BRAND_ASSETS_OMITTED_VALUE
       Either auto_populate_brand_assets can be false or brand_assets can be
       omitted, but not both.
       
      AUTO_POPULATE_BRAND_ASSETS_REQUIRED_WHEN_BRAND_ASSETS_OMITTED = 6;
      See Also:
    • TOO_MANY_ENABLE_OPERATIONS_VALUE

      public static final int TOO_MANY_ENABLE_OPERATIONS_VALUE
       A maximum of 10 enable operations can be executed in a request.
       
      TOO_MANY_ENABLE_OPERATIONS = 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

      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.
      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

      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<BrandGuidelinesMigrationErrorEnum.BrandGuidelinesMigrationError> 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 BrandGuidelinesMigrationErrorEnum.BrandGuidelinesMigrationError 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