| // Code generated by protoc-gen-go. DO NOT EDIT. |
| // source: google/ads/googleads/v3/errors/authentication_error.proto |
| |
| package errors |
| |
| import ( |
| fmt "fmt" |
| math "math" |
| |
| proto "github.com/golang/protobuf/proto" |
| _ "google.golang.org/genproto/googleapis/api/annotations" |
| ) |
| |
| // Reference imports to suppress errors if they are not otherwise used. |
| var _ = proto.Marshal |
| var _ = fmt.Errorf |
| var _ = math.Inf |
| |
| // This is a compile-time assertion to ensure that this generated file |
| // is compatible with the proto package it is being compiled against. |
| // A compilation error at this line likely means your copy of the |
| // proto package needs to be updated. |
| const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package |
| |
| // Enum describing possible authentication errors. |
| type AuthenticationErrorEnum_AuthenticationError int32 |
| |
| const ( |
| // Enum unspecified. |
| AuthenticationErrorEnum_UNSPECIFIED AuthenticationErrorEnum_AuthenticationError = 0 |
| // The received error code is not known in this version. |
| AuthenticationErrorEnum_UNKNOWN AuthenticationErrorEnum_AuthenticationError = 1 |
| // Authentication of the request failed. |
| AuthenticationErrorEnum_AUTHENTICATION_ERROR AuthenticationErrorEnum_AuthenticationError = 2 |
| // Client Customer Id is not a number. |
| AuthenticationErrorEnum_CLIENT_CUSTOMER_ID_INVALID AuthenticationErrorEnum_AuthenticationError = 5 |
| // No customer found for the provided customer id. |
| AuthenticationErrorEnum_CUSTOMER_NOT_FOUND AuthenticationErrorEnum_AuthenticationError = 8 |
| // Client's Google Account is deleted. |
| AuthenticationErrorEnum_GOOGLE_ACCOUNT_DELETED AuthenticationErrorEnum_AuthenticationError = 9 |
| // Google account login token in the cookie is invalid. |
| AuthenticationErrorEnum_GOOGLE_ACCOUNT_COOKIE_INVALID AuthenticationErrorEnum_AuthenticationError = 10 |
| // A problem occurred during Google account authentication. |
| AuthenticationErrorEnum_GOOGLE_ACCOUNT_AUTHENTICATION_FAILED AuthenticationErrorEnum_AuthenticationError = 25 |
| // The user in the google account login token does not match the UserId in |
| // the cookie. |
| AuthenticationErrorEnum_GOOGLE_ACCOUNT_USER_AND_ADS_USER_MISMATCH AuthenticationErrorEnum_AuthenticationError = 12 |
| // Login cookie is required for authentication. |
| AuthenticationErrorEnum_LOGIN_COOKIE_REQUIRED AuthenticationErrorEnum_AuthenticationError = 13 |
| // User in the cookie is not a valid Ads user. |
| AuthenticationErrorEnum_NOT_ADS_USER AuthenticationErrorEnum_AuthenticationError = 14 |
| // Oauth token in the header is not valid. |
| AuthenticationErrorEnum_OAUTH_TOKEN_INVALID AuthenticationErrorEnum_AuthenticationError = 15 |
| // Oauth token in the header has expired. |
| AuthenticationErrorEnum_OAUTH_TOKEN_EXPIRED AuthenticationErrorEnum_AuthenticationError = 16 |
| // Oauth token in the header has been disabled. |
| AuthenticationErrorEnum_OAUTH_TOKEN_DISABLED AuthenticationErrorEnum_AuthenticationError = 17 |
| // Oauth token in the header has been revoked. |
| AuthenticationErrorEnum_OAUTH_TOKEN_REVOKED AuthenticationErrorEnum_AuthenticationError = 18 |
| // Oauth token HTTP header is malformed. |
| AuthenticationErrorEnum_OAUTH_TOKEN_HEADER_INVALID AuthenticationErrorEnum_AuthenticationError = 19 |
| // Login cookie is not valid. |
| AuthenticationErrorEnum_LOGIN_COOKIE_INVALID AuthenticationErrorEnum_AuthenticationError = 20 |
| // User Id in the header is not a valid id. |
| AuthenticationErrorEnum_USER_ID_INVALID AuthenticationErrorEnum_AuthenticationError = 22 |
| // An account administrator changed this account's authentication settings. |
| // To access this Google Ads account, enable 2-Step Verification in your |
| // Google account at https://www.google.com/landing/2step. |
| AuthenticationErrorEnum_TWO_STEP_VERIFICATION_NOT_ENROLLED AuthenticationErrorEnum_AuthenticationError = 23 |
| // An account administrator changed this account's authentication settings. |
| // To access this Google Ads account, enable Advanced Protection in your |
| // Google account at https://landing.google.com/advancedprotection. |
| AuthenticationErrorEnum_ADVANCED_PROTECTION_NOT_ENROLLED AuthenticationErrorEnum_AuthenticationError = 24 |
| ) |
| |
| var AuthenticationErrorEnum_AuthenticationError_name = map[int32]string{ |
| 0: "UNSPECIFIED", |
| 1: "UNKNOWN", |
| 2: "AUTHENTICATION_ERROR", |
| 5: "CLIENT_CUSTOMER_ID_INVALID", |
| 8: "CUSTOMER_NOT_FOUND", |
| 9: "GOOGLE_ACCOUNT_DELETED", |
| 10: "GOOGLE_ACCOUNT_COOKIE_INVALID", |
| 25: "GOOGLE_ACCOUNT_AUTHENTICATION_FAILED", |
| 12: "GOOGLE_ACCOUNT_USER_AND_ADS_USER_MISMATCH", |
| 13: "LOGIN_COOKIE_REQUIRED", |
| 14: "NOT_ADS_USER", |
| 15: "OAUTH_TOKEN_INVALID", |
| 16: "OAUTH_TOKEN_EXPIRED", |
| 17: "OAUTH_TOKEN_DISABLED", |
| 18: "OAUTH_TOKEN_REVOKED", |
| 19: "OAUTH_TOKEN_HEADER_INVALID", |
| 20: "LOGIN_COOKIE_INVALID", |
| 22: "USER_ID_INVALID", |
| 23: "TWO_STEP_VERIFICATION_NOT_ENROLLED", |
| 24: "ADVANCED_PROTECTION_NOT_ENROLLED", |
| } |
| |
| var AuthenticationErrorEnum_AuthenticationError_value = map[string]int32{ |
| "UNSPECIFIED": 0, |
| "UNKNOWN": 1, |
| "AUTHENTICATION_ERROR": 2, |
| "CLIENT_CUSTOMER_ID_INVALID": 5, |
| "CUSTOMER_NOT_FOUND": 8, |
| "GOOGLE_ACCOUNT_DELETED": 9, |
| "GOOGLE_ACCOUNT_COOKIE_INVALID": 10, |
| "GOOGLE_ACCOUNT_AUTHENTICATION_FAILED": 25, |
| "GOOGLE_ACCOUNT_USER_AND_ADS_USER_MISMATCH": 12, |
| "LOGIN_COOKIE_REQUIRED": 13, |
| "NOT_ADS_USER": 14, |
| "OAUTH_TOKEN_INVALID": 15, |
| "OAUTH_TOKEN_EXPIRED": 16, |
| "OAUTH_TOKEN_DISABLED": 17, |
| "OAUTH_TOKEN_REVOKED": 18, |
| "OAUTH_TOKEN_HEADER_INVALID": 19, |
| "LOGIN_COOKIE_INVALID": 20, |
| "USER_ID_INVALID": 22, |
| "TWO_STEP_VERIFICATION_NOT_ENROLLED": 23, |
| "ADVANCED_PROTECTION_NOT_ENROLLED": 24, |
| } |
| |
| func (x AuthenticationErrorEnum_AuthenticationError) String() string { |
| return proto.EnumName(AuthenticationErrorEnum_AuthenticationError_name, int32(x)) |
| } |
| |
| func (AuthenticationErrorEnum_AuthenticationError) EnumDescriptor() ([]byte, []int) { |
| return fileDescriptor_4eadbda3d9e23838, []int{0, 0} |
| } |
| |
| // Container for enum describing possible authentication errors. |
| type AuthenticationErrorEnum struct { |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *AuthenticationErrorEnum) Reset() { *m = AuthenticationErrorEnum{} } |
| func (m *AuthenticationErrorEnum) String() string { return proto.CompactTextString(m) } |
| func (*AuthenticationErrorEnum) ProtoMessage() {} |
| func (*AuthenticationErrorEnum) Descriptor() ([]byte, []int) { |
| return fileDescriptor_4eadbda3d9e23838, []int{0} |
| } |
| |
| func (m *AuthenticationErrorEnum) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_AuthenticationErrorEnum.Unmarshal(m, b) |
| } |
| func (m *AuthenticationErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_AuthenticationErrorEnum.Marshal(b, m, deterministic) |
| } |
| func (m *AuthenticationErrorEnum) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_AuthenticationErrorEnum.Merge(m, src) |
| } |
| func (m *AuthenticationErrorEnum) XXX_Size() int { |
| return xxx_messageInfo_AuthenticationErrorEnum.Size(m) |
| } |
| func (m *AuthenticationErrorEnum) XXX_DiscardUnknown() { |
| xxx_messageInfo_AuthenticationErrorEnum.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_AuthenticationErrorEnum proto.InternalMessageInfo |
| |
| func init() { |
| proto.RegisterEnum("google.ads.googleads.v3.errors.AuthenticationErrorEnum_AuthenticationError", AuthenticationErrorEnum_AuthenticationError_name, AuthenticationErrorEnum_AuthenticationError_value) |
| proto.RegisterType((*AuthenticationErrorEnum)(nil), "google.ads.googleads.v3.errors.AuthenticationErrorEnum") |
| } |
| |
| func init() { |
| proto.RegisterFile("google/ads/googleads/v3/errors/authentication_error.proto", fileDescriptor_4eadbda3d9e23838) |
| } |
| |
| var fileDescriptor_4eadbda3d9e23838 = []byte{ |
| // 560 bytes of a gzipped FileDescriptorProto |
| 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x53, 0xdd, 0x6e, 0xd3, 0x3e, |
| 0x14, 0xff, 0xaf, 0xff, 0xf1, 0xe5, 0x0d, 0x66, 0xdc, 0xb1, 0x2f, 0xc1, 0x04, 0xd5, 0x84, 0xe0, |
| 0x82, 0xf4, 0x22, 0x57, 0x84, 0x2b, 0x2f, 0x3e, 0xed, 0xac, 0x66, 0x76, 0x48, 0x9c, 0x0c, 0xa1, |
| 0x4a, 0x56, 0x58, 0xab, 0x50, 0x69, 0x4b, 0xa6, 0xa6, 0xdb, 0x03, 0x71, 0xc9, 0xa3, 0x20, 0x1e, |
| 0x04, 0x71, 0xcb, 0x0b, 0x20, 0x27, 0x4b, 0xd4, 0x85, 0xc1, 0x55, 0x4f, 0xfd, 0xfb, 0x38, 0x3f, |
| 0x9f, 0x1c, 0xa3, 0xb7, 0x69, 0x9e, 0xa7, 0x67, 0xd3, 0x7e, 0x32, 0x29, 0xfa, 0x55, 0x69, 0xaa, |
| 0x2b, 0xbb, 0x3f, 0x9d, 0xcf, 0xf3, 0x79, 0xd1, 0x4f, 0x2e, 0x17, 0x9f, 0xa7, 0xd9, 0x62, 0x76, |
| 0x9a, 0x2c, 0x66, 0x79, 0xa6, 0xcb, 0x53, 0xeb, 0x62, 0x9e, 0x2f, 0x72, 0xb2, 0x5f, 0xf1, 0xad, |
| 0x64, 0x52, 0x58, 0x8d, 0xd4, 0xba, 0xb2, 0xad, 0x4a, 0xba, 0xf7, 0xb4, 0xb6, 0xbe, 0x98, 0xf5, |
| 0x93, 0x2c, 0xcb, 0x17, 0xa5, 0x45, 0x51, 0xa9, 0x7b, 0x3f, 0x56, 0xd1, 0x36, 0xbd, 0x61, 0x0e, |
| 0x46, 0x06, 0xd9, 0xe5, 0x79, 0xef, 0xfb, 0x2a, 0xea, 0xde, 0x82, 0x91, 0x0d, 0xb4, 0x16, 0x89, |
| 0xd0, 0x07, 0x97, 0x0f, 0x38, 0x30, 0xfc, 0x1f, 0x59, 0x43, 0xf7, 0x22, 0x31, 0x12, 0xf2, 0x44, |
| 0xe0, 0x15, 0xb2, 0x83, 0x36, 0x69, 0xa4, 0x8e, 0x40, 0x28, 0xee, 0x52, 0xc5, 0xa5, 0xd0, 0x10, |
| 0x04, 0x32, 0xc0, 0x1d, 0xb2, 0x8f, 0xf6, 0x5c, 0x8f, 0x83, 0x50, 0xda, 0x8d, 0x42, 0x25, 0x8f, |
| 0x21, 0xd0, 0x9c, 0x69, 0x2e, 0x62, 0xea, 0x71, 0x86, 0xef, 0x90, 0x2d, 0x44, 0x1a, 0x40, 0x48, |
| 0xa5, 0x07, 0x32, 0x12, 0x0c, 0xdf, 0x27, 0x7b, 0x68, 0x6b, 0x28, 0xe5, 0xd0, 0x03, 0x4d, 0x5d, |
| 0x57, 0x46, 0x42, 0x69, 0x06, 0x1e, 0x28, 0x60, 0xf8, 0x01, 0x79, 0x81, 0x9e, 0xb5, 0x30, 0x57, |
| 0xca, 0x11, 0x87, 0xc6, 0x16, 0x91, 0x57, 0xe8, 0xa0, 0x45, 0x69, 0xe5, 0x1b, 0x50, 0xee, 0x01, |
| 0xc3, 0xbb, 0xe4, 0x0d, 0x7a, 0xdd, 0x62, 0x46, 0x21, 0x04, 0x9a, 0x0a, 0xa6, 0x29, 0x0b, 0xab, |
| 0x3f, 0xc7, 0x3c, 0x3c, 0xa6, 0xca, 0x3d, 0xc2, 0xeb, 0x64, 0x17, 0x3d, 0xf1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