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.
 
 
 

172 rivejä
10 KiB

  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: google/ads/googleads/v1/errors/campaign_criterion_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 campaign criterion errors.
  18. type CampaignCriterionErrorEnum_CampaignCriterionError int32
  19. const (
  20. // Enum unspecified.
  21. CampaignCriterionErrorEnum_UNSPECIFIED CampaignCriterionErrorEnum_CampaignCriterionError = 0
  22. // The received error code is not known in this version.
  23. CampaignCriterionErrorEnum_UNKNOWN CampaignCriterionErrorEnum_CampaignCriterionError = 1
  24. // Concrete type of criterion (keyword v.s. placement) is required for
  25. // CREATE and UPDATE operations.
  26. CampaignCriterionErrorEnum_CONCRETE_TYPE_REQUIRED CampaignCriterionErrorEnum_CampaignCriterionError = 2
  27. // Invalid placement URL.
  28. CampaignCriterionErrorEnum_INVALID_PLACEMENT_URL CampaignCriterionErrorEnum_CampaignCriterionError = 3
  29. // Criteria type can not be excluded for the campaign by the customer. like
  30. // AOL account type cannot target site type criteria
  31. CampaignCriterionErrorEnum_CANNOT_EXCLUDE_CRITERIA_TYPE CampaignCriterionErrorEnum_CampaignCriterionError = 4
  32. // Cannot set the campaign criterion status for this criteria type.
  33. CampaignCriterionErrorEnum_CANNOT_SET_STATUS_FOR_CRITERIA_TYPE CampaignCriterionErrorEnum_CampaignCriterionError = 5
  34. // Cannot set the campaign criterion status for an excluded criteria.
  35. CampaignCriterionErrorEnum_CANNOT_SET_STATUS_FOR_EXCLUDED_CRITERIA CampaignCriterionErrorEnum_CampaignCriterionError = 6
  36. // Cannot target and exclude the same criterion.
  37. CampaignCriterionErrorEnum_CANNOT_TARGET_AND_EXCLUDE CampaignCriterionErrorEnum_CampaignCriterionError = 7
  38. // The mutate contained too many operations.
  39. CampaignCriterionErrorEnum_TOO_MANY_OPERATIONS CampaignCriterionErrorEnum_CampaignCriterionError = 8
  40. // This operator cannot be applied to a criterion of this type.
  41. CampaignCriterionErrorEnum_OPERATOR_NOT_SUPPORTED_FOR_CRITERION_TYPE CampaignCriterionErrorEnum_CampaignCriterionError = 9
  42. // The Shopping campaign sales country is not supported for
  43. // ProductSalesChannel targeting.
  44. CampaignCriterionErrorEnum_SHOPPING_CAMPAIGN_SALES_COUNTRY_NOT_SUPPORTED_FOR_SALES_CHANNEL CampaignCriterionErrorEnum_CampaignCriterionError = 10
  45. // The existing field can't be updated with CREATE operation. It can be
  46. // updated with UPDATE operation only.
  47. CampaignCriterionErrorEnum_CANNOT_ADD_EXISTING_FIELD CampaignCriterionErrorEnum_CampaignCriterionError = 11
  48. // Negative criteria are immutable, so updates are not allowed.
  49. CampaignCriterionErrorEnum_CANNOT_UPDATE_NEGATIVE_CRITERION CampaignCriterionErrorEnum_CampaignCriterionError = 12
  50. )
  51. var CampaignCriterionErrorEnum_CampaignCriterionError_name = map[int32]string{
  52. 0: "UNSPECIFIED",
  53. 1: "UNKNOWN",
  54. 2: "CONCRETE_TYPE_REQUIRED",
  55. 3: "INVALID_PLACEMENT_URL",
  56. 4: "CANNOT_EXCLUDE_CRITERIA_TYPE",
  57. 5: "CANNOT_SET_STATUS_FOR_CRITERIA_TYPE",
  58. 6: "CANNOT_SET_STATUS_FOR_EXCLUDED_CRITERIA",
  59. 7: "CANNOT_TARGET_AND_EXCLUDE",
  60. 8: "TOO_MANY_OPERATIONS",
  61. 9: "OPERATOR_NOT_SUPPORTED_FOR_CRITERION_TYPE",
  62. 10: "SHOPPING_CAMPAIGN_SALES_COUNTRY_NOT_SUPPORTED_FOR_SALES_CHANNEL",
  63. 11: "CANNOT_ADD_EXISTING_FIELD",
  64. 12: "CANNOT_UPDATE_NEGATIVE_CRITERION",
  65. }
  66. var CampaignCriterionErrorEnum_CampaignCriterionError_value = map[string]int32{
  67. "UNSPECIFIED": 0,
  68. "UNKNOWN": 1,
  69. "CONCRETE_TYPE_REQUIRED": 2,
  70. "INVALID_PLACEMENT_URL": 3,
  71. "CANNOT_EXCLUDE_CRITERIA_TYPE": 4,
  72. "CANNOT_SET_STATUS_FOR_CRITERIA_TYPE": 5,
  73. "CANNOT_SET_STATUS_FOR_EXCLUDED_CRITERIA": 6,
  74. "CANNOT_TARGET_AND_EXCLUDE": 7,
  75. "TOO_MANY_OPERATIONS": 8,
  76. "OPERATOR_NOT_SUPPORTED_FOR_CRITERION_TYPE": 9,
  77. "SHOPPING_CAMPAIGN_SALES_COUNTRY_NOT_SUPPORTED_FOR_SALES_CHANNEL": 10,
  78. "CANNOT_ADD_EXISTING_FIELD": 11,
  79. "CANNOT_UPDATE_NEGATIVE_CRITERION": 12,
  80. }
  81. func (x CampaignCriterionErrorEnum_CampaignCriterionError) String() string {
  82. return proto.EnumName(CampaignCriterionErrorEnum_CampaignCriterionError_name, int32(x))
  83. }
  84. func (CampaignCriterionErrorEnum_CampaignCriterionError) EnumDescriptor() ([]byte, []int) {
  85. return fileDescriptor_campaign_criterion_error_1b1d1fa77e2dedde, []int{0, 0}
  86. }
  87. // Container for enum describing possible campaign criterion errors.
  88. type CampaignCriterionErrorEnum struct {
  89. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  90. XXX_unrecognized []byte `json:"-"`
  91. XXX_sizecache int32 `json:"-"`
  92. }
  93. func (m *CampaignCriterionErrorEnum) Reset() { *m = CampaignCriterionErrorEnum{} }
  94. func (m *CampaignCriterionErrorEnum) String() string { return proto.CompactTextString(m) }
  95. func (*CampaignCriterionErrorEnum) ProtoMessage() {}
  96. func (*CampaignCriterionErrorEnum) Descriptor() ([]byte, []int) {
  97. return fileDescriptor_campaign_criterion_error_1b1d1fa77e2dedde, []int{0}
  98. }
  99. func (m *CampaignCriterionErrorEnum) XXX_Unmarshal(b []byte) error {
  100. return xxx_messageInfo_CampaignCriterionErrorEnum.Unmarshal(m, b)
  101. }
  102. func (m *CampaignCriterionErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  103. return xxx_messageInfo_CampaignCriterionErrorEnum.Marshal(b, m, deterministic)
  104. }
  105. func (dst *CampaignCriterionErrorEnum) XXX_Merge(src proto.Message) {
  106. xxx_messageInfo_CampaignCriterionErrorEnum.Merge(dst, src)
  107. }
  108. func (m *CampaignCriterionErrorEnum) XXX_Size() int {
  109. return xxx_messageInfo_CampaignCriterionErrorEnum.Size(m)
  110. }
  111. func (m *CampaignCriterionErrorEnum) XXX_DiscardUnknown() {
  112. xxx_messageInfo_CampaignCriterionErrorEnum.DiscardUnknown(m)
  113. }
  114. var xxx_messageInfo_CampaignCriterionErrorEnum proto.InternalMessageInfo
  115. func init() {
  116. proto.RegisterType((*CampaignCriterionErrorEnum)(nil), "google.ads.googleads.v1.errors.CampaignCriterionErrorEnum")
  117. proto.RegisterEnum("google.ads.googleads.v1.errors.CampaignCriterionErrorEnum_CampaignCriterionError", CampaignCriterionErrorEnum_CampaignCriterionError_name, CampaignCriterionErrorEnum_CampaignCriterionError_value)
  118. }
  119. func init() {
  120. proto.RegisterFile("google/ads/googleads/v1/errors/campaign_criterion_error.proto", fileDescriptor_campaign_criterion_error_1b1d1fa77e2dedde)
  121. }
  122. var fileDescriptor_campaign_criterion_error_1b1d1fa77e2dedde = []byte{
  123. // 526 bytes of a gzipped FileDescriptorProto
  124. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x92, 0xd1, 0x6a, 0xd4, 0x40,
  125. 0x14, 0x86, 0xed, 0xae, 0xb6, 0x3a, 0x15, 0x0c, 0x23, 0x56, 0x5a, 0x6b, 0x29, 0xab, 0x50, 0x44,
  126. 0x4c, 0x58, 0xbc, 0x8b, 0x88, 0x4c, 0x27, 0xa7, 0xe9, 0x60, 0x3a, 0x33, 0x4e, 0x26, 0xab, 0x95,
  127. 0x85, 0x21, 0x76, 0x97, 0x10, 0xe8, 0x26, 0x4b, 0xb2, 0xf6, 0x81, 0xbc, 0xf4, 0x51, 0x7c, 0x00,
  128. 0x1f, 0xc2, 0x7b, 0xbd, 0x96, 0x64, 0xb2, 0x6b, 0x91, 0xd5, 0xab, 0x9c, 0xe4, 0x7c, 0xff, 0x7f,
  129. 0x7e, 0xc8, 0x8f, 0x5e, 0x67, 0x65, 0x99, 0x5d, 0x4e, 0xbd, 0x74, 0x52, 0x7b, 0x76, 0x6c, 0xa6,
  130. 0xab, 0xa1, 0x37, 0xad, 0xaa, 0xb2, 0xaa, 0xbd, 0x8b, 0x74, 0x36, 0x4f, 0xf3, 0xac, 0x30, 0x17,
  131. 0x55, 0xbe, 0x98, 0x56, 0x79, 0x59, 0x98, 0x76, 0xe3, 0xce, 0xab, 0x72, 0x51, 0xe2, 0x03, 0xab,
  132. 0x71, 0xd3, 0x49, 0xed, 0xae, 0xe4, 0xee, 0xd5, 0xd0, 0xb5, 0xf2, 0xbd, 0xfd, 0xa5, 0xfd, 0x3c,
  133. 0xf7, 0xd2, 0xa2, 0x28, 0x17, 0xe9, 0x22, 0x2f, 0x8b, 0xda, 0xaa, 0x07, 0x3f, 0xfb, 0x68, 0x8f,
  134. 0x76, 0x07, 0xe8, 0xd2, 0x1f, 0x1a, 0x25, 0x14, 0x9f, 0x67, 0x83, 0xef, 0x7d, 0xb4, 0xb3, 0x7e,
  135. 0x8d, 0xef, 0xa1, 0xed, 0x84, 0xc7, 0x12, 0x28, 0x3b, 0x61, 0x10, 0x38, 0x37, 0xf0, 0x36, 0xda,
  136. 0x4a, 0xf8, 0x5b, 0x2e, 0xde, 0x73, 0x67, 0x03, 0xef, 0xa1, 0x1d, 0x2a, 0x38, 0x55, 0xa0, 0xc1,
  137. 0xe8, 0x73, 0x09, 0x46, 0xc1, 0xbb, 0x84, 0x29, 0x08, 0x9c, 0x1e, 0xde, 0x45, 0x0f, 0x18, 0x1f,
  138. 0x91, 0x88, 0x05, 0x46, 0x46, 0x84, 0xc2, 0x19, 0x70, 0x6d, 0x12, 0x15, 0x39, 0x7d, 0x7c, 0x88,
  139. 0xf6, 0x29, 0xe1, 0x5c, 0x68, 0x03, 0x1f, 0x68, 0x94, 0x04, 0x60, 0xa8, 0x62, 0x1a, 0x14, 0x23,
  140. 0xad, 0x8b, 0x73, 0x13, 0x1f, 0xa1, 0x27, 0x1d, 0x11, 0x83, 0x36, 0xb1, 0x26, 0x3a, 0x89, 0xcd,
  141. 0x89, 0x50, 0x7f, 0x81, 0xb7, 0xf0, 0x73, 0x74, 0xb4, 0x1e, 0xec, 0x9c, 0x83, 0x95, 0xc2, 0xd9,
  142. 0xc4, 0x8f, 0xd1, 0x6e, 0x07, 0x6b, 0xa2, 0x42, 0xd0, 0x86, 0xf0, 0x60, 0x09, 0x3a, 0x5b, 0xf8,
  143. 0x21, 0xba, 0xaf, 0x85, 0x30, 0x67, 0x84, 0x9f, 0x1b, 0x21, 0x41, 0x11, 0xcd, 0x04, 0x8f, 0x9d,
  144. 0xdb, 0xf8, 0x05, 0x7a, 0x66, 0xdf, 0x85, 0x32, 0xed, 0xa9, 0x44, 0x4a, 0xa1, 0x34, 0x04, 0xd7,
  145. 0x23, 0x09, 0x6e, 0x33, 0xdd, 0xc1, 0x14, 0xbd, 0x89, 0x4f, 0x85, 0x94, 0x8c, 0x87, 0x86, 0x92,
  146. 0x33, 0x49, 0x58, 0xc8, 0x4d, 0x4c, 0x22, 0x88, 0x0d, 0x15, 0x09, 0xd7, 0xea, 0x7c, 0x8d, 0x4b,
  147. 0xb7, 0x3f, 0x25, 0x9c, 0x43, 0xe4, 0xa0, 0x6b, 0x59, 0x49, 0xd0, 0x84, 0x64, 0xb1, 0x6e, 0xfc,
  148. 0x4e, 0x18, 0x44, 0x81, 0xb3, 0x8d, 0x9f, 0xa2, 0xc3, 0x6e, 0x9d, 0xc8, 0x80, 0x68, 0x30, 0x1c,
  149. 0x42, 0xa2, 0xd9, 0x08, 0xfe, 0xc4, 0x71, 0xee, 0x1e, 0xff, 0xda, 0x40, 0x83, 0x8b, 0x72, 0xe6,
  150. 0xfe, 0xbf, 0x3c, 0xc7, 0x8f, 0xd6, 0xff, 0x7c, 0xd9, 0x74, 0x47, 0x6e, 0x7c, 0x0c, 0x3a, 0x79,
  151. 0x56, 0x5e, 0xa6, 0x45, 0xe6, 0x96, 0x55, 0xe6, 0x65, 0xd3, 0xa2, 0x6d, 0xd6, 0xb2, 0xca, 0xf3,
  152. 0xbc, 0xfe, 0x57, 0xb3, 0x5f, 0xd9, 0xc7, 0x97, 0x5e, 0x3f, 0x24, 0xe4, 0x6b, 0xef, 0x20, 0xb4,
  153. 0x66, 0x64, 0x52, 0xbb, 0x76, 0x6c, 0xa6, 0xd1, 0xd0, 0x6d, 0x4f, 0xd6, 0xdf, 0x96, 0xc0, 0x98,
  154. 0x4c, 0xea, 0xf1, 0x0a, 0x18, 0x8f, 0x86, 0x63, 0x0b, 0xfc, 0xe8, 0x0d, 0xec, 0x57, 0xdf, 0x27,
  155. 0x93, 0xda, 0xf7, 0x57, 0x88, 0xef, 0x8f, 0x86, 0xbe, 0x6f, 0xa1, 0x4f, 0x9b, 0x6d, 0xba, 0x97,
  156. 0xbf, 0x03, 0x00, 0x00, 0xff, 0xff, 0xdd, 0x6b, 0xc7, 0xa8, 0x76, 0x03, 0x00, 0x00,
  157. }