Enum Class BrandGuidelinesMigrationErrorEnum.BrandGuidelinesMigrationError
java.lang.Object
java.lang.Enum<BrandGuidelinesMigrationErrorEnum.BrandGuidelinesMigrationError>
com.google.ads.googleads.v19.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.v19.errors.BrandGuidelinesMigrationErrorEnum.BrandGuidelinesMigrationError-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionEither auto_populate_brand_assets can be false or brand_assets can be omitted, but not both.This campaign is already enabled for Brand Guidelines.Maximum of 5 square and landscape logos can be specified for Brand Guidelines.Either auto_populate_brand_assets must be true or brand_assets must be provided, but not both.Brand Guidelines can only be enabled for active or suspended campaigns.A maximum of 10 enable operations can be executed in a request.The received error code is not known in this version.Enum unspecified. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intEither auto_populate_brand_assets can be false or brand_assets can be omitted, but not both.static final intThis campaign is already enabled for Brand Guidelines.static final intMaximum of 5 square and landscape logos can be specified for Brand Guidelines.static final intEither auto_populate_brand_assets must be true or brand_assets must be provided, but not both.static final intBrand Guidelines can only be enabled for active or suspended campaigns.static final intA maximum of 10 enable operations can be executed in a request.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<BrandGuidelinesMigrationErrorEnum.BrandGuidelinesMigrationError>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
Enum unspecified.
UNSPECIFIED = 0; -
UNKNOWN
The received error code is not known in this version.
UNKNOWN = 1; -
BRAND_GUIDELINES_ALREADY_ENABLED
public static final BrandGuidelinesMigrationErrorEnum.BrandGuidelinesMigrationError BRAND_GUIDELINES_ALREADY_ENABLEDThis campaign is already enabled for Brand Guidelines.
BRAND_GUIDELINES_ALREADY_ENABLED = 2; -
CANNOT_ENABLE_BRAND_GUIDELINES_FOR_REMOVED_CAMPAIGN
public static final BrandGuidelinesMigrationErrorEnum.BrandGuidelinesMigrationError CANNOT_ENABLE_BRAND_GUIDELINES_FOR_REMOVED_CAMPAIGNBrand Guidelines can only be enabled for active or suspended campaigns.
CANNOT_ENABLE_BRAND_GUIDELINES_FOR_REMOVED_CAMPAIGN = 3; -
BRAND_GUIDELINES_LOGO_LIMIT_EXCEEDED
public static final BrandGuidelinesMigrationErrorEnum.BrandGuidelinesMigrationError BRAND_GUIDELINES_LOGO_LIMIT_EXCEEDEDMaximum of 5 square and landscape logos can be specified for Brand Guidelines.
BRAND_GUIDELINES_LOGO_LIMIT_EXCEEDED = 4; -
CANNOT_AUTO_POPULATE_BRAND_ASSETS_WHEN_BRAND_ASSETS_PROVIDED
public static final BrandGuidelinesMigrationErrorEnum.BrandGuidelinesMigrationError CANNOT_AUTO_POPULATE_BRAND_ASSETS_WHEN_BRAND_ASSETS_PROVIDEDEither 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; -
AUTO_POPULATE_BRAND_ASSETS_REQUIRED_WHEN_BRAND_ASSETS_OMITTED
public static final BrandGuidelinesMigrationErrorEnum.BrandGuidelinesMigrationError AUTO_POPULATE_BRAND_ASSETS_REQUIRED_WHEN_BRAND_ASSETS_OMITTEDEither 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; -
TOO_MANY_ENABLE_OPERATIONS
public static final BrandGuidelinesMigrationErrorEnum.BrandGuidelinesMigrationError TOO_MANY_ENABLE_OPERATIONSA maximum of 10 enable operations can be executed in a request.
TOO_MANY_ENABLE_OPERATIONS = 7; -
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:
-
BRAND_GUIDELINES_ALREADY_ENABLED_VALUE
public static final int BRAND_GUIDELINES_ALREADY_ENABLED_VALUEThis 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_VALUEBrand 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_VALUEMaximum 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_VALUEEither 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_VALUEEither 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_VALUEA 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 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 BrandGuidelinesMigrationErrorEnum.BrandGuidelinesMigrationError 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
- 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:
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 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 nameNullPointerException- if the argument is null
-