Enum Class RequestErrorEnum.RequestError
java.lang.Object
java.lang.Enum<RequestErrorEnum.RequestError>
com.google.ads.googleads.v18.errors.RequestErrorEnum.RequestError
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<RequestErrorEnum.RequestError>,Constable
- Enclosing class:
- RequestErrorEnum
public static enum RequestErrorEnum.RequestError
extends Enum<RequestErrorEnum.RequestError>
implements com.google.protobuf.ProtocolMessageEnum
Enum describing possible request errors.Protobuf enum
google.ads.googleads.v18.errors.RequestErrorEnum.RequestError-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionResource name provided is malformed.Request cannot be executed by a manager account.Mutate request was attempting to modify a readonly field.return_summary_row cannot be enabled if request did not select any metrics field.return_summary_row should not be enabled for validate only requests.The Google Cloud project in the request was not found.The developer-token parameter is required for all requests.Next page token specified in user request has expired.The field cannot be modified because it's immutable.return_summary_row parameter value should be the same between requests with page_token field set and their original request.Customer ID is invalid.Enum value is not permitted.Page size specified in user request is invalid.Next page token specified in user request is invalid.The login-customer-id parameter is required for this request.Mutate operation should have either create, update, or remove specified.Setting the page size is not supported, and will be unavailable in a future version.Required field is missing.Resource name provided is malformed.Resource name is required for this request.Requested resource not found.Deadline specified by the client was too short.Received too many entries in request.The total results count cannot be returned if it was not requested in the original request.The received error code is not known in this version.Enum unspecified.This API version has been sunset and is no longer supported.page_token is set in the validate only request -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intResource name provided is malformed.static final intRequest cannot be executed by a manager account.static final intMutate request was attempting to modify a readonly field.static final intreturn_summary_row cannot be enabled if request did not select any metrics field.static final intreturn_summary_row should not be enabled for validate only requests.static final intThe Google Cloud project in the request was not found.static final intThe developer-token parameter is required for all requests.static final intNext page token specified in user request has expired.static final intThe field cannot be modified because it's immutable.static final intreturn_summary_row parameter value should be the same between requests with page_token field set and their original request.static final intCustomer ID is invalid.static final intEnum value is not permitted.static final intPage size specified in user request is invalid.static final intNext page token specified in user request is invalid.static final intThe login-customer-id parameter is required for this request.static final intMutate operation should have either create, update, or remove specified.static final intSetting the page size is not supported, and will be unavailable in a future version.static final intRequired field is missing.static final intResource name provided is malformed.static final intResource name is required for this request.static final intRequested resource not found.static final intDeadline specified by the client was too short.static final intReceived too many entries in request.static final intThe total results count cannot be returned if it was not requested in the original request.static final intThe received error code is not known in this version.static final intEnum unspecified.static final intThis API version has been sunset and is no longer supported.static final intpage_token is set in the validate only request -
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<RequestErrorEnum.RequestError>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.static RequestErrorEnum.RequestError[]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; -
RESOURCE_NAME_MISSING
Resource name is required for this request.
RESOURCE_NAME_MISSING = 3; -
RESOURCE_NAME_MALFORMED
Resource name provided is malformed.
RESOURCE_NAME_MALFORMED = 4; -
BAD_RESOURCE_ID
Resource name provided is malformed.
BAD_RESOURCE_ID = 17; -
INVALID_CUSTOMER_ID
Customer ID is invalid.
INVALID_CUSTOMER_ID = 16; -
OPERATION_REQUIRED
Mutate operation should have either create, update, or remove specified.
OPERATION_REQUIRED = 5; -
RESOURCE_NOT_FOUND
Requested resource not found.
RESOURCE_NOT_FOUND = 6; -
INVALID_PAGE_TOKEN
Next page token specified in user request is invalid.
INVALID_PAGE_TOKEN = 7; -
EXPIRED_PAGE_TOKEN
Next page token specified in user request has expired.
EXPIRED_PAGE_TOKEN = 8; -
INVALID_PAGE_SIZE
Page size specified in user request is invalid.
INVALID_PAGE_SIZE = 22; -
PAGE_SIZE_NOT_SUPPORTED
Setting the page size is not supported, and will be unavailable in a future version.
PAGE_SIZE_NOT_SUPPORTED = 40; -
REQUIRED_FIELD_MISSING
Required field is missing.
REQUIRED_FIELD_MISSING = 9; -
IMMUTABLE_FIELD
The field cannot be modified because it's immutable. It's also possible that the field can be modified using 'create' operation but not 'update'.
IMMUTABLE_FIELD = 11; -
TOO_MANY_MUTATE_OPERATIONS
Received too many entries in request.
TOO_MANY_MUTATE_OPERATIONS = 13; -
CANNOT_BE_EXECUTED_BY_MANAGER_ACCOUNT
Request cannot be executed by a manager account.
CANNOT_BE_EXECUTED_BY_MANAGER_ACCOUNT = 14; -
CANNOT_MODIFY_FOREIGN_FIELD
Mutate request was attempting to modify a readonly field. For instance, Budget fields can be requested for Ad Group, but are read-only for adGroups:mutate.
CANNOT_MODIFY_FOREIGN_FIELD = 15; -
INVALID_ENUM_VALUE
Enum value is not permitted.
INVALID_ENUM_VALUE = 18; -
DEVELOPER_TOKEN_PARAMETER_MISSING
The developer-token parameter is required for all requests.
DEVELOPER_TOKEN_PARAMETER_MISSING = 19; -
LOGIN_CUSTOMER_ID_PARAMETER_MISSING
The login-customer-id parameter is required for this request.
LOGIN_CUSTOMER_ID_PARAMETER_MISSING = 20; -
VALIDATE_ONLY_REQUEST_HAS_PAGE_TOKEN
page_token is set in the validate only request
VALIDATE_ONLY_REQUEST_HAS_PAGE_TOKEN = 21; -
CANNOT_RETURN_SUMMARY_ROW_FOR_REQUEST_WITHOUT_METRICS
public static final RequestErrorEnum.RequestError CANNOT_RETURN_SUMMARY_ROW_FOR_REQUEST_WITHOUT_METRICSreturn_summary_row cannot be enabled if request did not select any metrics field.
CANNOT_RETURN_SUMMARY_ROW_FOR_REQUEST_WITHOUT_METRICS = 29; -
CANNOT_RETURN_SUMMARY_ROW_FOR_VALIDATE_ONLY_REQUESTS
public static final RequestErrorEnum.RequestError CANNOT_RETURN_SUMMARY_ROW_FOR_VALIDATE_ONLY_REQUESTSreturn_summary_row should not be enabled for validate only requests.
CANNOT_RETURN_SUMMARY_ROW_FOR_VALIDATE_ONLY_REQUESTS = 30; -
INCONSISTENT_RETURN_SUMMARY_ROW_VALUE
return_summary_row parameter value should be the same between requests with page_token field set and their original request.
INCONSISTENT_RETURN_SUMMARY_ROW_VALUE = 31; -
TOTAL_RESULTS_COUNT_NOT_ORIGINALLY_REQUESTED
The total results count cannot be returned if it was not requested in the original request.
TOTAL_RESULTS_COUNT_NOT_ORIGINALLY_REQUESTED = 32; -
RPC_DEADLINE_TOO_SHORT
Deadline specified by the client was too short.
RPC_DEADLINE_TOO_SHORT = 33; -
UNSUPPORTED_VERSION
This API version has been sunset and is no longer supported.
UNSUPPORTED_VERSION = 38; -
CLOUD_PROJECT_NOT_FOUND
The Google Cloud project in the request was not found.
CLOUD_PROJECT_NOT_FOUND = 39; -
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:
-
RESOURCE_NAME_MISSING_VALUE
public static final int RESOURCE_NAME_MISSING_VALUEResource name is required for this request.
RESOURCE_NAME_MISSING = 3;- See Also:
-
RESOURCE_NAME_MALFORMED_VALUE
public static final int RESOURCE_NAME_MALFORMED_VALUEResource name provided is malformed.
RESOURCE_NAME_MALFORMED = 4;- See Also:
-
BAD_RESOURCE_ID_VALUE
public static final int BAD_RESOURCE_ID_VALUEResource name provided is malformed.
BAD_RESOURCE_ID = 17;- See Also:
-
INVALID_CUSTOMER_ID_VALUE
public static final int INVALID_CUSTOMER_ID_VALUECustomer ID is invalid.
INVALID_CUSTOMER_ID = 16;- See Also:
-
OPERATION_REQUIRED_VALUE
public static final int OPERATION_REQUIRED_VALUEMutate operation should have either create, update, or remove specified.
OPERATION_REQUIRED = 5;- See Also:
-
RESOURCE_NOT_FOUND_VALUE
public static final int RESOURCE_NOT_FOUND_VALUERequested resource not found.
RESOURCE_NOT_FOUND = 6;- See Also:
-
INVALID_PAGE_TOKEN_VALUE
public static final int INVALID_PAGE_TOKEN_VALUENext page token specified in user request is invalid.
INVALID_PAGE_TOKEN = 7;- See Also:
-
EXPIRED_PAGE_TOKEN_VALUE
public static final int EXPIRED_PAGE_TOKEN_VALUENext page token specified in user request has expired.
EXPIRED_PAGE_TOKEN = 8;- See Also:
-
INVALID_PAGE_SIZE_VALUE
public static final int INVALID_PAGE_SIZE_VALUEPage size specified in user request is invalid.
INVALID_PAGE_SIZE = 22;- See Also:
-
PAGE_SIZE_NOT_SUPPORTED_VALUE
public static final int PAGE_SIZE_NOT_SUPPORTED_VALUESetting the page size is not supported, and will be unavailable in a future version.
PAGE_SIZE_NOT_SUPPORTED = 40;- See Also:
-
REQUIRED_FIELD_MISSING_VALUE
public static final int REQUIRED_FIELD_MISSING_VALUERequired field is missing.
REQUIRED_FIELD_MISSING = 9;- See Also:
-
IMMUTABLE_FIELD_VALUE
public static final int IMMUTABLE_FIELD_VALUEThe field cannot be modified because it's immutable. It's also possible that the field can be modified using 'create' operation but not 'update'.
IMMUTABLE_FIELD = 11;- See Also:
-
TOO_MANY_MUTATE_OPERATIONS_VALUE
public static final int TOO_MANY_MUTATE_OPERATIONS_VALUEReceived too many entries in request.
TOO_MANY_MUTATE_OPERATIONS = 13;- See Also:
-
CANNOT_BE_EXECUTED_BY_MANAGER_ACCOUNT_VALUE
public static final int CANNOT_BE_EXECUTED_BY_MANAGER_ACCOUNT_VALUERequest cannot be executed by a manager account.
CANNOT_BE_EXECUTED_BY_MANAGER_ACCOUNT = 14;- See Also:
-
CANNOT_MODIFY_FOREIGN_FIELD_VALUE
public static final int CANNOT_MODIFY_FOREIGN_FIELD_VALUEMutate request was attempting to modify a readonly field. For instance, Budget fields can be requested for Ad Group, but are read-only for adGroups:mutate.
CANNOT_MODIFY_FOREIGN_FIELD = 15;- See Also:
-
INVALID_ENUM_VALUE_VALUE
public static final int INVALID_ENUM_VALUE_VALUEEnum value is not permitted.
INVALID_ENUM_VALUE = 18;- See Also:
-
DEVELOPER_TOKEN_PARAMETER_MISSING_VALUE
public static final int DEVELOPER_TOKEN_PARAMETER_MISSING_VALUEThe developer-token parameter is required for all requests.
DEVELOPER_TOKEN_PARAMETER_MISSING = 19;- See Also:
-
LOGIN_CUSTOMER_ID_PARAMETER_MISSING_VALUE
public static final int LOGIN_CUSTOMER_ID_PARAMETER_MISSING_VALUEThe login-customer-id parameter is required for this request.
LOGIN_CUSTOMER_ID_PARAMETER_MISSING = 20;- See Also:
-
VALIDATE_ONLY_REQUEST_HAS_PAGE_TOKEN_VALUE
public static final int VALIDATE_ONLY_REQUEST_HAS_PAGE_TOKEN_VALUEpage_token is set in the validate only request
VALIDATE_ONLY_REQUEST_HAS_PAGE_TOKEN = 21;- See Also:
-
CANNOT_RETURN_SUMMARY_ROW_FOR_REQUEST_WITHOUT_METRICS_VALUE
public static final int CANNOT_RETURN_SUMMARY_ROW_FOR_REQUEST_WITHOUT_METRICS_VALUEreturn_summary_row cannot be enabled if request did not select any metrics field.
CANNOT_RETURN_SUMMARY_ROW_FOR_REQUEST_WITHOUT_METRICS = 29;- See Also:
-
CANNOT_RETURN_SUMMARY_ROW_FOR_VALIDATE_ONLY_REQUESTS_VALUE
public static final int CANNOT_RETURN_SUMMARY_ROW_FOR_VALIDATE_ONLY_REQUESTS_VALUEreturn_summary_row should not be enabled for validate only requests.
CANNOT_RETURN_SUMMARY_ROW_FOR_VALIDATE_ONLY_REQUESTS = 30;- See Also:
-
INCONSISTENT_RETURN_SUMMARY_ROW_VALUE_VALUE
public static final int INCONSISTENT_RETURN_SUMMARY_ROW_VALUE_VALUEreturn_summary_row parameter value should be the same between requests with page_token field set and their original request.
INCONSISTENT_RETURN_SUMMARY_ROW_VALUE = 31;- See Also:
-
TOTAL_RESULTS_COUNT_NOT_ORIGINALLY_REQUESTED_VALUE
public static final int TOTAL_RESULTS_COUNT_NOT_ORIGINALLY_REQUESTED_VALUEThe total results count cannot be returned if it was not requested in the original request.
TOTAL_RESULTS_COUNT_NOT_ORIGINALLY_REQUESTED = 32;- See Also:
-
RPC_DEADLINE_TOO_SHORT_VALUE
public static final int RPC_DEADLINE_TOO_SHORT_VALUEDeadline specified by the client was too short.
RPC_DEADLINE_TOO_SHORT = 33;- See Also:
-
UNSUPPORTED_VERSION_VALUE
public static final int UNSUPPORTED_VERSION_VALUEThis API version has been sunset and is no longer supported.
UNSUPPORTED_VERSION = 38;- See Also:
-
CLOUD_PROJECT_NOT_FOUND_VALUE
public static final int CLOUD_PROJECT_NOT_FOUND_VALUEThe Google Cloud project in the request was not found.
CLOUD_PROJECT_NOT_FOUND = 39;- 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.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<RequestErrorEnum.RequestError> 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 RequestErrorEnum.RequestError 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
-