RequestError

Enum describing possible request errors.

Proto definition

Enums

BAD_RESOURCE_ID

Resource name provided is malformed.

CANNOT_BE_EXECUTED_BY_MANAGER_ACCOUNT

Request cannot be executed by a manager account.

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_RETURN_SUMMARY_ROW_FOR_REQUEST_WITHOUT_METRICS

return_summary_row cannot be enabled if request did not select any metrics field.

CANNOT_RETURN_SUMMARY_ROW_FOR_VALIDATE_ONLY_REQUESTS

return_summary_row should not be enabled for validate only requests.

CLOUD_PROJECT_NOT_FOUND

The Google Cloud project in the request was not found.

DEVELOPER_TOKEN_PARAMETER_MISSING

The developer-token parameter is required for all requests.

EXPIRED_PAGE_TOKEN

Next page token specified in user request has expired.

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

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.

INVALID_CUSTOMER_ID

Customer ID is invalid.

INVALID_ENUM_VALUE

Enum value is not permitted.

INVALID_PAGE_SIZE

Page size specified in user request is invalid.

INVALID_PAGE_TOKEN

Next page token specified in user request is invalid.

LOGIN_CUSTOMER_ID_PARAMETER_MISSING

The login-customer-id parameter is required for this request.

OPERATION_REQUIRED

Mutate operation should have either create, update, or remove specified.

PAGE_SIZE_NOT_SUPPORTED

Setting the page size is not supported, and will be unavailable in a future version.

REQUIRED_FIELD_MISSING

Required field is missing.

RESOURCE_NAME_MALFORMED

Resource name provided is malformed.

RESOURCE_NAME_MISSING

Resource name is required for this request.

RESOURCE_NOT_FOUND

Requested resource not found.

RPC_DEADLINE_TOO_SHORT

Deadline specified by the client was too short.

TOO_MANY_MUTATE_OPERATIONS

Received too many entries in request.

TOTAL_RESULTS_COUNT_NOT_ORIGINALLY_REQUESTED

The total results count cannot be returned if it was not requested in the original request.

UNKNOWN

The received error code is not known in this version.

UNSPECIFIED

Enum unspecified.

UNSUPPORTED_VERSION

This API version has been sunset and is no longer supported.

VALIDATE_ONLY_REQUEST_HAS_PAGE_TOKEN

page_token is set in the validate only request