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.
 
 
 

213 lines
13 KiB

  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: google/ads/googleads/v1/errors/setting_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 setting errors.
  18. type SettingErrorEnum_SettingError int32
  19. const (
  20. // Enum unspecified.
  21. SettingErrorEnum_UNSPECIFIED SettingErrorEnum_SettingError = 0
  22. // The received error code is not known in this version.
  23. SettingErrorEnum_UNKNOWN SettingErrorEnum_SettingError = 1
  24. // The campaign setting is not available for this Google Ads account.
  25. SettingErrorEnum_SETTING_TYPE_IS_NOT_AVAILABLE SettingErrorEnum_SettingError = 3
  26. // The setting is not compatible with the campaign.
  27. SettingErrorEnum_SETTING_TYPE_IS_NOT_COMPATIBLE_WITH_CAMPAIGN SettingErrorEnum_SettingError = 4
  28. // The supplied TargetingSetting contains an invalid CriterionTypeGroup. See
  29. // CriterionTypeGroup documentation for CriterionTypeGroups allowed
  30. // in Campaign or AdGroup TargetingSettings.
  31. SettingErrorEnum_TARGETING_SETTING_CONTAINS_INVALID_CRITERION_TYPE_GROUP SettingErrorEnum_SettingError = 5
  32. // TargetingSetting must not explicitly
  33. // set any of the Demographic CriterionTypeGroups (AGE_RANGE, GENDER,
  34. // PARENT, INCOME_RANGE) to false (it's okay to not set them at all, in
  35. // which case the system will set them to true automatically).
  36. SettingErrorEnum_TARGETING_SETTING_DEMOGRAPHIC_CRITERION_TYPE_GROUPS_MUST_BE_SET_TO_TARGET_ALL SettingErrorEnum_SettingError = 6
  37. // TargetingSetting cannot change any of
  38. // the Demographic CriterionTypeGroups (AGE_RANGE, GENDER, PARENT,
  39. // INCOME_RANGE) from true to false.
  40. SettingErrorEnum_TARGETING_SETTING_CANNOT_CHANGE_TARGET_ALL_TO_FALSE_FOR_DEMOGRAPHIC_CRITERION_TYPE_GROUP SettingErrorEnum_SettingError = 7
  41. // At least one feed id should be present.
  42. SettingErrorEnum_DYNAMIC_SEARCH_ADS_SETTING_AT_LEAST_ONE_FEED_ID_MUST_BE_PRESENT SettingErrorEnum_SettingError = 8
  43. // The supplied DynamicSearchAdsSetting contains an invalid domain name.
  44. SettingErrorEnum_DYNAMIC_SEARCH_ADS_SETTING_CONTAINS_INVALID_DOMAIN_NAME SettingErrorEnum_SettingError = 9
  45. // The supplied DynamicSearchAdsSetting contains a subdomain name.
  46. SettingErrorEnum_DYNAMIC_SEARCH_ADS_SETTING_CONTAINS_SUBDOMAIN_NAME SettingErrorEnum_SettingError = 10
  47. // The supplied DynamicSearchAdsSetting contains an invalid language code.
  48. SettingErrorEnum_DYNAMIC_SEARCH_ADS_SETTING_CONTAINS_INVALID_LANGUAGE_CODE SettingErrorEnum_SettingError = 11
  49. // TargetingSettings in search campaigns should not have
  50. // CriterionTypeGroup.PLACEMENT set to targetAll.
  51. SettingErrorEnum_TARGET_ALL_IS_NOT_ALLOWED_FOR_PLACEMENT_IN_SEARCH_CAMPAIGN SettingErrorEnum_SettingError = 12
  52. // Duplicate description in universal app setting description field.
  53. SettingErrorEnum_UNIVERSAL_APP_CAMPAIGN_SETTING_DUPLICATE_DESCRIPTION SettingErrorEnum_SettingError = 13
  54. // Description line width is too long in universal app setting description
  55. // field.
  56. SettingErrorEnum_UNIVERSAL_APP_CAMPAIGN_SETTING_DESCRIPTION_LINE_WIDTH_TOO_LONG SettingErrorEnum_SettingError = 14
  57. // Universal app setting appId field cannot be modified for COMPLETE
  58. // campaigns.
  59. SettingErrorEnum_UNIVERSAL_APP_CAMPAIGN_SETTING_APP_ID_CANNOT_BE_MODIFIED SettingErrorEnum_SettingError = 15
  60. // YoutubeVideoMediaIds in universal app setting cannot exceed size limit.
  61. SettingErrorEnum_TOO_MANY_YOUTUBE_MEDIA_IDS_IN_UNIVERSAL_APP_CAMPAIGN SettingErrorEnum_SettingError = 16
  62. // ImageMediaIds in universal app setting cannot exceed size limit.
  63. SettingErrorEnum_TOO_MANY_IMAGE_MEDIA_IDS_IN_UNIVERSAL_APP_CAMPAIGN SettingErrorEnum_SettingError = 17
  64. // Media is incompatible for universal app campaign.
  65. SettingErrorEnum_MEDIA_INCOMPATIBLE_FOR_UNIVERSAL_APP_CAMPAIGN SettingErrorEnum_SettingError = 18
  66. // Too many exclamation marks in universal app campaign ad text ideas.
  67. SettingErrorEnum_TOO_MANY_EXCLAMATION_MARKS SettingErrorEnum_SettingError = 19
  68. )
  69. var SettingErrorEnum_SettingError_name = map[int32]string{
  70. 0: "UNSPECIFIED",
  71. 1: "UNKNOWN",
  72. 3: "SETTING_TYPE_IS_NOT_AVAILABLE",
  73. 4: "SETTING_TYPE_IS_NOT_COMPATIBLE_WITH_CAMPAIGN",
  74. 5: "TARGETING_SETTING_CONTAINS_INVALID_CRITERION_TYPE_GROUP",
  75. 6: "TARGETING_SETTING_DEMOGRAPHIC_CRITERION_TYPE_GROUPS_MUST_BE_SET_TO_TARGET_ALL",
  76. 7: "TARGETING_SETTING_CANNOT_CHANGE_TARGET_ALL_TO_FALSE_FOR_DEMOGRAPHIC_CRITERION_TYPE_GROUP",
  77. 8: "DYNAMIC_SEARCH_ADS_SETTING_AT_LEAST_ONE_FEED_ID_MUST_BE_PRESENT",
  78. 9: "DYNAMIC_SEARCH_ADS_SETTING_CONTAINS_INVALID_DOMAIN_NAME",
  79. 10: "DYNAMIC_SEARCH_ADS_SETTING_CONTAINS_SUBDOMAIN_NAME",
  80. 11: "DYNAMIC_SEARCH_ADS_SETTING_CONTAINS_INVALID_LANGUAGE_CODE",
  81. 12: "TARGET_ALL_IS_NOT_ALLOWED_FOR_PLACEMENT_IN_SEARCH_CAMPAIGN",
  82. 13: "UNIVERSAL_APP_CAMPAIGN_SETTING_DUPLICATE_DESCRIPTION",
  83. 14: "UNIVERSAL_APP_CAMPAIGN_SETTING_DESCRIPTION_LINE_WIDTH_TOO_LONG",
  84. 15: "UNIVERSAL_APP_CAMPAIGN_SETTING_APP_ID_CANNOT_BE_MODIFIED",
  85. 16: "TOO_MANY_YOUTUBE_MEDIA_IDS_IN_UNIVERSAL_APP_CAMPAIGN",
  86. 17: "TOO_MANY_IMAGE_MEDIA_IDS_IN_UNIVERSAL_APP_CAMPAIGN",
  87. 18: "MEDIA_INCOMPATIBLE_FOR_UNIVERSAL_APP_CAMPAIGN",
  88. 19: "TOO_MANY_EXCLAMATION_MARKS",
  89. }
  90. var SettingErrorEnum_SettingError_value = map[string]int32{
  91. "UNSPECIFIED": 0,
  92. "UNKNOWN": 1,
  93. "SETTING_TYPE_IS_NOT_AVAILABLE": 3,
  94. "SETTING_TYPE_IS_NOT_COMPATIBLE_WITH_CAMPAIGN": 4,
  95. "TARGETING_SETTING_CONTAINS_INVALID_CRITERION_TYPE_GROUP": 5,
  96. "TARGETING_SETTING_DEMOGRAPHIC_CRITERION_TYPE_GROUPS_MUST_BE_SET_TO_TARGET_ALL": 6,
  97. "TARGETING_SETTING_CANNOT_CHANGE_TARGET_ALL_TO_FALSE_FOR_DEMOGRAPHIC_CRITERION_TYPE_GROUP": 7,
  98. "DYNAMIC_SEARCH_ADS_SETTING_AT_LEAST_ONE_FEED_ID_MUST_BE_PRESENT": 8,
  99. "DYNAMIC_SEARCH_ADS_SETTING_CONTAINS_INVALID_DOMAIN_NAME": 9,
  100. "DYNAMIC_SEARCH_ADS_SETTING_CONTAINS_SUBDOMAIN_NAME": 10,
  101. "DYNAMIC_SEARCH_ADS_SETTING_CONTAINS_INVALID_LANGUAGE_CODE": 11,
  102. "TARGET_ALL_IS_NOT_ALLOWED_FOR_PLACEMENT_IN_SEARCH_CAMPAIGN": 12,
  103. "UNIVERSAL_APP_CAMPAIGN_SETTING_DUPLICATE_DESCRIPTION": 13,
  104. "UNIVERSAL_APP_CAMPAIGN_SETTING_DESCRIPTION_LINE_WIDTH_TOO_LONG": 14,
  105. "UNIVERSAL_APP_CAMPAIGN_SETTING_APP_ID_CANNOT_BE_MODIFIED": 15,
  106. "TOO_MANY_YOUTUBE_MEDIA_IDS_IN_UNIVERSAL_APP_CAMPAIGN": 16,
  107. "TOO_MANY_IMAGE_MEDIA_IDS_IN_UNIVERSAL_APP_CAMPAIGN": 17,
  108. "MEDIA_INCOMPATIBLE_FOR_UNIVERSAL_APP_CAMPAIGN": 18,
  109. "TOO_MANY_EXCLAMATION_MARKS": 19,
  110. }
  111. func (x SettingErrorEnum_SettingError) String() string {
  112. return proto.EnumName(SettingErrorEnum_SettingError_name, int32(x))
  113. }
  114. func (SettingErrorEnum_SettingError) EnumDescriptor() ([]byte, []int) {
  115. return fileDescriptor_setting_error_af90650b1aea14d7, []int{0, 0}
  116. }
  117. // Container for enum describing possible setting errors.
  118. type SettingErrorEnum struct {
  119. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  120. XXX_unrecognized []byte `json:"-"`
  121. XXX_sizecache int32 `json:"-"`
  122. }
  123. func (m *SettingErrorEnum) Reset() { *m = SettingErrorEnum{} }
  124. func (m *SettingErrorEnum) String() string { return proto.CompactTextString(m) }
  125. func (*SettingErrorEnum) ProtoMessage() {}
  126. func (*SettingErrorEnum) Descriptor() ([]byte, []int) {
  127. return fileDescriptor_setting_error_af90650b1aea14d7, []int{0}
  128. }
  129. func (m *SettingErrorEnum) XXX_Unmarshal(b []byte) error {
  130. return xxx_messageInfo_SettingErrorEnum.Unmarshal(m, b)
  131. }
  132. func (m *SettingErrorEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  133. return xxx_messageInfo_SettingErrorEnum.Marshal(b, m, deterministic)
  134. }
  135. func (dst *SettingErrorEnum) XXX_Merge(src proto.Message) {
  136. xxx_messageInfo_SettingErrorEnum.Merge(dst, src)
  137. }
  138. func (m *SettingErrorEnum) XXX_Size() int {
  139. return xxx_messageInfo_SettingErrorEnum.Size(m)
  140. }
  141. func (m *SettingErrorEnum) XXX_DiscardUnknown() {
  142. xxx_messageInfo_SettingErrorEnum.DiscardUnknown(m)
  143. }
  144. var xxx_messageInfo_SettingErrorEnum proto.InternalMessageInfo
  145. func init() {
  146. proto.RegisterType((*SettingErrorEnum)(nil), "google.ads.googleads.v1.errors.SettingErrorEnum")
  147. proto.RegisterEnum("google.ads.googleads.v1.errors.SettingErrorEnum_SettingError", SettingErrorEnum_SettingError_name, SettingErrorEnum_SettingError_value)
  148. }
  149. func init() {
  150. proto.RegisterFile("google/ads/googleads/v1/errors/setting_error.proto", fileDescriptor_setting_error_af90650b1aea14d7)
  151. }
  152. var fileDescriptor_setting_error_af90650b1aea14d7 = []byte{
  153. // 696 bytes of a gzipped FileDescriptorProto
  154. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x94, 0xd1, 0x8e, 0xdb, 0x44,
  155. 0x14, 0x86, 0xd9, 0x2d, 0xb4, 0xcb, 0x6c, 0xa1, 0xd3, 0xe1, 0xae, 0x82, 0x95, 0xd8, 0x6b, 0x70,
  156. 0x48, 0x41, 0x50, 0x5c, 0x28, 0x3a, 0xf6, 0x9c, 0x75, 0x46, 0x1d, 0xcf, 0x18, 0xcf, 0x38, 0xdb,
  157. 0xa0, 0x48, 0x47, 0x81, 0x44, 0x51, 0xa4, 0x36, 0x5e, 0xc5, 0xa1, 0x0f, 0xc4, 0x1d, 0x3c, 0x04,
  158. 0x0f, 0xc0, 0xa3, 0x20, 0x1e, 0x02, 0x8d, 0xdd, 0xb8, 0x91, 0x9a, 0x76, 0xdb, 0xab, 0x4c, 0xc6,
  159. 0xff, 0xf7, 0x9f, 0xf1, 0xef, 0x33, 0x87, 0xdd, 0x5f, 0xd6, 0xf5, 0xf2, 0xe9, 0x62, 0x30, 0x9b,
  160. 0x37, 0x83, 0x6e, 0x19, 0x56, 0xcf, 0x87, 0x83, 0xc5, 0x66, 0x53, 0x6f, 0x9a, 0x41, 0xb3, 0xd8,
  161. 0x6e, 0x57, 0xeb, 0x25, 0xb5, 0x7f, 0xa3, 0xab, 0x4d, 0xbd, 0xad, 0xc5, 0x59, 0x27, 0x8c, 0x66,
  162. 0xf3, 0x26, 0xea, 0x99, 0xe8, 0xf9, 0x30, 0xea, 0x98, 0x7b, 0x9f, 0xee, 0x3c, 0xaf, 0x56, 0x83,
  163. 0xd9, 0x7a, 0x5d, 0x6f, 0x67, 0xdb, 0x55, 0xbd, 0x6e, 0x3a, 0xfa, 0xfc, 0xef, 0x13, 0xc6, 0x5d,
  164. 0xe7, 0x8a, 0x41, 0x8f, 0xeb, 0xdf, 0x9f, 0x9d, 0xff, 0x79, 0xc2, 0x6e, 0xef, 0x6f, 0x8a, 0x3b,
  165. 0xec, 0xb4, 0x32, 0xae, 0xc0, 0x54, 0x5d, 0x28, 0x94, 0xfc, 0x3d, 0x71, 0xca, 0x6e, 0x55, 0xe6,
  166. 0xb1, 0xb1, 0x97, 0x86, 0x1f, 0x89, 0xcf, 0xd9, 0x67, 0x0e, 0xbd, 0x57, 0x26, 0x23, 0x3f, 0x29,
  167. 0x90, 0x94, 0x23, 0x63, 0x3d, 0xc1, 0x18, 0x94, 0x86, 0x44, 0x23, 0xbf, 0x21, 0xbe, 0x62, 0x5f,
  168. 0x1c, 0x92, 0xa4, 0x36, 0x2f, 0xc0, 0xab, 0x44, 0x23, 0x5d, 0x2a, 0x3f, 0xa2, 0x14, 0xf2, 0x02,
  169. 0x54, 0x66, 0xf8, 0xfb, 0xe2, 0x21, 0xfb, 0xce, 0x43, 0x99, 0x61, 0xcb, 0xec, 0xd8, 0xd4, 0x1a,
  170. 0x0f, 0xca, 0x38, 0x52, 0x66, 0x0c, 0x5a, 0x49, 0x4a, 0x4b, 0xe5, 0xb1, 0x54, 0xd6, 0x74, 0xb6,
  171. 0x59, 0x69, 0xab, 0x82, 0x7f, 0x20, 0x7e, 0x66, 0xf9, 0xab, 0xb0, 0xc4, 0xdc, 0x66, 0x25, 0x14,
  172. 0x23, 0x95, 0x1e, 0xe4, 0x1c, 0xe5, 0x95, 0xf3, 0x94, 0x60, 0x20, 0xc8, 0x5b, 0xea, 0x2c, 0x08,
  173. 0xb4, 0xe6, 0x37, 0xc5, 0x94, 0x3d, 0x39, 0x70, 0x1e, 0x30, 0xed, 0x6b, 0x8c, 0xc0, 0x64, 0xb8,
  174. 0xa7, 0x0f, 0xf4, 0x05, 0x68, 0x87, 0x74, 0x61, 0xcb, 0x6b, 0x0b, 0xf3, 0x5b, 0x22, 0x65, 0x3f,
  175. 0xc9, 0x89, 0x81, 0x5c, 0xa5, 0xe4, 0x10, 0xca, 0x74, 0x44, 0x20, 0x5d, 0x5f, 0x06, 0x3c, 0x69,
  176. 0x04, 0xe7, 0xc9, 0x1a, 0xa4, 0x0b, 0x44, 0x49, 0x4a, 0xf6, 0x87, 0x2d, 0x4a, 0x74, 0x68, 0x3c,
  177. 0x3f, 0x09, 0x91, 0xbd, 0xc1, 0xe4, 0x95, 0xec, 0xa4, 0xcd, 0x41, 0x19, 0x32, 0x90, 0x23, 0xff,
  178. 0x50, 0x7c, 0xcb, 0xee, 0xbf, 0x0d, 0xec, 0xaa, 0x64, 0x9f, 0x63, 0xe2, 0x47, 0xf6, 0xfd, 0xbb,
  179. 0x14, 0xd5, 0x60, 0xb2, 0x0a, 0x32, 0xa4, 0xd4, 0x4a, 0xe4, 0xa7, 0xe2, 0x11, 0x8b, 0xf7, 0x62,
  180. 0xdb, 0x75, 0x8e, 0xd6, 0xf6, 0x12, 0x65, 0x1b, 0x5e, 0xa1, 0x21, 0xc5, 0x1c, 0x8d, 0x27, 0x65,
  181. 0x76, 0x15, 0xfa, 0x36, 0xb9,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xed, 0xc6, 0xdf, 0xd5, 0xaa, 0x79, 0xdd, 0x34, 0x7c, 0xd8, 0xfd, 0xfc, 0x71,
  193. 0x7c, 0x23, 0x03, 0xf8, 0xeb, 0xf8, 0x2c, 0xeb, 0xcc, 0x60, 0xde, 0x44, 0xdd, 0x32, 0xac, 0xc6,
  194. 0xc3, 0xa8, 0x2d, 0xd9, 0xfc, 0xb3, 0x13, 0x4c, 0x61, 0xde, 0x4c, 0x7b, 0xc1, 0x74, 0x3c, 0x9c,
  195. 0x76, 0x82, 0x7f, 0x8f, 0xcf, 0xbb, 0xdd, 0x38, 0x86, 0x79, 0x13, 0xc7, 0xbd, 0x24, 0x8e, 0xc7,
  196. 0xc3, 0x38, 0xee, 0x44, 0xbf, 0xde, 0x6c, 0x4f, 0xf7, 0xf5, 0xff, 0x01, 0x00, 0x00, 0xff, 0xff,
  197. 0x83, 0x90, 0xd3, 0xfd, 0xaa, 0x05, 0x00, 0x00,
  198. }