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.
 
 
 

186 lines
10 KiB

  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: google/ads/googleads/v1/enums/promotion_placeholder_field.proto
  3. package enums // import "google.golang.org/genproto/googleapis/ads/googleads/v1/enums"
  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. // Possible values for Promotion placeholder fields.
  18. type PromotionPlaceholderFieldEnum_PromotionPlaceholderField int32
  19. const (
  20. // Not specified.
  21. PromotionPlaceholderFieldEnum_UNSPECIFIED PromotionPlaceholderFieldEnum_PromotionPlaceholderField = 0
  22. // Used for return value only. Represents value unknown in this version.
  23. PromotionPlaceholderFieldEnum_UNKNOWN PromotionPlaceholderFieldEnum_PromotionPlaceholderField = 1
  24. // Data Type: STRING. The text that appears on the ad when the extension is
  25. // shown.
  26. PromotionPlaceholderFieldEnum_PROMOTION_TARGET PromotionPlaceholderFieldEnum_PromotionPlaceholderField = 2
  27. // Data Type: STRING. Allows you to add "up to" phrase to the promotion,
  28. // in case you have variable promotion rates.
  29. PromotionPlaceholderFieldEnum_DISCOUNT_MODIFIER PromotionPlaceholderFieldEnum_PromotionPlaceholderField = 3
  30. // Data Type: INT64. Takes a value in micros, where 1 million micros
  31. // represents 1%, and is shown as a percentage when rendered.
  32. PromotionPlaceholderFieldEnum_PERCENT_OFF PromotionPlaceholderFieldEnum_PromotionPlaceholderField = 4
  33. // Data Type: MONEY. Requires a currency and an amount of money.
  34. PromotionPlaceholderFieldEnum_MONEY_AMOUNT_OFF PromotionPlaceholderFieldEnum_PromotionPlaceholderField = 5
  35. // Data Type: STRING. A string that the user enters to get the discount.
  36. PromotionPlaceholderFieldEnum_PROMOTION_CODE PromotionPlaceholderFieldEnum_PromotionPlaceholderField = 6
  37. // Data Type: MONEY. A minimum spend before the user qualifies for the
  38. // promotion.
  39. PromotionPlaceholderFieldEnum_ORDERS_OVER_AMOUNT PromotionPlaceholderFieldEnum_PromotionPlaceholderField = 7
  40. // Data Type: DATE. The start date of the promotion.
  41. PromotionPlaceholderFieldEnum_PROMOTION_START PromotionPlaceholderFieldEnum_PromotionPlaceholderField = 8
  42. // Data Type: DATE. The end date of the promotion.
  43. PromotionPlaceholderFieldEnum_PROMOTION_END PromotionPlaceholderFieldEnum_PromotionPlaceholderField = 9
  44. // Data Type: STRING. Describes the associated event for the promotion using
  45. // one of the PromotionExtensionOccasion enum values, for example NEW_YEARS.
  46. PromotionPlaceholderFieldEnum_OCCASION PromotionPlaceholderFieldEnum_PromotionPlaceholderField = 10
  47. // Data Type: URL_LIST. Final URLs to be used in the ad when using Upgraded
  48. // URLs.
  49. PromotionPlaceholderFieldEnum_FINAL_URLS PromotionPlaceholderFieldEnum_PromotionPlaceholderField = 11
  50. // Data Type: URL_LIST. Final mobile URLs for the ad when using Upgraded
  51. // URLs.
  52. PromotionPlaceholderFieldEnum_FINAL_MOBILE_URLS PromotionPlaceholderFieldEnum_PromotionPlaceholderField = 12
  53. // Data Type: URL. Tracking template for the ad when using Upgraded URLs.
  54. PromotionPlaceholderFieldEnum_TRACKING_URL PromotionPlaceholderFieldEnum_PromotionPlaceholderField = 13
  55. // Data Type: STRING. A string represented by a language code for the
  56. // promotion.
  57. PromotionPlaceholderFieldEnum_LANGUAGE PromotionPlaceholderFieldEnum_PromotionPlaceholderField = 14
  58. // Data Type: STRING. Final URL suffix for the ad when using parallel
  59. // tracking.
  60. PromotionPlaceholderFieldEnum_FINAL_URL_SUFFIX PromotionPlaceholderFieldEnum_PromotionPlaceholderField = 15
  61. )
  62. var PromotionPlaceholderFieldEnum_PromotionPlaceholderField_name = map[int32]string{
  63. 0: "UNSPECIFIED",
  64. 1: "UNKNOWN",
  65. 2: "PROMOTION_TARGET",
  66. 3: "DISCOUNT_MODIFIER",
  67. 4: "PERCENT_OFF",
  68. 5: "MONEY_AMOUNT_OFF",
  69. 6: "PROMOTION_CODE",
  70. 7: "ORDERS_OVER_AMOUNT",
  71. 8: "PROMOTION_START",
  72. 9: "PROMOTION_END",
  73. 10: "OCCASION",
  74. 11: "FINAL_URLS",
  75. 12: "FINAL_MOBILE_URLS",
  76. 13: "TRACKING_URL",
  77. 14: "LANGUAGE",
  78. 15: "FINAL_URL_SUFFIX",
  79. }
  80. var PromotionPlaceholderFieldEnum_PromotionPlaceholderField_value = map[string]int32{
  81. "UNSPECIFIED": 0,
  82. "UNKNOWN": 1,
  83. "PROMOTION_TARGET": 2,
  84. "DISCOUNT_MODIFIER": 3,
  85. "PERCENT_OFF": 4,
  86. "MONEY_AMOUNT_OFF": 5,
  87. "PROMOTION_CODE": 6,
  88. "ORDERS_OVER_AMOUNT": 7,
  89. "PROMOTION_START": 8,
  90. "PROMOTION_END": 9,
  91. "OCCASION": 10,
  92. "FINAL_URLS": 11,
  93. "FINAL_MOBILE_URLS": 12,
  94. "TRACKING_URL": 13,
  95. "LANGUAGE": 14,
  96. "FINAL_URL_SUFFIX": 15,
  97. }
  98. func (x PromotionPlaceholderFieldEnum_PromotionPlaceholderField) String() string {
  99. return proto.EnumName(PromotionPlaceholderFieldEnum_PromotionPlaceholderField_name, int32(x))
  100. }
  101. func (PromotionPlaceholderFieldEnum_PromotionPlaceholderField) EnumDescriptor() ([]byte, []int) {
  102. return fileDescriptor_promotion_placeholder_field_c181e2418d798eec, []int{0, 0}
  103. }
  104. // Values for Promotion placeholder fields.
  105. type PromotionPlaceholderFieldEnum struct {
  106. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  107. XXX_unrecognized []byte `json:"-"`
  108. XXX_sizecache int32 `json:"-"`
  109. }
  110. func (m *PromotionPlaceholderFieldEnum) Reset() { *m = PromotionPlaceholderFieldEnum{} }
  111. func (m *PromotionPlaceholderFieldEnum) String() string { return proto.CompactTextString(m) }
  112. func (*PromotionPlaceholderFieldEnum) ProtoMessage() {}
  113. func (*PromotionPlaceholderFieldEnum) Descriptor() ([]byte, []int) {
  114. return fileDescriptor_promotion_placeholder_field_c181e2418d798eec, []int{0}
  115. }
  116. func (m *PromotionPlaceholderFieldEnum) XXX_Unmarshal(b []byte) error {
  117. return xxx_messageInfo_PromotionPlaceholderFieldEnum.Unmarshal(m, b)
  118. }
  119. func (m *PromotionPlaceholderFieldEnum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  120. return xxx_messageInfo_PromotionPlaceholderFieldEnum.Marshal(b, m, deterministic)
  121. }
  122. func (dst *PromotionPlaceholderFieldEnum) XXX_Merge(src proto.Message) {
  123. xxx_messageInfo_PromotionPlaceholderFieldEnum.Merge(dst, src)
  124. }
  125. func (m *PromotionPlaceholderFieldEnum) XXX_Size() int {
  126. return xxx_messageInfo_PromotionPlaceholderFieldEnum.Size(m)
  127. }
  128. func (m *PromotionPlaceholderFieldEnum) XXX_DiscardUnknown() {
  129. xxx_messageInfo_PromotionPlaceholderFieldEnum.DiscardUnknown(m)
  130. }
  131. var xxx_messageInfo_PromotionPlaceholderFieldEnum proto.InternalMessageInfo
  132. func init() {
  133. proto.RegisterType((*PromotionPlaceholderFieldEnum)(nil), "google.ads.googleads.v1.enums.PromotionPlaceholderFieldEnum")
  134. proto.RegisterEnum("google.ads.googleads.v1.enums.PromotionPlaceholderFieldEnum_PromotionPlaceholderField", PromotionPlaceholderFieldEnum_PromotionPlaceholderField_name, PromotionPlaceholderFieldEnum_PromotionPlaceholderField_value)
  135. }
  136. func init() {
  137. proto.RegisterFile("google/ads/googleads/v1/enums/promotion_placeholder_field.proto", fileDescriptor_promotion_placeholder_field_c181e2418d798eec)
  138. }
  139. var fileDescriptor_promotion_placeholder_field_c181e2418d798eec = []byte{
  140. // 476 bytes of a gzipped FileDescriptorProto
  141. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x92, 0xcf, 0x6e, 0x9b, 0x4e,
  142. 0x10, 0xc7, 0x7f, 0x26, 0xbf, 0x26, 0xe9, 0xda, 0xb1, 0x37, 0xdb, 0x3f, 0x52, 0xab, 0xba, 0x52,
  143. 0xf2, 0x00, 0x20, 0xd4, 0x1b, 0x3d, 0x54, 0x6b, 0x58, 0x10, 0x8a, 0xd9, 0x45, 0x0b, 0xb8, 0x7f,
  144. 0x64, 0x69, 0x45, 0x03, 0xa5, 0x96, 0x30, 0x8b, 0xbc, 0x4e, 0x1e, 0xa8, 0xc7, 0x3e, 0x4a, 0xd5,
  145. 0x27, 0xe9, 0xa1, 0x97, 0xbe, 0x40, 0xb5, 0x10, 0xdb, 0x27, 0xf7, 0x82, 0x86, 0xef, 0x7c, 0xe7,
  146. 0x33, 0xa3, 0x9d, 0x01, 0xef, 0x2a, 0x29, 0xab, 0xba, 0xb4, 0xf2, 0x42, 0x59, 0x7d, 0xa8, 0xa3,
  147. 0x7b, 0xdb, 0x2a, 0x9b, 0xbb, 0xb5, 0xb2, 0xda, 0x8d, 0x5c, 0xcb, 0xed, 0x4a, 0x36, 0xa2, 0xad,
  148. 0xf3, 0xdb, 0xf2, 0xab, 0xac, 0x8b, 0x72, 0x23, 0xbe, 0xac, 0xca, 0xba, 0x30, 0xdb, 0x8d, 0xdc,
  149. 0x4a, 0x34, 0xed, 0xab, 0xcc, 0xbc, 0x50, 0xe6, 0x1e, 0x60, 0xde, 0xdb, 0x66, 0x07, 0x78, 0xf9,
  150. 0x6a, 0xc7, 0x6f, 0x57, 0x56, 0xde, 0x34, 0x72, 0x9b, 0x6b, 0x9a, 0xea, 0x8b, 0xaf, 0x7f, 0x1b,
  151. 0x60, 0x1a, 0xef, 0x5a, 0xc4, 0x87, 0x0e, 0xbe, 0x6e, 0x40, 0x9a, 0xbb, 0xf5, 0xf5, 0x4f, 0x03,
  152. 0xbc, 0x38, 0xea, 0x40, 0x13, 0x30, 0xcc, 0x68, 0x12, 0x13, 0x37, 0xf4, 0x43, 0xe2, 0xc1, 0xff,
  153. 0xd0, 0x10, 0x9c, 0x65, 0xf4, 0x86, 0xb2, 0xf7, 0x14, 0x0e, 0xd0, 0x53, 0x00, 0x63, 0xce, 0x22,
  154. 0x96, 0x86, 0x8c, 0x8a, 0x14, 0xf3, 0x80, 0xa4, 0xd0, 0x40, 0xcf, 0xc0, 0xa5, 0x17, 0x26, 0x2e,
  155. 0xcb, 0x68, 0x2a, 0x22, 0xe6, 0xe9, 0x4a, 0x0e, 0x4f, 0x34, 0x2a, 0x26, 0xdc, 0x25, 0x34, 0x15,
  156. 0xcc, 0xf7, 0xe1, 0xff, 0xba, 0x3a, 0x62, 0x94, 0x7c, 0x14, 0x38, 0xea, 0xbc, 0x5a, 0x7d, 0x84,
  157. 0x10, 0x18, 0x1f, 0x98, 0x2e, 0xf3, 0x08, 0x3c, 0x45, 0xcf, 0x01, 0x62, 0xdc, 0x23, 0x3c, 0x11,
  158. 0x6c, 0x41, 0xf8, 0x83, 0x1f, 0x9e, 0xa1, 0x27, 0x60, 0x72, 0xf0, 0x26, 0x29, 0xe6, 0x29, 0x3c,
  159. 0x47, 0x97, 0xe0, 0xe2, 0x20, 0x12, 0xea, 0xc1, 0xc7, 0x68, 0x04, 0xce, 0x99, 0xeb, 0xe2, 0x24,
  160. 0x64, 0x14, 0x02, 0x34, 0x06, 0xc0, 0x0f, 0x29, 0x9e, 0x8b, 0x8c, 0xcf, 0x13, 0x38, 0xd4, 0xf3,
  161. 0xf6, 0xff, 0x11, 0x9b, 0x85, 0x73, 0xd2, 0xcb, 0x23, 0x04, 0xc1, 0x28, 0xe5, 0xd8, 0xbd, 0x09,
  162. 0x69, 0xa0, 0x25, 0x78, 0xa1, 0x31, 0x73, 0x4c, 0x83, 0x0c, 0x07, 0x04, 0x8e, 0xf5, 0xf8, 0x7b,
  163. 0x8c, 0x48, 0x32, 0xdf, 0x0f, 0x3f, 0xc0, 0xc9, 0xec, 0xcf, 0x00, 0x5c, 0xdd, 0xca, 0xb5, 0xf9,
  164. 0xcf, 0xa5, 0xcd, 0x5e, 0x1f, 0x7d, 0xf1, 0x58, 0xaf, 0x2d, 0x1e, 0x7c, 0x9a, 0x3d, 0x00, 0x2a,
  165. 0x59, 0xe7, 0x4d, 0x65, 0xca, 0x4d, 0x65, 0x55, 0x65, 0xd3, 0x2d, 0x75, 0x77, 0x46, 0xed, 0x4a,
  166. 0x1d, 0xb9, 0xaa, 0xb7, 0xdd, 0xf7, 0x9b, 0x71, 0x12, 0x60, 0xfc, 0xdd, 0x98, 0x06, 0x3d, 0x0a,
  167. 0x17, 0xca, 0xec, 0x43, 0x1d, 0x2d, 0x6c, 0x53, 0xef, 0x5f, 0xfd, 0xd8, 0xe5, 0x97, 0xb8, 0x50,
  168. 0xcb, 0x7d, 0x7e, 0xb9, 0xb0, 0x97, 0x5d, 0xfe, 0x97, 0x71, 0xd5, 0x8b, 0x8e, 0x83, 0x0b, 0xe5,
  169. 0x38, 0x7b, 0x87, 0xe3, 0x2c, 0x6c, 0xc7, 0xe9, 0x3c, 0x9f, 0x4f, 0xbb, 0xc1, 0xde, 0xfc, 0x0d,
  170. 0x00, 0x00, 0xff, 0xff, 0xf6, 0x79, 0x56, 0x03, 0xed, 0x02, 0x00, 0x00,
  171. }