You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

121 lines
6.0 KiB

  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: google/ads/googleads/v1/errors/ad_parameter_error.proto
  3. package errors // import "google.golang.org/genproto/googleapis/ads/googleads/v1/errors"
  4. import proto "github.com/golang/protobuf/proto"
  5. import fmt "fmt"
  6. import math "math"
  7. import _ "google.golang.org/genproto/googleapis/api/annotations"
  8. // Reference imports to suppress errors if they are not otherwise used.
  9. var _ = proto.Marshal
  10. var _ = fmt.Errorf
  11. var _ = math.Inf
  12. // This is a compile-time assertion to ensure that this generated file
  13. // is compatible with the proto package it is being compiled against.
  14. // A compilation error at this line likely means your copy of the
  15. // proto package needs to be updated.
  16. const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
  17. // Enum describing possible ad parameter errors.
  18. type AdParameterErrorEnum_AdParameterError int32
  19. const (
  20. // Enum unspecified.
  21. AdParameterErrorEnum_UNSPECIFIED AdParameterErrorEnum_AdParameterError = 0
  22. // The received error code is not known in this version.
  23. AdParameterErrorEnum_UNKNOWN AdParameterErrorEnum_AdParameterError = 1
  24. // The ad group criterion must be a keyword criterion.
  25. AdParameterErrorEnum_AD_GROUP_CRITERION_MUST_BE_KEYWORD AdParameterErrorEnum_AdParameterError = 2
  26. // The insertion text is invalid.
  27. AdParameterErrorEnum_INVALID_INSERTION_TEXT_FORMAT AdParameterErrorEnum_AdParameterError = 3
  28. )
  29. var AdParameterErrorEnum_AdParameterError_name = map[int32]string{
  30. 0: "UNSPECIFIED",
  31. 1: "UNKNOWN",
  32. 2: "AD_GROUP_CRITERION_MUST_BE_KEYWORD",
  33. 3: "INVALID_INSERTION_TEXT_FORMAT",
  34. }
  35. var AdParameterErrorEnum_AdParameterError_value = map[string]int32{
  36. "UNSPECIFIED": 0,
  37. "UNKNOWN": 1,
  38. "AD_GROUP_CRITERION_MUST_BE_KEYWORD": 2,
  39. "INVALID_INSERTION_TEXT_FORMAT": 3,
  40. }
  41. func (x AdParameterErrorEnum_AdParameterError) String() string {
  42. return proto.EnumName(AdParameterErrorEnum_AdParameterError_name, int32(x))
  43. }
  44. func (AdParameterErrorEnum_AdParameterError) EnumDescriptor() ([]byte, []int) {
  45. return fileDescriptor_ad_parameter_error_18b2afde31a732d4, []int{0, 0}
  46. }
  47. // Container for enum describing possible ad parameter errors.
  48. type AdParameterErrorEnum struct {
  49. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  50. XXX_unrecognized []byte `json:"-"`
  51. XXX_sizecache int32 `json:"-"`
  52. }
  53. func (m *AdParameterErrorEnum) Reset() { *m = AdParameterErrorEnum{} }
  54. func (m *AdParameterErrorEnum) String() string { return proto.CompactTextString(m) }
  55. func (*AdParameterErrorEnum) ProtoMessage() {}
  56. func (*AdParameterErrorEnum) Descriptor() ([]byte, []int) {
  57. return fileDescriptor_ad_parameter_error_18b2afde31a732d4, []int{0}
  58. }
  59. func (m *AdParameterErrorEnum) XXX_Unmarshal(b []byte) error {
  60. return xxx_messageInfo_AdParameterErrorEnum.Unmarshal(m, b)
  61. }
  62. func (m *AdParameterErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  63. return xxx_messageInfo_AdParameterErrorEnum.Marshal(b, m, deterministic)
  64. }
  65. func (dst *AdParameterErrorEnum) XXX_Merge(src proto.Message) {
  66. xxx_messageInfo_AdParameterErrorEnum.Merge(dst, src)
  67. }
  68. func (m *AdParameterErrorEnum) XXX_Size() int {
  69. return xxx_messageInfo_AdParameterErrorEnum.Size(m)
  70. }
  71. func (m *AdParameterErrorEnum) XXX_DiscardUnknown() {
  72. xxx_messageInfo_AdParameterErrorEnum.DiscardUnknown(m)
  73. }
  74. var xxx_messageInfo_AdParameterErrorEnum proto.InternalMessageInfo
  75. func init() {
  76. proto.RegisterType((*AdParameterErrorEnum)(nil), "google.ads.googleads.v1.errors.AdParameterErrorEnum")
  77. proto.RegisterEnum("google.ads.googleads.v1.errors.AdParameterErrorEnum_AdParameterError", AdParameterErrorEnum_AdParameterError_name, AdParameterErrorEnum_AdParameterError_value)
  78. }
  79. func init() {
  80. proto.RegisterFile("google/ads/googleads/v1/errors/ad_parameter_error.proto", fileDescriptor_ad_parameter_error_18b2afde31a732d4)
  81. }
  82. var fileDescriptor_ad_parameter_error_18b2afde31a732d4 = []byte{
  83. // 349 bytes of a gzipped FileDescriptorProto
  84. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x90, 0xc1, 0x4a, 0xeb, 0x40,
  85. 0x18, 0x85, 0x6f, 0x52, 0xb8, 0x17, 0xa6, 0x8b, 0x1b, 0x82, 0x6e, 0x44, 0x0b, 0x66, 0xe1, 0x72,
  86. 0x42, 0x70, 0x21, 0x8c, 0xab, 0x69, 0x33, 0x2d, 0xa1, 0x36, 0x09, 0x69, 0x92, 0xaa, 0x04, 0x86,
  87. 0xd1, 0x84, 0x50, 0x68, 0x33, 0x61, 0x26, 0x76, 0xe3, 0x63, 0xf8, 0x06, 0x2e, 0x7d, 0x14, 0x1f,
  88. 0xc5, 0x95, 0x8f, 0x20, 0xc9, 0x98, 0x2e, 0x0a, 0xba, 0x9a, 0xc3, 0xcf, 0x77, 0xce, 0xfc, 0xe7,
  89. 0x07, 0x57, 0x25, 0xe7, 0xe5, 0xa6, 0xb0, 0x59, 0x2e, 0x6d, 0x25, 0x5b, 0xb5, 0x73, 0xec, 0x42,
  90. 0x08, 0x2e, 0xa4, 0xcd, 0x72, 0x5a, 0x33, 0xc1, 0xb6, 0x45, 0x53, 0x08, 0xda, 0xcd, 0x60, 0x2d,
  91. 0x78, 0xc3, 0xcd, 0x91, 0xa2, 0x21, 0xcb, 0x25, 0xdc, 0x1b, 0xe1, 0xce, 0x81, 0xca, 0x78, 0x72,
  92. 0xda, 0x07, 0xd7, 0x6b, 0x9b, 0x55, 0x15, 0x6f, 0x58, 0xb3, 0xe6, 0x95, 0x54, 0x6e, 0xeb, 0x45,
  93. 0x03, 0x47, 0x38, 0x0f, 0xfb, 0x64, 0xd2, 0x7a, 0x48, 0xf5, 0xb4, 0xb5, 0x9e, 0x81, 0x71, 0x38,
  94. 0x37, 0xff, 0x83, 0x61, 0xe2, 0x2f, 0x43, 0x32, 0xf1, 0xa6, 0x1e, 0x71, 0x8d, 0x3f, 0xe6, 0x10,
  95. 0xfc, 0x4b, 0xfc, 0xb9, 0x1f, 0xac, 0x7c, 0x43, 0x33, 0x2f, 0x80, 0x85, 0x5d, 0x3a, 0x8b, 0x82,
  96. 0x24, 0xa4, 0x93, 0xc8, 0x8b, 0x49, 0xe4, 0x05, 0x3e, 0x5d, 0x24, 0xcb, 0x98, 0x8e, 0x09, 0x9d,
  97. 0x93, 0xbb, 0x55, 0x10, 0xb9, 0x86, 0x6e, 0x9e, 0x83, 0x33, 0xcf, 0x4f, 0xf1, 0x8d, 0xe7, 0x52,
  98. 0xcf, 0x5f, 0x92, 0x28, 0x6e, 0xb1, 0x98, 0xdc, 0xc6, 0x74, 0x1a, 0x44, 0x0b, 0x1c, 0x1b, 0x83,
  99. 0xf1, 0xa7, 0x06, 0xac, 0x47, 0xbe, 0x85, 0xbf, 0x57, 0x1b, 0x1f, 0x1f, 0x6e, 0x18, 0xb6, 0x9d,
  100. 0x42, 0xed, 0xde, 0xfd, 0x36, 0x96, 0x7c, 0xc3, 0xaa, 0x12, 0x72, 0x51, 0xda, 0x65, 0x51, 0x75,
  101. 0x8d, 0xfb, 0xe3, 0xd6, 0x6b, 0xf9, 0xd3, 0xad, 0xaf, 0xd5, 0xf3, 0xaa, 0x0f, 0x66, 0x18, 0xbf,
  102. 0xe9, 0xa3, 0x99, 0x0a, 0xc3, 0xb9, 0x84, 0x4a, 0xb6, 0x2a, 0x75, 0x60, 0xf7, 0xa5, 0x7c, 0xef,
  103. 0x81, 0x0c, 0xe7, 0x32, 0xdb, 0x03, 0x59, 0xea, 0x64, 0x0a, 0xf8, 0xd0, 0x2d, 0x35, 0x45, 0x08,
  104. 0xe7, 0x12, 0xa1, 0x3d, 0x82, 0x50, 0xea, 0x20, 0xa4, 0xa0, 0x87, 0xbf, 0xdd, 0x76, 0x97, 0x5f,
  105. 0x01, 0x00, 0x00, 0xff, 0xff, 0x8d, 0x79, 0xd7, 0xc6, 0x08, 0x02, 0x00, 0x00,
  106. }